<?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 Hue cannot access database, Failed to access filesystem root in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40318#M19530</link>
    <description>&lt;P&gt;I have installed a HUE on my mac but after I open the HUE and found couple confirguration problem. Anyone can help on these? Thx.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;hadoop.hdfs_clusters.default.webhdfs_url&lt;/TD&gt;&lt;TD&gt;Current value: &lt;A href="http://localhost:50070/webhdfs/v1" target="_blank"&gt;http://localhost:50070/webhdfs/v1&lt;/A&gt;&lt;BR /&gt;Failed to access filesystem root&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Resource Manager&lt;/TD&gt;&lt;TD&gt;Failed to contact an active Resource Manager: ('Connection aborted.', error(61, 'Connection refused'))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;desktop.secret_key&lt;/TD&gt;&lt;TD&gt;Current value:&lt;BR /&gt;Secret key should be configured as a random string. All sessions will be lost on restart&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SQLITE_NOT_FOR_PRODUCTION_USE&lt;/TD&gt;&lt;TD&gt;SQLite is only recommended for small development environments with a few users.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hive&lt;/TD&gt;&lt;TD&gt;Failed to access Hive warehouse: /user/hive/warehouse&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HBase Browser&lt;/TD&gt;&lt;TD&gt;The application won't work without a running HBase Thrift Server v1.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Impala&lt;/TD&gt;&lt;TD&gt;No available Impalad to send queries to.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Oozie Editor/Dashboard&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Oozie server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pig Editor&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Oozie server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Spark&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Livy Spark Server&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
    <pubDate>Fri, 16 Sep 2022 10:16:10 GMT</pubDate>
    <dc:creator>Vivian</dc:creator>
    <dc:date>2022-09-16T10:16:10Z</dc:date>
    <item>
      <title>Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40318#M19530</link>
      <description>&lt;P&gt;I have installed a HUE on my mac but after I open the HUE and found couple confirguration problem. Anyone can help on these? Thx.&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;hadoop.hdfs_clusters.default.webhdfs_url&lt;/TD&gt;&lt;TD&gt;Current value: &lt;A href="http://localhost:50070/webhdfs/v1" target="_blank"&gt;http://localhost:50070/webhdfs/v1&lt;/A&gt;&lt;BR /&gt;Failed to access filesystem root&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Resource Manager&lt;/TD&gt;&lt;TD&gt;Failed to contact an active Resource Manager: ('Connection aborted.', error(61, 'Connection refused'))&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;desktop.secret_key&lt;/TD&gt;&lt;TD&gt;Current value:&lt;BR /&gt;Secret key should be configured as a random string. All sessions will be lost on restart&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;SQLITE_NOT_FOR_PRODUCTION_USE&lt;/TD&gt;&lt;TD&gt;SQLite is only recommended for small development environments with a few users.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Hive&lt;/TD&gt;&lt;TD&gt;Failed to access Hive warehouse: /user/hive/warehouse&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HBase Browser&lt;/TD&gt;&lt;TD&gt;The application won't work without a running HBase Thrift Server v1.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Impala&lt;/TD&gt;&lt;TD&gt;No available Impalad to send queries to.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Oozie Editor/Dashboard&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Oozie server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Pig Editor&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Oozie server&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Spark&lt;/TD&gt;&lt;TD&gt;The app won't work without a running Livy Spark Server&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:16:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40318#M19530</guid>
      <dc:creator>Vivian</dc:creator>
      <dc:date>2022-09-16T10:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40578#M19531</link>
      <description>I m facing the same problem. Did you had any progress?</description>
      <pubDate>Sun, 08 May 2016 12:14:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40578#M19531</guid>
      <dc:creator>Spyros</dc:creator>
      <dc:date>2016-05-08T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40630#M19532</link>
      <description>You will need to put the address of the services in hue.ini, that way Hue&lt;BR /&gt;can communicate with them&lt;BR /&gt;&lt;A href="http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/" target="_blank"&gt;http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2016 16:19:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40630#M19532</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-05-09T16:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40635#M19533</link>
      <description>Did you configure hue.ini to points to the services?&lt;BR /&gt;&lt;A href="http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/" target="_blank"&gt;http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2016 16:54:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40635#M19533</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2016-05-09T16:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40839#M19534</link>
      <description>&lt;P&gt;i did the configuration steps , but nothing changed....&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2016 11:55:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/40839#M19534</guid>
      <dc:creator>Spyros</dc:creator>
      <dc:date>2016-05-15T11:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/50079#M19535</link>
      <description>&lt;P&gt;Is WebHdfs configured? e.g. &lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_cdh_hue_configure.html#topic_15_4_1" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_cdh_hue_configure.html#topic_15_4_1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 15:23:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/50079#M19535</guid>
      <dc:creator>Romainr</dc:creator>
      <dc:date>2017-01-27T15:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/51958#M19536</link>
      <description>&lt;P&gt;Hi,&lt;SPAN class=""&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16246" target="_self"&gt;Vivian&lt;/A&gt;,My friend, your problem solved? I have not solved yet. Help me! Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:16:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/51958#M19536</guid>
      <dc:creator>balance002</dc:creator>
      <dc:date>2017-03-09T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/51959#M19537</link>
      <description>&lt;P&gt;Hi,&lt;SPAN class=""&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/181" target="_self"&gt;Romainr&lt;/A&gt;,your problem solved? I have not solved yet. Help me! Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 09:18:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/51959#M19537</guid>
      <dc:creator>balance002</dc:creator>
      <dc:date>2017-03-09T09:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/52017#M19538</link>
      <description>&lt;P&gt;Hi,&lt;SPAN class=""&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16246" target="_self"&gt;Vivian&lt;/A&gt;&amp;nbsp; ,Please help me, thank you! This question bothers me for 3 days!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 02:44:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/52017#M19538</guid>
      <dc:creator>balance002</dc:creator>
      <dc:date>2017-03-10T02:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/58328#M19539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16376"&gt;@Spyros&lt;/a&gt;, &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20659"&gt;@balance002&lt;/a&gt;, &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/16246"&gt;@Vivian&lt;/a&gt;, &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/181"&gt;@Romainr&lt;/a&gt;, I have been having the same problems and have finally now arrived at a solution which I thought I should share here:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;My setup&lt;/STRONG&gt;: I have Hadoop/HDFS/Yarn running in one docker container and Hue running in a separate docker container (both on the same machine). However, the following should work with any other setup as well, e.g. if you have Hadoop and Hue installed in one container or installed directly on your machine. It is important, however, that you have a running instance of Hadoop/HDFS.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 1: Configuration of your HDFS instance&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Add the following property to hdfs-site.xml (in my installation located in /usr/local/hadoop/etc/hadoop/hdfs-site.xml):&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;dfs.webhdfs.enabled&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Add the following properties to core-site.xml (in my installation located in /usr/local/hadoop/etc/hadoop/core-site.xml):&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.proxyuser.hue.hosts&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;
