<?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 hive import through oozie in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198576#M62401</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/2384/arjunm5573.html" nodeid="2384"&gt;@arjun more&lt;/A&gt;&lt;P&gt;You can follow below steps to get it resolved,&lt;/P&gt;&lt;P&gt;- Add the following classpath in file "/etc/sqoop/conf/sqoop-env.sh" &lt;/P&gt;&lt;P&gt;export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/hdp/current/hive-client/lib/* &lt;/P&gt;&lt;P&gt;- Make sure you have installed the Hive client in the node where Oozie server is running. &lt;/P&gt;&lt;P&gt;- Add hive-exec jar in oozie lib &lt;/P&gt;&lt;P&gt;- Also make sure yarn user is present in HDFS(/user/yarn directory).&lt;/P&gt;&lt;P&gt;And restart Oozie server and try again.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 12:04:14 GMT</pubDate>
    <dc:creator>nshelke</dc:creator>
    <dc:date>2017-06-06T12:04:14Z</dc:date>
    <item>
      <title>Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198575#M62400</link>
      <description>&lt;P&gt;I have a oozie workflow which launched Sqoop Job against Hive, While importing it is throwing the below error,&lt;/P&gt;&lt;P&gt; [main] ERROR org.apache.sqoop.tool.ImportTool - Encountered IOException running import job: &lt;A href="http://java.io/"&gt;java.io&lt;/A&gt;.IOException: java.lang.ClassNotFoundException: org.apache.hadoop.hive.conf.HiveConf &lt;/P&gt;&lt;P&gt;at org.apache.sqoop.hive.HiveConfig.getHiveConf(HiveConfig.java:50) 
at org.apache.sqoop.hive.HiveImport.getHiveArgs(HiveImport.java:397) 
at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:384) 
at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:342) 
at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:246) 
at org.apache.sqoop.tool.CreateHiveTableTool.run(CreateHiveTableTool.java:58) 
at org.apache.sqoop.Sqoop.run(Sqoop.java:147) 
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) 
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183) 
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:225) 
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:234) 
at org.apache.sqoop.Sqoop.main(Sqoop.java:243) 
at org.apache.oozie.action.hadoop.SqoopMain.runSqoopJob(SqoopMain.java:202) 
at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:182) 
at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:51) 
at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:48) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;/P&gt;&lt;P&gt;Can someone help me out on this? &lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:01:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198575#M62400</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-06-06T12:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198576#M62401</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2384/arjunm5573.html" nodeid="2384"&gt;@arjun more&lt;/A&gt;&lt;P&gt;You can follow below steps to get it resolved,&lt;/P&gt;&lt;P&gt;- Add the following classpath in file "/etc/sqoop/conf/sqoop-env.sh" &lt;/P&gt;&lt;P&gt;export HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/usr/hdp/current/hive-client/lib/* &lt;/P&gt;&lt;P&gt;- Make sure you have installed the Hive client in the node where Oozie server is running. &lt;/P&gt;&lt;P&gt;- Add hive-exec jar in oozie lib &lt;/P&gt;&lt;P&gt;- Also make sure yarn user is present in HDFS(/user/yarn directory).&lt;/P&gt;&lt;P&gt;And restart Oozie server and try again.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:04:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198576#M62401</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-06-06T12:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198577#M62402</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I tried your suggestion, only not sure how to add user in HDFS. Can you guide me?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:29:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198577#M62402</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-06-06T12:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198578#M62403</link>
      <description>&lt;P&gt;Its giving me error while running the job that, Permission denied for user yarn. Not sure why as I am running this oozie action by arjun user still getting this error.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:30:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198578#M62403</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-06-06T12:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198579#M62404</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2384/arjunm5573.html" nodeid="2384"&gt;@arjun more&lt;/A&gt; &lt;/P&gt;&lt;P&gt;You can use below commands for adding user directory in hdfs,&lt;/P&gt;&lt;P&gt;su - &amp;lt;HDFS_USER&amp;gt;&lt;/P&gt;&lt;P&gt;hdfs dfs -mkdir /user/yarn&lt;/P&gt;&lt;P&gt;hdfs dfs -chown -R yarn:hdfs /user/yarn&lt;/P&gt;&lt;P&gt;This will create the user in HDFS.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:35:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198579#M62404</guid>
      <dc:creator>nshelke</dc:creator>
      <dc:date>2017-06-06T12:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198580#M62405</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/17944/nshelke.html" nodeid="17944"&gt;@nshelke&lt;/A&gt;&lt;P&gt;Thanks, it really helped. And now oozie job is running.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:38:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198580#M62405</guid>
      <dc:creator>Rarjun</dc:creator>
      <dc:date>2017-06-06T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop hive import through oozie</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198581#M62406</link>
      <description>&lt;P&gt;Why add yarn user directory in hdfs?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 20:39:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-hive-import-through-oozie/m-p/198581#M62406</guid>
      <dc:creator>erkansirin78</dc:creator>
      <dc:date>2017-10-10T20:39:40Z</dc:date>
    </item>
  </channel>
</rss>

