<?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 How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94454#M57871</link>
    <description />
    <pubDate>Tue, 29 Sep 2015 08:20:30 GMT</pubDate>
    <dc:creator>pardeep_kumar</dc:creator>
    <dc:date>2015-09-29T08:20:30Z</dc:date>
    <item>
      <title>How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94454#M57871</link>
      <description />
      <pubDate>Tue, 29 Sep 2015 08:20:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94454#M57871</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2015-09-29T08:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94455#M57872</link>
      <description>&lt;P&gt;Namenode HA: Needs installation of httpfs:&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hadoop-ha/content/ha-nn-deploy-hue.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hadoop-ha/content/ha-nn-deploy-hue.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However in my installation was a bug that httpfs install would not create the /etc/init.d/httpfs scripts so I manually had to link the folder from the httpfs installation directory. After that it worked.&lt;/P&gt;&lt;P&gt;ResourceManager is pretty straight forward, it is written in the hue config. &lt;/P&gt;&lt;P&gt;HiveServer2 HA: Not sure I would suppose Hive2 over http and an load balancer like HA proxy ( that would also be the way for oozie, ( see the answer to the oozie ha configuration question. ) &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 09:17:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94455#M57872</guid>
      <dc:creator>bleonhardi</dc:creator>
      <dc:date>2015-09-29T09:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94456#M57873</link>
      <description>&lt;P&gt;This is taken from internal notes/wiki&lt;/P&gt;&lt;P&gt;Install hadoop-httpfs on the same node as hue (specific to my
situation) httpfs will inherit most configuration form Hadoop's
default config directory, so, as long as this is on a client host, it
will find everything fine.

 In HDFS's core-site.xml add entries for
hadoop.proxyuser.httpfs.{groups,hosts}  (*)
Restart HDFS

In /etc/hue/conf/hue.ini, set&lt;/P&gt;&lt;P&gt;webhdfs_url = &lt;A href="http://&amp;lt;httpfshost&amp;gt;:14000/webhdfs/v1/" target="_blank"&gt;http://&amp;lt;httpfshost&amp;gt;:14000/webhdfs/v1/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;fs_defaultfs =  hdfs://&amp;lt;NN HA cluster name&amp;gt;

Restart httpfs/hue.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 23:36:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94456#M57873</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-09-29T23:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94457#M57874</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I followed the same steps and restarted httpfs and hue services but when I try to access hue filebrowser it is throwing exceptions. The only difference in this environment is hue is running on https and cluster is kerberized but not sure if it makes any difference. Can you please let me know how to trouble shoot this issue?&lt;/P&gt;&lt;H1&gt;WebHdfsException at /filebrowser/&lt;/H1&gt;&lt;PRE&gt;StandbyException: Operation category READ is not supported in state standby (error 403)&lt;/PRE&gt;
&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH&gt;Request Method:&lt;/TH&gt;&lt;TD&gt;GET&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;Request URL:&lt;/TH&gt;&lt;TD&gt;&lt;A href="https://falbdcdd0001v:8000/filebrowser/" target="_blank"&gt;https://falbdcdd0001v:8000/filebrowser/&lt;/A&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;Django Version:&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;Exception Type:&lt;/TH&gt;&lt;TD&gt;WebHdfsException&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH&gt;Exception Value:&lt;/TH&gt;&lt;TD&gt;&lt;PRE&gt;StandbyException: Operation category READ is not supported in state standby (error 403)&lt;/PRE&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;
&lt;TH&gt;Exception Location:&lt;/TH&gt;&lt;TD&gt;/usr/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py in _stats, line 205&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;
&lt;TH&gt;Python Executable:&lt;/TH&gt;&lt;TD&gt;/usr/bin/python2.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;
&lt;TH&gt;Python Version:&lt;/TH&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 12 Feb 2016 00:12:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94457#M57874</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-02-12T00:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94458#M57875</link>
      <description>&lt;P&gt;I followed the same steps on another cluster where we dont have hue https and kerberos and it is working as expected there. So i think there is a problem with either https and/or kerberos settings.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 00:40:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94458#M57875</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2016-02-12T00:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Hue to work with Namenode HA, Resource Manager HA and Hive Server2 HA?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94459#M57876</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/392/rbalam.html" nodeid="392"&gt;@rbalam&lt;/A&gt; Look at Benjamin comments.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 00:50:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-configure-Hue-to-work-with-Namenode-HA-Resource/m-p/94459#M57876</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-12T00:50:48Z</dc:date>
    </item>
  </channel>
</rss>