&amp;lt;property&amp;gt;
  &amp;lt;name&amp;gt;hadoop.proxyuser.hue.groups&amp;lt;/name&amp;gt;
  &amp;lt;value&amp;gt;*&amp;lt;/value&amp;gt;
&amp;lt;/property&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;Restart HDFS and Yarn:&lt;/EM&gt;&lt;BR /&gt;cd to the bin directory where the start/stop scripts are located (in my case it's /usr/local/hadoop/sbin/) and call:&lt;/P&gt;&lt;PRE&gt;./stop-yarn.sh &amp;amp; ./stop-dfs.sh
./start-dfs.sh  &amp;amp; ./start-yarn.sh&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 2: Add new directory and adjust access rights in HDFS&lt;/STRONG&gt;&lt;BR /&gt;Prerequisite: You can call the hdfs command directly on your HDFS host. If not, add the directory containing the respective binary to your PATH (on my machine: /usr/local/hadoop/bin).&lt;BR /&gt;&lt;BR /&gt;First, change the owner of / to hdfs:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -chown hdfs:hdfs /&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Then create a dir for the user &lt;EM&gt;hdfs&lt;/EM&gt; (This user is used by Hue. It can be configured in the hue.ini via default_hdfs_superuser) and adjust ownership:&lt;/P&gt;&lt;PRE&gt;hdfs dfs -mkdir /user/hdfs
hdfs dfs -chown hdfs:hdfs /user/hdfs&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 3: Configuration of your Hue instance&lt;/STRONG&gt;&lt;BR /&gt;Find your hui.ini (instructions here: &lt;A href="http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/" target="_blank"&gt;http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/&lt;/A&gt;), in my case it's /hue/desktop/conf/pseudo-distributed.ini.&lt;BR /&gt;Find the line&lt;/P&gt;&lt;PRE&gt;webhdfs_url=http://localhost:50070/webhdfs/v1&lt;/PRE&gt;&lt;P&gt;and uncomment it, in case it is commented out. Then, if your HDFS instance is not running in the same container or host, change localhost to the IP adress of where your HDFS instance is running.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Step 4 (only if Hue and HDFS are not on the same container/host): Add HDFS host to /etc/hosts&lt;/STRONG&gt;&lt;BR /&gt;This step depends on your setup: If you have Hue and HDFS running in two containers, you need to link them, i.e. when calling &lt;EM&gt;docker run&lt;/EM&gt; on your Hue container, add the following parameters (I know that --link is deprecated, but it works and is easier to explain):&lt;/P&gt;&lt;PRE&gt;--link &amp;lt;HDFS-container-ID&amp;gt;:&amp;lt;HDFS-container-ID/Hostname&amp;gt;&lt;/PRE&gt;&lt;P&gt;If you are not using containers, simply add the following line to the /etc/hosts file of your Hue host:&lt;/P&gt;&lt;PRE&gt;&amp;lt;IP of HDFS host&amp;gt;  &amp;lt;hostname of HDFS host&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Here is why you need this: Hue will first adress the HDFS host via its IP (as you configured it in hue.ini). However, it will later on, for some requests, use the hostname instead of the IP, which can only be resolved by the Hue host if it's in the /etc/hosts file.&lt;BR /&gt;&lt;BR /&gt;Then restart Hue (in my case I simply stop and start the container) and your done &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 08:36:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/58328#M19539</guid>
      <dc:creator>bnwe</dc:creator>
      <dc:date>2017-08-02T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Hue cannot access database, Failed to access filesystem root</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/87849#M19540</link>
      <description>&lt;P&gt;If you have HA in your cluster, make sure the setting of&amp;nbsp;&lt;U&gt;webhdfs_url&lt;/U&gt; in Hue is pointing to the&amp;nbsp;&lt;STRONG&gt;ACTIVE&lt;/STRONG&gt; NameNode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can find&amp;nbsp;webhdfs_url in: (xxx is some digitals for you current run of Hue)&lt;/P&gt;&lt;P&gt;/run/cloudera-scm-agent/process/xxx-hue-HUE_SERVER/hue.ini&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And you can find the active NameNode in: (xx is some digitals for you cluster)&lt;/P&gt;&lt;P&gt;&lt;A href="http://your.cloudera.manager.host:7180/cmf/services/xx/instances" target="_blank" rel="noopener"&gt;http://your.cloudera.manager.host:7180/cmf/services/xx/instances&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or, maybe you've missed something after the HA, check below&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_hag_hdfs_ha_cdh_components_config.html#concept_rj1_hsq_bp" target="_blank"&gt;https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_hag_hdfs_ha_cdh_components_config.html#concept_rj1_hsq_bp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 20:36:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hue-cannot-access-database-Failed-to-access-filesystem-root/m-p/87849#M19540</guid>
      <dc:creator>beenryuu</dc:creator>
      <dc:date>2019-03-14T20:36:02Z</dc:date>
    </item>
  </channel>
</rss>

