<?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 Hive: java.net.ConnectException: Connection refused in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209855#M8504</link>
    <description>Hi all, 
&lt;BR /&gt;I have a local installation of hadoop, hive, spark and so on and tried to use the Open Studio for BD (version: 6.1.1.) to process some example data using hive. 
&lt;BR /&gt;1. hadoop is running (its still on version 1.2.1) 
&lt;BR /&gt;2. hive metastore and hive is running 
&lt;BR /&gt;I can connect to hive using the "tHiveConnection" component and I can create and drop tables in hive using "tHiveRow" component but I CANNOT process data using the "tELTHiveOutput" component: 
&lt;BR /&gt; 
&lt;BR /&gt;There is no map reduce job created, however I can process the data when I'm dircetly in the hive-shell. 
&lt;BR /&gt;According to my understanding, the main problem is: 
&lt;BR /&gt;ava.lang.RuntimeException: java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on connection exception: java.net.ConnectException: Connection refused 
&lt;BR /&gt;Any idea which parameters to set?!?! 
&lt;BR /&gt;Thanks for any hint. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCqG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142061i28C57ABFBBCAF4BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCqG.png" alt="0683p000009MCqG.png" /&gt;&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 10:53:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T10:53:12Z</dc:date>
    <item>
      <title>Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209855#M8504</link>
      <description>Hi all, 
&lt;BR /&gt;I have a local installation of hadoop, hive, spark and so on and tried to use the Open Studio for BD (version: 6.1.1.) to process some example data using hive. 
&lt;BR /&gt;1. hadoop is running (its still on version 1.2.1) 
&lt;BR /&gt;2. hive metastore and hive is running 
&lt;BR /&gt;I can connect to hive using the "tHiveConnection" component and I can create and drop tables in hive using "tHiveRow" component but I CANNOT process data using the "tELTHiveOutput" component: 
&lt;BR /&gt; 
&lt;BR /&gt;There is no map reduce job created, however I can process the data when I'm dircetly in the hive-shell. 
&lt;BR /&gt;According to my understanding, the main problem is: 
&lt;BR /&gt;ava.lang.RuntimeException: java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on connection exception: java.net.ConnectException: Connection refused 
&lt;BR /&gt;Any idea which parameters to set?!?! 
&lt;BR /&gt;Thanks for any hint. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCqG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142061i28C57ABFBBCAF4BA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCqG.png" alt="0683p000009MCqG.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 10:53:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209855#M8504</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T10:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209856#M8505</link>
      <description>Hello, 
&lt;BR /&gt;Which Hive mode do you use ? Standalone or embedded ? 
&lt;BR /&gt;Rémy.</description>
      <pubDate>Mon, 04 Jan 2016 12:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209856#M8505</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209857#M8506</link>
      <description>Hi, 
&lt;BR /&gt;I'm using the embedded mode. 
&lt;BR /&gt;My testenvironment ist a pseudo distributed cluster on my local machine. 
&lt;BR /&gt;Thanks for your reply. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Gerd</description>
      <pubDate>Mon, 04 Jan 2016 22:25:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209857#M8506</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-04T22:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209858#M8507</link>
      <description>Hi,
&lt;BR /&gt;Ok. Can you please make sure that you started the hive-metastore service on your local machine ? Also, did you start the hive-server2 service ? It would allow to try using the standalone mode which is actually recommanded.
&lt;BR /&gt;Also, the error you have would mean that the namenode is not started. Can you access the namenode web page browsing 
&lt;A href="http://127.0.0.1:50070" rel="nofollow noopener noreferrer"&gt;http://127.0.0.1:50070&lt;/A&gt; ?
&lt;BR /&gt;Rémy.</description>
      <pubDate>Wed, 06 Jan 2016 08:40:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209858#M8507</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T08:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209859#M8508</link>
      <description>Hi, 
&lt;BR /&gt;I tried to check this already be myself: 
&lt;BR /&gt;1. metastore server is running: bin/hive --service metastore 
&lt;BR /&gt;Starting Hive Metastore Server 
&lt;BR /&gt;2. the hiveserver2 is started and running: bin/hive --service hiveserver2 
&lt;BR /&gt;3. this means I assume, that my hive installation is running, because I can work with hive using the console. An example in the hive console like SELECT COUNT(*) from tweets; creates a map reduce job like expected: 
&lt;BR /&gt; 
&lt;BR /&gt;4. I can create a connection to my local hive installation and create the table with talend: 
&lt;BR /&gt; 
&lt;BR /&gt;This is working good however, the connection mode is embedded: 
&lt;BR /&gt; 
&lt;BR /&gt;Using the same connection(!!!), I create another hive table and try to fill it with some data using the tELTHiveOutput_1 component. which fails with the message: 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;Total MapReduce jobs = 2&lt;BR /&gt;Launching Job 1 out of 2&lt;BR /&gt;Number of reduce tasks is set to 0 since there's no reduce operator&lt;BR /&gt;java.net.ConnectException: Call to gerdmac/192.168.2.101:50300 failed on connection exception: java.net.ConnectException: Connection refused&lt;/PRE&gt; 
&lt;BR /&gt;Namenode for sure is running: 
&lt;BR /&gt; 
&lt;BR /&gt;I'm lost. 
&lt;BR /&gt;Cheers 
&lt;BR /&gt;Gerd</description>
      <pubDate>Wed, 06 Jan 2016 23:46:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209859#M8508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T23:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: java.net.ConnectException: Connection refused</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209860#M8509</link>
      <description>Hi, 
&lt;BR /&gt;I tried to check this already be myself: 
&lt;BR /&gt;1. metastore server is running: bin/hive --service metastore 
&lt;BR /&gt;Starting Hive Metastore Server 
&lt;BR /&gt;2. the hiveserver2 is started and running: bin/hive --service hiveserver2 
&lt;BR /&gt;3. this means I assume, that my hive installation is running, because I can work with hive using the console. An example in the hive console like SELECT COUNT(*) from tweets; creates a map reduce job like expected: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCo0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149027iF508923E70739A87/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCo0.png" alt="0683p000009MCo0.png" /&gt;&lt;/span&gt;4. I can create a connection to my local hive installation and create the table with talend: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCrX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156261iCA10520B07C0CDC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCrX.png" alt="0683p000009MCrX.png" /&gt;&lt;/span&gt;This is working good however, the connection mode is embedded: 
&lt;BR /&gt;Using the same connection(!!!), I create another hive table and try to fill it with some data using the tELTHiveOutput_1 component. which fails with the message: 
&lt;BR /&gt; 
&lt;PRE&gt;Total MapReduce jobs = 2&lt;BR /&gt;Launching Job 1 out of 2&lt;BR /&gt;Number of reduce tasks is set to 0 since there's no reduce operator&lt;BR /&gt;java.net.ConnectException: Call to gerdmac/192.168.2.101:50300 failed on connection exception: java.net.ConnectException: Connection refused&lt;/PRE&gt; 
&lt;BR /&gt;Namenode for sure is running: 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MCnH.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129496i100C8D4B376AE5D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MCnH.png" alt="0683p000009MCnH.png" /&gt;&lt;/span&gt;I'm lost. 
&lt;BR /&gt;Gerd</description>
      <pubDate>Wed, 06 Jan 2016 23:51:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hive-java-net-ConnectException-Connection-refused/m-p/2209860#M8509</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-06T23:51:58Z</dc:date>
    </item>
  </channel>
</rss>

