<?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: oozie sqoop job error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117229#M38665</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;@da li&lt;/A&gt;&lt;P&gt;This issue is observed when the proxyuser is set incorrectly for oozie. Set below properties at Ambari HDFS component &amp;gt; click on the Configs tab &amp;gt; and restart Affected components.&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.oozie.hosts = * &lt;/P&gt;&lt;P&gt;hadoop.proxyuser.oozie.groups = *&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2016 16:18:19 GMT</pubDate>
    <dc:creator>ssubhas</dc:creator>
    <dc:date>2016-08-24T16:18:19Z</dc:date>
    <item>
      <title>oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117228#M38664</link>
      <description>&lt;PRE&gt;[root@hdp-m2 testData]# oozie job -auth SIMPLE -oozie &lt;A href="http://hdp-m2:11000/oozie" target="_blank"&gt;http://hdp-m2:11000/oozie&lt;/A&gt; -config job.properties -run
Error: E0501 : E0501: Could not perform authorization operation, User: root is not allowed to impersonate root


&lt;/PRE&gt;&lt;P&gt;Can somebody help me?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:11:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117228#M38664</guid>
      <dc:creator>lida_java</dc:creator>
      <dc:date>2016-08-24T16:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117229#M38665</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;@da li&lt;/A&gt;&lt;P&gt;This issue is observed when the proxyuser is set incorrectly for oozie. Set below properties at Ambari HDFS component &amp;gt; click on the Configs tab &amp;gt; and restart Affected components.&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.oozie.hosts = * &lt;/P&gt;&lt;P&gt;hadoop.proxyuser.oozie.groups = *&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:18:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117229#M38665</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-08-24T16:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117230#M38666</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;@da li&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;&lt;/A&gt;hey please have a look at below &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/153/impersonation-error-while-trying-to-access-ambari.html"&gt;https://community.hortonworks.com/questions/153/impersonation-error-while-trying-to-access-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if it helps accept the answer&lt;/P&gt;&lt;P&gt;You need to create the proxy settings for 'root', since Ambari runs as root. This allows it to impersonate the user in hdfs.&lt;/P&gt;&lt;P&gt;similar thing you need to do for oozie user , like its done for root&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.root.groups=*&lt;/P&gt;&lt;P&gt;hadoop.proxyuser.root.hosts=*&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117230#M38666</guid>
      <dc:creator>ripu</dc:creator>
      <dc:date>2016-08-24T16:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117231#M38667</link>
      <description>&lt;P&gt;I have virified the hdfs-site.xml like this&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/6910-qq%E5%9B%BE%E7%89%8720160824174340.png" /&gt;&lt;/P&gt;&lt;P&gt;and restarted my HDP on Ambari , then i&lt;/P&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;[root@hdp-m2 testData]# oozie job -oozie &lt;A href="http://hdp-m2:11000/oozie" target="_blank"&gt;http://hdp-m2:11000/oozie&lt;/A&gt; -config job.properties -run&lt;/LI&gt;&lt;LI&gt;Error: E0501 : E0501:Couldnot perform authorization operation,User: root isnot allowed to impersonate root&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;but it doesn't work.&lt;/P&gt;&lt;P&gt;why??Do you have some other solution?  Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:50:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117231#M38667</guid>
      <dc:creator>lida_java</dc:creator>
      <dc:date>2016-08-24T16:50:00Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117232#M38668</link>
      <description>&lt;P&gt;I want to load my data from mysql to HDFS, There are my files&lt;/P&gt;&lt;P&gt;my workflow.xml&lt;/P&gt;&lt;PRE&gt;&amp;lt;workflow-app xmlns="uri:oozie:workflow:0.2" name="sqoop-wf"&amp;gt;
    &amp;lt;start to="sqoop-node"/&amp;gt;


    &amp;lt;action name="sqoop-node"&amp;gt;
        &amp;lt;sqoop xmlns="uri:oozie:sqoop-action:0.2"&amp;gt;
            &amp;lt;job-tracker&amp;gt;${jobTracker}&amp;lt;/job-tracker&amp;gt;
            &amp;lt;name-node&amp;gt;${nameNode}&amp;lt;/name-node&amp;gt;
            &amp;lt;prepare&amp;gt;
                &amp;lt;delete path="${nameNode}/user/${wf:user()}/${examplesRoot}/output-data/sqoop"/&amp;gt;
                &amp;lt;mkdir path="${nameNode}/user/${wf:user()}/${examplesRoot}/output-data"/&amp;gt;
            &amp;lt;/prepare&amp;gt;
            &amp;lt;configuration&amp;gt;
                &amp;lt;property&amp;gt;
                    &amp;lt;name&amp;gt;mapred.job.queue.name&amp;lt;/name&amp;gt;
                    &amp;lt;value&amp;gt;${queueName}&amp;lt;/value&amp;gt;
                &amp;lt;/property&amp;gt;
            &amp;lt;/configuration&amp;gt;
            &amp;lt;!-- &amp;lt;command&amp;gt;import --connect jdbc:mysql://XXX:3306/ph51_dcp --table ph51dcp_visit_log  --username root --password lida123321 --target-dir /user/${wf:user()}/${examplesRoot}/output-data/sqoop -m 1&amp;lt;/command&amp;gt; --&amp;gt;
            &amp;lt;command&amp;gt;import --connect jdbc:mysql://XXX:3306/ph51_dcp --table ph51dcp_visit_log  --username root --password lida123321 --target-dir /user/sqoop-1 -m 1&amp;lt;/command&amp;gt;
            &amp;lt;file&amp;gt;db.hsqldb.properties#db.hsqldb.properties&amp;lt;/file&amp;gt;
            &amp;lt;file&amp;gt;db.hsqldb.script#db.hsqldb.script&amp;lt;/file&amp;gt;
        &amp;lt;/sqoop&amp;gt;
        &amp;lt;ok to="end"/&amp;gt;
        &amp;lt;error to="fail"/&amp;gt;
    &amp;lt;/action&amp;gt;


    &amp;lt;kill name="fail"&amp;gt;
        &amp;lt;message&amp;gt;Sqoop failed, error message[${wf:errorMessage(wf:lastErrorNode())}]&amp;lt;/message&amp;gt;
    &amp;lt;/kill&amp;gt;
    &amp;lt;end name="end"/&amp;gt;
