<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Sqoop Error, Sqoop 2 not working through hue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24829#M51900</link>
    <description>&lt;P&gt;I have somewhat similar issue but my error is little different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command line -&lt;/P&gt;&lt;P&gt;sudo -u hdfs sqoop import --connect jdbc:oracle:thin:@//BIDEVDC01.gmpvt.net:1521/BIDEV --table CM_GIS_OUTAGE_EXTRACT --fields-terminated-by '\t' --username DWADM --password dwadm --target-dir /user/etl/sqoop/init/CM_GIS_OUTAGE_EXTRACT --verbose --connection-manager org.apache.sqoop.manager.OracleManager --num-mappers 4 --mapreduce-job-name CM_GIS_OUTAGE_EXTRACT --direct --split-by DEVICE_OID --hive-import &amp;amp;&amp;gt; sqoop-CM_GIS_OUTAGE_EXTRACT.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR -&lt;/P&gt;&lt;P&gt;15/02/18 17:16:14 INFO mapreduce.Job: map 0% reduce 0%&lt;BR /&gt;15/02/18 17:16:14 INFO mapreduce.Job: Job job_1423869234667_0007 failed with state FAILED due to: Application application_1423869234667_0007 failed 2 times due to AM Container for appattempt_1423869234667_0007_000002 exited with exitCode: -1000 due to: Application application_1423869234667_0007 initialization failed (exitCode=255) with output: main : command provided 0&lt;BR /&gt;main : user is nobody&lt;BR /&gt;main : requested yarn user is hdfs&lt;BR /&gt;Can't create directory /data1/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data10/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data11/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data12/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data2/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data3/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data4/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data5/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data6/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data7/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data8/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data9/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Did not create any app directories&lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2015 22:17:17 GMT</pubDate>
    <dc:creator>nara</dc:creator>
    <dc:date>2015-02-18T22:17:17Z</dc:date>
    <item>
      <title>Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24261#M51883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have installed CDH 5.3 on 20 nodes, which comes with both sqoop 1 and sqoop2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run a sqoop 1 job through command line interactive shell, but unable to as it throws execption. As I change the jar, the error differs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DB: postgresql&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have kept the jar file for postgresql inside /var/lib/sqoop/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to give all required permissions on the sqoop, but still unable to run it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It says no db jar selected or read.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use sqoop 2 through Hue, It doesnot allow me to create sqoop job, it is like when you click on create new job, it does not go to next page.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:20:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24261#M51883</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2022-09-16T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24262#M51884</link>
      <description>&lt;P&gt;Following is the error I am getting.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:postgresql://10.4.2.68:6453/snap318 --username ae -P --table lead_dmn --target-dir /user/njaiswal/cidb/prime&lt;BR /&gt;Warning: /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;15/01/31 16:49:55 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5-cdh5.3.0&lt;BR /&gt;Enter password:&lt;BR /&gt;15/01/31 16:49:59 INFO manager.SqlManager: Using default fetchSize of 1000&lt;BR /&gt;15/01/31 16:49:59 INFO tool.CodeGenTool: Beginning code generation&lt;BR /&gt;15/01/31 16:49:59 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: org.postgresql.Driver&lt;BR /&gt;java.lang.RuntimeException: Could not load db driver class: org.postgresql.Driver&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:848)&lt;BR /&gt;at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:736)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:759)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery(SqlManager.java:269)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:240)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:226)&lt;BR /&gt;at org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:295)&lt;BR /&gt;at org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1833)&lt;BR /&gt;at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1645)&lt;BR /&gt;at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:143)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:236)&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2015 16:53:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24262#M51884</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-01-31T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24263#M51885</link>
      <description>&lt;P&gt;If I try same command from different node, the error differs....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:postgresql://10.4.2.68:6453/snap318 --username ae -P --table lead_dmn --target-dir /user/njaiswal/cidb/prime&lt;BR /&gt;Warning: /opt/cloudera/parcels/CDH-5.3.0-1.cdh5.3.0.p0.30/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.&lt;BR /&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;BR /&gt;15/01/31 17:22:18 INFO sqoop.Sqoop: Running Sqoop version: 1.4.5-cdh5.3.0&lt;BR /&gt;Enter password:&lt;BR /&gt;15/01/31 17:22:22 INFO manager.SqlManager: Using default fetchSize of 1000&lt;BR /&gt;15/01/31 17:22:22 INFO tool.CodeGenTool: Beginning code generation&lt;BR /&gt;15/01/31 17:22:22 ERROR manager.SqlManager: Error executing statement: org.postgresql.util.PSQLException: ERROR: Encountered "AS" at line 1, column 29.&lt;BR /&gt;Was expecting one of:&lt;BR /&gt;&amp;lt;EOF&amp;gt;&lt;BR /&gt;";" ...&lt;BR /&gt;&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: Encountered "AS" at line 1, column 29.&lt;BR /&gt;Was expecting one of:&lt;BR /&gt;&amp;lt;EOF&amp;gt;&lt;BR /&gt;";" ...&lt;BR /&gt;&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)&lt;BR /&gt;at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:374)&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Connection.execSQLUpdate(AbstractJdbc2Connection.java:263)&lt;BR /&gt;at org.postgresql.jdbc2.AbstractJdbc2Connection.setTransactionIsolation(AbstractJdbc2Connection.java:829)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:883)&lt;BR /&gt;at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:736)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:759)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnInfoForRawQuery(SqlManager.java:269)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:240)&lt;BR /&gt;at org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:226)&lt;BR /&gt;at org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:295)&lt;BR /&gt;at org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1833)&lt;BR /&gt;at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1645)&lt;BR /&gt;at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:143)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:236)&lt;BR /&gt;15/01/31 17:22:22 ERROR tool.ImportTool: Encountered IOException running import job: java.io.IOException: No columns to generate for ClassWriter&lt;BR /&gt;at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1651)&lt;BR /&gt;at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:96)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:478)&lt;BR /&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)&lt;BR /&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:143)&lt;BR /&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)&lt;BR /&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)&lt;BR /&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:236)&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jan 2015 17:24:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24263#M51885</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-01-31T17:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24341#M51886</link>
      <description>&lt;P&gt;Sqoop2 is going throgh a lot of changes and isn't supported in Hue in CDH 5.3.0. It should be in CDH 5.3.2 AFAIK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Sqoop1 command you are running have two different problems:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;The postgresql jdbc driver jar isn't available on one of your nodes. This can be fixed by downloading it and putting it in /var/lib/sqoop.&lt;/LI&gt;&lt;LI&gt;The problem seems to be some kind of SQL error. Could you add --verbose to your sqoop command? sqoop import --verbose ...&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Wed, 04 Feb 2015 22:07:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24341#M51886</guid>
      <dc:creator>abe</dc:creator>
      <dc:date>2015-02-04T22:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24344#M51887</link>
      <description>&lt;P&gt;Hi abe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting new issue on hdfs,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop is running fine and it creates an output directory on the given --target-dir path /xxx.........but the issue is I can see the directory on hdfs, but cannot access, when given hadoop fs -ls /xxx , it says no such file or directory.....Pls help me to resolve this issue&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 22:53:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24344#M51887</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-04T22:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24345#M51888</link>
      <description>&lt;P&gt;Also when I tried to access it through Hue.....It says following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000" size="4"&gt;Y&lt;FONT size="2"&gt;ou are a Hue admin but not a HDFS superuser (which is "hdfs").&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 23:03:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24345#M51888</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-04T23:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24348#M51892</link>
      <description>It seems like the job didn't run. Are you sure it finished? There should be task logs associated with your job. Could you check them for errors? Also, make sure --verbose is in your command for the best possible debug information.</description>
      <pubDate>Wed, 04 Feb 2015 23:38:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24348#M51892</guid>
      <dc:creator>abe</dc:creator>
      <dc:date>2015-02-04T23:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24350#M51893</link>
      <description>&lt;P&gt;Yes, the Job run successfully, but still I am unable to view the file as the directory which has it, doesnot open.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop ran successfully and retrieved 4 records, and also created the directory by itself when I specify explecitly from command line,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not allowing me to look into direcctory.......it says no such file or directory, but I can notice that it is present......something to do with permissions for hdfs??&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24350#M51893</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-05T01:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24351#M51894</link>
      <description>&lt;P&gt;From the CLI, Hadoop normally shows: "ls: Permission denied: user=admin..." if you don't have permission. What is your&amp;nbsp;--target-dir set to?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:27:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24351#M51894</guid>
      <dc:creator>abe</dc:creator>
      <dc:date>2015-02-05T01:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24352#M51895</link>
      <description>&lt;P&gt;You are right it should say permission denied, but strangely it says "No file or directory found" , but we can see that directory is present.....&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:33:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24352#M51895</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-05T01:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24353#M51896</link>
      <description>&lt;P&gt;Hey abe ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am running the sqoop command on node 1 and the cluster comprises of 20 nodes..... 1nn , 19 dn...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can access hdfs from all the nodes, also able to access directories that was created using hadoop fs -mkdir /user/xyz/abc......., The only issue is unable to access directory created by sqoop import, though the sqoop job was successful&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:37:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24353#M51896</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-05T01:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24354#M51897</link>
      <description>&lt;P&gt;Hello abe,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;following is the sqoop command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sqoop import --connect jdbc:mysql://ip-address/db --username abc --password cde --query "select * from hfpoverty WHERE hindus_females &amp;gt; 10 AND \$CONDITIONS" --target-dir /user/jais/test3 -m 1&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:45:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24354#M51897</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-05T01:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24355#M51898</link>
      <description>&lt;P&gt;So, this directory has been created test3........but unable to access it as it says no such file or directory........&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2015 01:53:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24355#M51898</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-05T01:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24505#M51899</link>
      <description>&lt;P&gt;Hello abe,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for helping me, the issue has been resolved bby itself, do not know what happened, I felt there some kind of special characters auto generated on top of the directory name, hence it was saying no such file or directory, as soon as I deleted the directory and created the new one, it works fine.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2015 05:53:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24505#M51899</guid>
      <dc:creator>Jais</dc:creator>
      <dc:date>2015-02-10T05:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24829#M51900</link>
      <description>&lt;P&gt;I have somewhat similar issue but my error is little different.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command line -&lt;/P&gt;&lt;P&gt;sudo -u hdfs sqoop import --connect jdbc:oracle:thin:@//BIDEVDC01.gmpvt.net:1521/BIDEV --table CM_GIS_OUTAGE_EXTRACT --fields-terminated-by '\t' --username DWADM --password dwadm --target-dir /user/etl/sqoop/init/CM_GIS_OUTAGE_EXTRACT --verbose --connection-manager org.apache.sqoop.manager.OracleManager --num-mappers 4 --mapreduce-job-name CM_GIS_OUTAGE_EXTRACT --direct --split-by DEVICE_OID --hive-import &amp;amp;&amp;gt; sqoop-CM_GIS_OUTAGE_EXTRACT.log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR -&lt;/P&gt;&lt;P&gt;15/02/18 17:16:14 INFO mapreduce.Job: map 0% reduce 0%&lt;BR /&gt;15/02/18 17:16:14 INFO mapreduce.Job: Job job_1423869234667_0007 failed with state FAILED due to: Application application_1423869234667_0007 failed 2 times due to AM Container for appattempt_1423869234667_0007_000002 exited with exitCode: -1000 due to: Application application_1423869234667_0007 initialization failed (exitCode=255) with output: main : command provided 0&lt;BR /&gt;main : user is nobody&lt;BR /&gt;main : requested yarn user is hdfs&lt;BR /&gt;Can't create directory /data1/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data10/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data11/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data12/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data2/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data3/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data4/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data5/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data6/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data7/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data8/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Can't create directory /data9/yarn/nm/usercache/hdfs/appcache/application_1423869234667_0007 - Permission denied&lt;BR /&gt;Did not create any app directories&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2015 22:17:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/24829#M51900</guid>
      <dc:creator>nara</dc:creator>
      <dc:date>2015-02-18T22:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Error, Sqoop 2 not working through hue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/25680#M51901</link>
      <description>&lt;P&gt;Nara,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you could try deleting the /data1/yarn/nm/usercache/hdfs directory from your datanodes - as suggested in here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://community.cloudera.com/t5/Batch-Processing-and-Workflow/Can-t-create-directory-yarn-nm-usercache-urika-appcache/td-p/24891"&gt;http://community.cloudera.com/t5/Batch-Processing-and-Workflow/Can-t-create-directory-yarn-nm-usercache-urika-appcache/td-p/24891&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That worked for me.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2015 10:49:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Error-Sqoop-2-not-working-through-hue/m-p/25680#M51901</guid>
      <dc:creator>perk</dc:creator>
      <dc:date>2015-03-18T10:49:01Z</dc:date>
    </item>
  </channel>
</rss>

