<?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: DB Connection from Impala in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25857#M5411</link>
    <description>&lt;P&gt;Can you confirm in Cloudera Manager that the HDFS service is running and healthy? If the service is marked in any color other than green, there should be a little warning icon that you can click on to get any information about what may be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the service is healthy, can you tell me what happens when you run "hadoop fs -ls /user/examples/sqoop_import_order_items.avsc" from the command line on a machine in your cluster?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2015 22:51:58 GMT</pubDate>
    <dc:creator>Sean</dc:creator>
    <dc:date>2015-03-24T22:51:58Z</dc:date>
    <item>
      <title>DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25851#M5410</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I continued to work through the Cloudera Live tutorial, I am trying to run SELECT statements from Impala. When I try to do this I get the error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AnalysisException: Failed to load metadata for table: default.order_items CAUSED BY: TableLoadingException: Problem reading Avro schema at: hdfs://216.121.84.2/user/examples/sqoop_import_order_items.avsc CAUSED BY: ConnectException: Call From g2316-cldramaster-01/10.103.62.2 to 216.121.84.2:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: &lt;A target="_blank" href="http://wiki.apache.org/hadoop/ConnectionRefused"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt; CAUSED BY: ConnectException: Connection refused&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw a similar post to this but the solution didn't seem to apply to my situation.&amp;nbsp; This occurs in Exercise 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:25:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25851#M5410</guid>
      <dc:creator>Tom F.</dc:creator>
      <dc:date>2022-09-16T09:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25857#M5411</link>
      <description>&lt;P&gt;Can you confirm in Cloudera Manager that the HDFS service is running and healthy? If the service is marked in any color other than green, there should be a little warning icon that you can click on to get any information about what may be wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the service is healthy, can you tell me what happens when you run "hadoop fs -ls /user/examples/sqoop_import_order_items.avsc" from the command line on a machine in your cluster?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2015 22:51:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25857#M5411</guid>
      <dc:creator>Sean</dc:creator>
      <dc:date>2015-03-24T22:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25860#M5412</link>
      <description>&lt;P&gt;Hi Sean,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help. HDFS is 'green' in Cloudera Manager. When I run the Sqoop&amp;nbsp; command you requested&amp;nbsp; I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-rw-r--r--&amp;nbsp;&amp;nbsp; 2 root supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 980 2015-03-22 20:57 /user/examples/sqoop_import_order_items.avsc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still looking too. Would much rather figure this out on my own but I'm really struggling with this one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 04:28:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25860#M5412</guid>
      <dc:creator>Tom F.</dc:creator>
      <dc:date>2015-03-25T04:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25873#M5413</link>
      <description>&lt;P&gt;I too have the same issue when running query in Hive shell or HUE Impala editor, please advise&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your query has the following error(s):&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;P class="queryErrorMessage"&gt;AnalysisException: Failed to load metadata for table: default.order_items CAUSED BY: TableLoadingException: Problem reading Avro schema at: hdfs://216.121.78.162/user/examples/sqoop_import_order_items.avsc CAUSED BY: ConnectException: Call From i8936-cldramaster-01/10.102.231.2 to 216.121.78.162:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: &lt;A target="_blank" href="http://wiki.apache.org/hadoop/ConnectionRefused"&gt;http://wiki.apache.org/hadoop/ConnectionRefused&lt;/A&gt; CAUSED BY: ConnectException: Connection refused&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HDFS is working OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@i8936-cldramaster-01 ~]# hadoop fs -ls /user/examples/sqoop_import_order_items.avsc&lt;BR /&gt;-rw-r--r--&amp;nbsp;&amp;nbsp; 2 root supergroup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 980 2015-03-25 07:08 /user/examples/sqoop_import_order_items.avsc&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 14:41:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25873#M5413</guid>
      <dc:creator>Prajaya</dc:creator>
      <dc:date>2015-03-25T14:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25874#M5414</link>
      <description>&lt;P&gt;Looks just like what I'm getting.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 14:51:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25874#M5414</guid>
      <dc:creator>Tom F.</dc:creator>
      <dc:date>2015-03-25T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25875#M5415</link>
      <description>&lt;P&gt;The problem is with public and private IP addresses: do not use the public but the private in&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;TBLPROPERTIES ('avro.schema.url'='hdfs://10.10.10.10 ....&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:01:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25875#M5415</guid>
      <dc:creator>BSC1</dc:creator>
      <dc:date>2015-03-25T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25877#M5416</link>
      <description>&lt;DIV class="lia-message-body lia-component-body"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Thanks - got that !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For all who have similar issue - pls do following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DROP TABLE IF EXISTS categories;&lt;BR /&gt;DROP TABLE IF EXISTS customers;&lt;BR /&gt;DROP TABLE IF EXISTS departments;&lt;BR /&gt;DROP TABLE IF EXISTS orders;&lt;BR /&gt;DROP TABLE IF EXISTS order_items;&lt;BR /&gt;DROP TABLE IF EXISTS products;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;......then exit your hive shell, and do 'hostname -i'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;replace the IP address to the one you see from above command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should be fine.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:18:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25877#M5416</guid>
      <dc:creator>Prajaya</dc:creator>
      <dc:date>2015-03-25T15:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connection from Impala</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25883#M5417</link>
      <description>&lt;P&gt;Wow. That did it. Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 16:32:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/DB-Connection-from-Impala/m-p/25883#M5417</guid>
      <dc:creator>Tom F.</dc:creator>
      <dc:date>2015-03-25T16:32:11Z</dc:date>
    </item>
  </channel>
</rss>