&amp;lt;/workflow-app&amp;gt;


&lt;/PRE&gt;&lt;P&gt;my job.pro&lt;/P&gt;&lt;PRE&gt;# limitations under the License.
#


nameNode=hdfs://hdp-m1:8020
jobTracker=hdp-m1:8021
queueName=default
examplesRoot=examples


oozie.use.system.libpath=true


oozie.wf.application.path=${nameNode}/user/${user.name}/${examplesRoot}/apps/sqoop
~                                                                                                                                                            
~                                                                                                                                                            
~                                                                                                                                                            
"job.properties" 26L, 996C


&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Aug 2016 16:55:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117232#M38668</guid>
      <dc:creator>lida_java</dc:creator>
      <dc:date>2016-08-24T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117233#M38669</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;@da li&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The answers here are close, but not quite. The proxy user settings take the form of hadoop.proxyuser.&amp;lt;username&amp;gt;.[groups|hosts]. So, in your Custom hdfs-site.xml section of Ambari, add the following two parameters:&lt;/P&gt;&lt;PRE&gt;hadoop.proxyuser.root.hosts=*
hadoop.proxyuser.root.groups=*&lt;/PRE&gt;&lt;P&gt;This will correct the impersonation error.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2016 21:26:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117233#M38669</guid>
      <dc:creator>emaxwell</dc:creator>
      <dc:date>2016-08-24T21:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117234#M38670</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10704/lida-java.html" nodeid="10704"&gt;@da li&lt;/A&gt; - I believe you have passed impersonation issues after referring below answers. are you still facing same issue? If not then I would suggest you to accept the appropriate answer and start a new question if you have any further issues.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 01:17:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117234#M38670</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-25T01:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: oozie sqoop job error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117235#M38671</link>
      <description>&lt;P&gt;Thanks everybody.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 08:22:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/oozie-sqoop-job-error/m-p/117235#M38671</guid>
      <dc:creator>lida_java</dc:creator>
      <dc:date>2016-08-25T08:22:41Z</dc:date>
    </item>
  </channel>
</rss>

