<?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: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172315#M134608</link>
    <description>&lt;P&gt;I'm seeing the below lines on the host where Hive and Hawq segment is installed under the segment logs in pg_log:&lt;/P&gt;&lt;P&gt;2017-02-13 21:56:39.098974 IST,,,p572743,th-427955904,,,,0,,,seg-10000,,,,,"LOG","00000","Resource manager discovered local host IPv4 address 127.0.0.1",,,,,,,0,,"network_utils.c",210,
2017-02-13 21:56:39.099010 IST,,,p572743,th-427955904,,,,0,,,seg-10000,,,,,"LOG","00000","Resource manager discovered local host IPv4 address 10.131.137.16",,,,,,,0,,"network_utils.c",210,&lt;/P&gt;&lt;P&gt;I'm wondering why is it showing 127.0.0.1&lt;/P&gt;&lt;P&gt;Thoughts anyone?&lt;/P&gt;</description>
    <pubDate>Tue, 14 Feb 2017 00:28:24 GMT</pubDate>
    <dc:creator>shikhar_agarwal</dc:creator>
    <dc:date>2017-02-14T00:28:24Z</dc:date>
    <item>
      <title>Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172314#M134607</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm getting the below error when trying to read data from a Hive table in Hawq using pxf:&lt;/P&gt;&lt;P&gt;PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878)&lt;/P&gt;&lt;P&gt;Please note tat I've installed pxf-service on all the nodes successfully and verified that the the pxf service is running on the hosts on port 51200.&lt;/P&gt;&lt;P&gt;Please suggest what could be the possible reason for this error.&lt;/P&gt;&lt;P&gt;gpadmin=# select count(*) from hcatalog.default.sample_07; &lt;/P&gt;&lt;P&gt;ERROR:  remote component error (404) from &lt;/P&gt;&lt;P&gt;'10.131.137.16:51200': PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878)
LINE 1: select count(*) from hcatalog.default.sample_07; &lt;/P&gt;&lt;P&gt; gpadmin=# select * from hcatalog.default.sample_07 limit 1; &lt;/P&gt;&lt;P&gt;ERROR:  remote component error (404) from '10.131.137.16:51200': PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878)
LINE 1: select * from hcatalog.default.sample_07 limit 1;&lt;/P&gt;&lt;P&gt;I checked that the pxf service is running on all the hosts as below:&lt;/P&gt;&lt;P&gt;Last login: Mon Feb 13 18:08:53 2017 from in-cppy5z1.in.kronos.com &lt;/P&gt;&lt;P&gt;[root@kvs-in-hadoop04 ~]# netstat -anp | grep 51200 &lt;/P&gt;&lt;P&gt;tcp6       0      0 :::51200                :::*                    LISTEN      519018/java &lt;/P&gt;&lt;P&gt;[root@kvs-in-hadoop04 ~]# ps -ef | grep 519018 &lt;/P&gt;&lt;P&gt;pxf      519018      1  0 15:57 ?        00:00:31 /usr/jdk64/jdk1.8.0_77/bin/java -Djava.util.logging.config.file=/var/pxf/pxf-service/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Xmx512M -Xss256K -Djava.endorsed.dirs=/var/pxf/pxf-service/endorsed -classpath /var/pxf/pxf-service/bin/bootstrap.jar:/var/pxf/pxf-service/bin/tomcat-juli.jar -Dcatalina.base=/var/pxf/pxf-service -Dcatalina.home=/var/pxf/pxf-service -Djava.io.tmpdir=/var/pxf/pxf-service/temp org.apache.catalina.startup.Bootstrap start
root     662021 661908  0 20:41 pts/0    00:00:00 grep --color=auto 519018&lt;/P&gt;&lt;P&gt;I'm also attaching the segment log files from the host where Hive is installed.&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/12421-hawq-2017-02-13-170046.txt"&gt;hawq-2017-02-13-170046.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12353/njayakumar.html"&gt;@njayakumar&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/11288/gkeys.html" nodeid="11288"&gt;@Greg Keys&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/3595/gbrahmi.html" nodeid="3595"&gt;@Gagan Brahmi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 22:48:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172314#M134607</guid>
      <dc:creator>shikhar_agarwal</dc:creator>
      <dc:date>2017-02-13T22:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172315#M134608</link>
      <description>&lt;P&gt;I'm seeing the below lines on the host where Hive and Hawq segment is installed under the segment logs in pg_log:&lt;/P&gt;&lt;P&gt;2017-02-13 21:56:39.098974 IST,,,p572743,th-427955904,,,,0,,,seg-10000,,,,,"LOG","00000","Resource manager discovered local host IPv4 address 127.0.0.1",,,,,,,0,,"network_utils.c",210,
