<?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>topic Re: Pig uses the wrong user in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280636#M55425</link>
    <description>I have a similar problem.  Talend is passing my Windows log in ID to Pig rather than allowing me to specify a user as the HDFS component does.  I am on the same configuration, CDH4 and Talend BD 5.2.0.M4.</description>
    <pubDate>Tue, 25 Sep 2012 21:24:45 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-09-25T21:24:45Z</dc:date>
    <item>
      <title>Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280635#M55424</link>
      <description>Hello, 
&lt;BR /&gt;When i try to execute a simpel Pig job, tPigLoad -&amp;gt; tPigStoreResult 
&lt;BR /&gt;I get the following error: 
&lt;BR /&gt;ERROR security.UserGroupInformation: PriviledgedActionException as:Martijn (auth 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;IMPLE) cause 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;rg.apache.hadoop.security.AccessControlException: Permission denied: user=Martijn, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x 
&lt;BR /&gt;The job is getting executed with the user Martijn, this user is the local user on my macbook and does not exists inside my hadoop cluster. How can i change the user that the Pig job uses? 
&lt;BR /&gt;I have a distribution of Cloudera CDH4 running and using Talend BD 5.2.0.M4. 
&lt;BR /&gt;Greetings, 
&lt;BR /&gt;Martijn</description>
      <pubDate>Sat, 16 Nov 2024 12:11:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280635#M55424</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280636#M55425</link>
      <description>I have a similar problem.  Talend is passing my Windows log in ID to Pig rather than allowing me to specify a user as the HDFS component does.  I am on the same configuration, CDH4 and Talend BD 5.2.0.M4.</description>
      <pubDate>Tue, 25 Sep 2012 21:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280636#M55425</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-25T21:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280637#M55426</link>
      <description>Possibly try using the Oozie deployer available as a panel in the Studio. You can set a username. Oozie is required to be running on Hadoop.&lt;BR /&gt;My config within TOS4BD is:&lt;BR /&gt;Name node end point: hdfs://talend-hdp-all&lt;BR /&gt;Job tracker end point: talend-hdp-all:50300&lt;BR /&gt;Oozie end point:http://talend-hdp-all:11000/oozie&lt;BR /&gt;&lt;BR /&gt;Ciaran</description>
      <pubDate>Fri, 28 Sep 2012 21:54:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280637#M55426</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-28T21:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280638#M55427</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Possibly try using the Oozie deployer available as a panel in the Studio. You can set a username. Oozie is required to be running on Hadoop.&lt;BR /&gt;My config within TOS4BD is:&lt;BR /&gt;Name node end point: hdfs://talend-hdp-all&lt;BR /&gt;Job tracker end point: talend-hdp-all:50300&lt;BR /&gt;Oozie end point:http://talend-hdp-all:11000/oozie&lt;BR /&gt;&lt;BR /&gt;Ciaran&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Thanks for the response.&lt;BR /&gt;When i try to run the job using the Oozie deployer i get the following:&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Deploying job to Hadoop...&lt;BR /&gt;Deployment failed!&lt;BR /&gt;Can not access Hadoop File System with user hdfs!&lt;BR /&gt;Server IPC version 7 cannot communicate with client version 4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I tried searching the internet for this error but i haven't found an answer yet.&lt;BR /&gt;Greetings,&lt;BR /&gt;Martijn</description>
      <pubDate>Mon, 01 Oct 2012 09:50:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280638#M55427</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-10-01T09:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280639#M55428</link>
      <description>I am getting the same error using CDH4 and Talend BD 5.2.0.M4
&lt;BR /&gt;Oozie settings:
&lt;BR /&gt;namenode end pt: hdfs://hadoopdw4
&lt;BR /&gt;job tracker end pt: hadoopdw4t:50300
&lt;BR /&gt;oozie end pt: http://hadoopdw4:11000/oozie
&lt;BR /&gt;user name: hdfs
&lt;BR /&gt;Deploying job to Hadoop...
&lt;BR /&gt;Can not access Hadoop File System with user hdfs!
&lt;BR /&gt;Server IPC version 7 cannot communicate with client version 4
&lt;BR /&gt;Thanks,
&lt;BR /&gt;John</description>
      <pubDate>Mon, 01 Oct 2012 21:56:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280639#M55428</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-10-01T21:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280640#M55429</link>
      <description>Hello,
&lt;BR /&gt;Regarding Pig and the username which is used, it's not possible to define it in the configuration. It's a Pig limitation. The login ID which is used is the JAVA process owner, who is the user which executes the Talend Job.
&lt;BR /&gt;It means you have to create a user, with the same id than the Java Process owner, on the Hadoop side. Finally, you will be able to give the HDFS folder ownership to this user, and you won't meet the issue anymore.
&lt;BR /&gt;I hope this helps.
&lt;BR /&gt;Regards,
&lt;BR /&gt;Rémy.</description>
      <pubDate>Sat, 17 Nov 2012 10:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280640#M55429</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-11-17T10:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Pig uses the wrong user</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280641#M55430</link>
      <description>Hi,&lt;BR /&gt;I went through the generated code section of tPigLoad &amp;amp; tPigStore components and found a discrepancy there. In tPigLoad component, it sets the default value for the user property "HADOOP_USER_NAME_tPigLoad_1" and not the one mentioned in tPigLoad configuration. Hence the problem of running load and store with different users.&lt;BR /&gt;In tPigLoad component -&lt;BR /&gt;globalMap.put("HADOOP_USER_NAME_tPigLoad_1",&lt;BR /&gt;System.getProperty("HADOOP_USER_NAME"));&lt;BR /&gt;String username_tPigLoad_1 = "bedrock";&lt;BR /&gt;if (username_tPigLoad_1 != null&lt;BR /&gt;&amp;amp;&amp;amp; !"".equals(username_tPigLoad_1.trim())) {&lt;BR /&gt;System.setProperty("HADOOP_USER_NAME",&lt;BR /&gt;username_tPigLoad_1);&lt;BR /&gt;}&lt;BR /&gt;In tPigStore component.&lt;BR /&gt;String originalHadoopUsername_tPigStoreResult_1 = (String) globalMap&lt;BR /&gt;.get("HADOOP_USER_NAME_tPigLoad_1");&lt;BR /&gt;if (originalHadoopUsername_tPigStoreResult_1 != null) {&lt;BR /&gt;System.setProperty("HADOOP_USER_NAME",&lt;BR /&gt;originalHadoopUsername_tPigStoreResult_1);&lt;BR /&gt;globalMap.put("HADOOP_USER_NAME_tPigLoad_1", null);&lt;BR /&gt;} else {&lt;BR /&gt;System.clearProperty("HADOOP_USER_NAME");&lt;BR /&gt;}&lt;BR /&gt;We worked around this problem by using tSetEnv component for HADOOP_USER_NAME.</description>
      <pubDate>Wed, 03 Dec 2014 06:11:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Pig-uses-the-wrong-user/m-p/2280641#M55430</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-12-03T06:11:56Z</dc:date>
    </item>
  </channel>
</rss>

