Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Sqoop >> mail # user >> /tmp dir for import configurable?


+
Christian Prokopp 2013-03-28, 15:35
Copy link to this message
-
Re: /tmp dir for import configurable?
You could mount a bigger disk into /tmp - or symlink /tmp to another directory which have enough space.

Best
- Alex

On Mar 28, 2013, at 4:35 PM, Christian Prokopp <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am using sqoop to copy data from MySQL to S3:
>
> (Sqoop 1.4.2-cdh4.2.0)
> $ sqoop import --connect jdbc:mysql://server:port/db --username user --password pass  --table tablename --target-dir s3n://xyz@somehwere/a/b/c --fields-terminated-by='\001' -m 1 --direct
>
> My problem is that sqoop temporarily stores the data on /tmp, which is not big enough for the data. I am unable to find a configuration option to point sqoop to a bigger partition/disk. Any suggestions?
>
> Cheers,
> Christian
>

--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
+
Christian Prokopp 2013-03-28, 15:54
+
Jarek Jarcec Cecho 2013-03-28, 21:49
+
Christian Prokopp 2013-04-02, 10:38
+
Jarek Jarcec Cecho 2013-04-06, 05:05
+
Christian Prokopp 2013-04-10, 11:20