Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to execute sqoop commands in cloudera VM and root directory is full.

Unable to execute sqoop commands in cloudera VM and root directory is full.

New Contributor

 

I have installed CDH5.10 on virtual box(10gb RAM provided) yesterday ,trying to run sqoop commands(sqoop list-databases) but getting following directory permission issue .
there is no directory as '/tmp/sqoop-cloudera/compile' , instead '/tmp/sqoop-sqoop/compile' directory is present (drwxrwxrwt 3 sqoop sqoop 4096 Jun 6 02:27 sqoop-sqoop),.

 

Exception in thread "main" java.lang.RuntimeException: Could not create temporary directory: /tmp/sqoop-cloudera/compile/53ad2aff23e7d18fdb8f22cd5e754486; check for a directory permissions issue on /tmp.
at org.apache.sqoop.SqoopOptions.getNonceJarDir(SqoopOptions.java:917)
at org.apache.sqoop.SqoopOptions.initDefaults(SqoopOptions.java:987)
at org.apache.sqoop.SqoopOptions.(SqoopOptions.java:380)
at com.cloudera.sqoop.SqoopOptions.(SqoopOptions.java:77)
at org.apache.sqoop.Sqoop.(Sqoop.java:81)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:217)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
at org.apache.sqoop.Sqoop.main(Sqoop.java:2

 

meanwhile ,root directory is full,not able to start working on it, please help.


[cloudera@quickstart ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_quickstart-lv_root
55G 52G 14M 100% /

1 REPLY 1

Re: Unable to execute sqoop commands in cloudera VM and root directory is full.

New Contributor

Can anyone help me ?

Don't have an account?
Coming from Hortonworks? Activate your account here