2017-02-13 21:56:39.099010 IST,,,p572743,th-427955904,,,,0,,,seg-10000,,,,,"LOG","00000","Resource manager discovered local host IPv4 address 10.131.137.16",,,,,,,0,,"network_utils.c",210,&lt;/P&gt;&lt;P&gt;I'm wondering why is it showing 127.0.0.1&lt;/P&gt;&lt;P&gt;Thoughts anyone?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 00:28:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172315#M134608</guid>
      <dc:creator>shikhar_agarwal</dc:creator>
      <dc:date>2017-02-14T00:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172316#M134609</link>
      <description>&lt;P&gt;Hi Shikhar , &lt;/P&gt;&lt;P&gt;Can you confirm the below &lt;/P&gt;&lt;P&gt;1.Are you able to query a normal pxf table (other than hctalog or hive one ) .You can create an external table in hdfs&lt;/P&gt;&lt;P&gt;2.Please stop the pxf services in all the nodes and kill if there are any orphan processes to the 51200 port .We need to see why the tomcat server is not spawning up .&lt;/P&gt;&lt;P&gt;3.Once you clear all the processes start pxf services in all the nodes and query the table back .&lt;/P&gt;&lt;P&gt;4.Please make sure you have installed hive-clients in all the pxf nodes to access hive data .&lt;/P&gt;&lt;P&gt;5.Also see whether you need to set pxf_service_address point to the hive metstore&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 00:39:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172316#M134609</guid>
      <dc:creator>pratheeshnair37</dc:creator>
      <dc:date>2017-02-14T00:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172317#M134610</link>
      <description>&lt;P&gt;&amp;gt; 5.Also see whether you need to set pxf_service_address point to the hive metstore&lt;/P&gt;&lt;P&gt;Shouldn't this be pointed at the namenode host:port or namenode host:51200?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 05:23:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172317#M134610</guid>
      <dc:creator>kdunn926</dc:creator>
      <dc:date>2017-02-14T05:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172318#M134611</link>
      <description>&lt;LI&gt;If necessary, set the &lt;CODE&gt;pxf_service_address&lt;/CODE&gt; global 
configuration property to a hostname or IP address and port where you 
have installed the PXF Hive plug-in. By default, the value is set to &lt;CODE&gt;localhost:51200&lt;/CODE&gt;.
&lt;PRE&gt;&lt;CODE&gt;SET pxf_service_address TO "hivenode:51200"
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;</description>
      <pubDate>Tue, 14 Feb 2017 06:09:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172318#M134611</guid>
      <dc:creator>pratheeshnair37</dc:creator>
      <dc:date>2017-02-14T06:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172319#M134612</link>
      <description>&lt;P&gt;Hi Prathneesh,&lt;/P&gt;&lt;P&gt;Thanks for your help&lt;/P&gt;&lt;P&gt;Please find my responses below:&lt;/P&gt;&lt;P&gt;1) Yes able to query a normal external table created using a HDFS file&lt;/P&gt;&lt;P&gt;2) Checked and killed all pxf processes on all servers. Ambari showed PXF agents as down, then restarted all the PXF agents via ambari.&lt;/P&gt;&lt;P&gt;3) Done, same error repeated&lt;/P&gt;&lt;P&gt;4) Yes a total of 11 PXF and 11 Hive clients installed on all the nodes.&lt;/P&gt;&lt;P&gt;5) pxf_service_address is set to hivenode:51200 and also hcatalog_enable=true. Both these properties set under custom hawq-site.xml. &lt;/P&gt;&lt;P&gt;I've followed all the above steps but not able to get past the error.&lt;/P&gt;&lt;P&gt;Any suggestions/ pointers are welcomed.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shikhar&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 09:54:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172319#M134612</guid>
      <dc:creator>shikhar_agarwal</dc:creator>
      <dc:date>2017-02-14T09:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172320#M134613</link>
      <description>&lt;P&gt;Try removing /var/pxf, then run "service pxf-service init" on every HAWQ/PXF host&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 12:43:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172320#M134613</guid>
      <dc:creator>kdunn926</dc:creator>
      <dc:date>2017-02-14T12:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172321#M134614</link>
      <description>&lt;P&gt;Hi Kyle,&lt;/P&gt;&lt;P&gt;This worked for me!&lt;/P&gt;&lt;P&gt;But could you please throw some light on how did you get to this solution and what was the actual issue.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shikhar&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 22:27:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172321#M134614</guid>
      <dc:creator>shikhar_agarwal</dc:creator>
      <dc:date>2017-02-14T22:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172322#M134615</link>
      <description>&lt;P&gt;Shikhar - I actually experienced the exact same issue - for me it was due to an incomplete PXF upgrade. Initially I noticed (on my system) the PXF RPMs were at a different build version than HAWQ was - this was the first thing I fixed. I then explored a number of dead ends, ultimately noticing the timestamps of the files in /var/pxf could not possibly be the correct ones, given when I upgraded HAWQ to a newer version. After I confirmed these files were created at runtime, I removed the entire directory and re-ran the "service pxf-service init", which re-created that folder and nested files from the correct RPM version. After doing that, all was well in PXF land. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 00:46:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172322#M134615</guid>
      <dc:creator>kdunn926</dc:creator>
      <dc:date>2017-02-15T00:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting this Error : PXF service could not be reached. PXF is not running in the tomcat container (libchurl.c:878) when trying to read data from Hive table in Hawq through PXF</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172323#M134616</link>
      <description>&lt;P&gt;Hello! I also encountered a similar problem with you, I would like to ask you, how did you finally solve it? Thank you very much!&lt;/P&gt;&lt;P&gt;,,&lt;/P&gt;</description>
      <pubDate>Sun, 11 Nov 2018 04:34:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Getting-this-Error-PXF-service-could-not-be-reached-PXF-is/m-p/172323#M134616</guid>
      <dc:creator>yishijinghao</dc:creator>
      <dc:date>2018-11-11T04:34:54Z</dc:date>
    </item>
  </channel>
</rss>

