<?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 [resolved] 401 error trying to create HCatalog connection for Hadoop cluster in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-401-error-trying-to-create-HCatalog-connection-for/m-p/2270821#M48610</link>
    <description>I'm trying to set up the Big Data job example called "Gathering Web traffic information using Hadoop". &amp;nbsp;In some other Hadoop examples I've been successful connecting to my Hadoop instance and running a job to create and read data, so Haddop seems to be working for me. &amp;nbsp;I did a job example with tHDFSPut and tHDFSGet and it worked fine. &amp;nbsp;For this job example I installed Hive on my namenode and I have webhcat running: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/local/apache-hive-2.1.1-bin/hcatalog/sbin$ ./webhcat_server.sh start 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lenght of string is non zero 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: starting ... 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: /usr/local/hadoop/bin/hadoop jar /usr/local/apache-hive-2.1.1-bin/hcatalog/sbin/../share/webhcat/svr/lib/hive-webhcat-2.1.1.jar org.apache.hive.hcatalog.templeton.Main 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: starting ... started. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: done 
&lt;BR /&gt;The issue I'm seeing is when trying to call the Templeton Host for the component tHCatalogOperation. &amp;nbsp;I get the following error in the Talend Execution window. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error 401 (Unauthorized): Credentials were missing or incorrect. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&amp;gt;Unable to access program: ${env.PYTHON_CMD} 
&lt;BR /&gt;I run into a similar issue when trying to create an HCatalog connection for my Hadoop cluster under Metadata and try to test the connection. Hostname and port are like this: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hostname = ec2-xx-xx-xx-xx.xx-xxxx-x.compute.amazonaws.com 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Port= 50111 
&lt;BR /&gt;The only thing showing in the webhcat.log after a run is the following: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INFO &amp;nbsp;| 12 Feb 2017 15:05:41,061 | org.apache.hive.hcatalog.templeton.HcatDelegator | &amp;nbsp; &amp;nbsp; &amp;nbsp; Main.getAppConfigInstance().get(AppConfig.UNIT_TEST_MODE)=null 
&lt;BR /&gt;At this point I'm stuck because I see that I don't have valid credentials, but I can't tell what to do for a next step to investigate this. &amp;nbsp;Any suggestions are appreciated.</description>
    <pubDate>Sat, 16 Nov 2024 10:05:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:05:23Z</dc:date>
    <item>
      <title>[resolved] 401 error trying to create HCatalog connection for Hadoop cluster</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-401-error-trying-to-create-HCatalog-connection-for/m-p/2270821#M48610</link>
      <description>I'm trying to set up the Big Data job example called "Gathering Web traffic information using Hadoop". &amp;nbsp;In some other Hadoop examples I've been successful connecting to my Hadoop instance and running a job to create and read data, so Haddop seems to be working for me. &amp;nbsp;I did a job example with tHDFSPut and tHDFSGet and it worked fine. &amp;nbsp;For this job example I installed Hive on my namenode and I have webhcat running: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /usr/local/apache-hive-2.1.1-bin/hcatalog/sbin$ ./webhcat_server.sh start 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Lenght of string is non zero 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: starting ... 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: /usr/local/hadoop/bin/hadoop jar /usr/local/apache-hive-2.1.1-bin/hcatalog/sbin/../share/webhcat/svr/lib/hive-webhcat-2.1.1.jar org.apache.hive.hcatalog.templeton.Main 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: starting ... started. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; webhcat: done 
&lt;BR /&gt;The issue I'm seeing is when trying to call the Templeton Host for the component tHCatalogOperation. &amp;nbsp;I get the following error in the Talend Execution window. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Error 401 (Unauthorized): Credentials were missing or incorrect. 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&amp;gt;Unable to access program: ${env.PYTHON_CMD} 
&lt;BR /&gt;I run into a similar issue when trying to create an HCatalog connection for my Hadoop cluster under Metadata and try to test the connection. Hostname and port are like this: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hostname = ec2-xx-xx-xx-xx.xx-xxxx-x.compute.amazonaws.com 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Port= 50111 
&lt;BR /&gt;The only thing showing in the webhcat.log after a run is the following: 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;INFO &amp;nbsp;| 12 Feb 2017 15:05:41,061 | org.apache.hive.hcatalog.templeton.HcatDelegator | &amp;nbsp; &amp;nbsp; &amp;nbsp; Main.getAppConfigInstance().get(AppConfig.UNIT_TEST_MODE)=null 
&lt;BR /&gt;At this point I'm stuck because I see that I don't have valid credentials, but I can't tell what to do for a next step to investigate this. &amp;nbsp;Any suggestions are appreciated.</description>
      <pubDate>Sat, 16 Nov 2024 10:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-401-error-trying-to-create-HCatalog-connection-for/m-p/2270821#M48610</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] 401 error trying to create HCatalog connection for Hadoop cluster</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-401-error-trying-to-create-HCatalog-connection-for/m-p/2270822#M48611</link>
      <description>I'm pretty sure at this point that I made a mistake during the install of Hive since it seems that Hive in unable to since the jar file for webhcat. &amp;nbsp;I plan to go through the install again in more detail. &amp;nbsp;Closing this issue.</description>
      <pubDate>Wed, 15 Feb 2017 02:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-401-error-trying-to-create-HCatalog-connection-for/m-p/2270822#M48611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-15T02:04:43Z</dc:date>
    </item>
  </channel>
</rss>

