Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Solved
Go to solution
Getting Error while starting HUE services
Labels:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Team ,
I have installed HUE using the below steps .
https://github.com/steven-dfheinz/HDP2-Hue4-Service.
I was able to install HUE successfully ,but it fails to start . below is the error i am getting .
Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/HUE/4.6.0/package/scripts/hue_server.py", line 76, in <module> HueServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/HUE/4.6.0/package/scripts/hue_server.py", line 26, in start import params File "/var/lib/ambari-agent/cache/common-services/HUE/4.6.0/package/scripts/params.py", line 194, in <module> webhdfs_url = format('http://' + dfs_namenode_http_address + '/webhdfs/v1') File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__ raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") resource_management.core.exceptions.Fail: Configuration parameter 'dfs.namenode.http-address' was not found in configurations dictionary!
Any help would be appreciated .
Regards Bharad
Changes required for Hue 4.6.0 install in HDP 2.x. Contribute to steven-matison/HDP2-Hue4-Service development by creating an account on GitHub.
1 ACCEPTED SOLUTION
Super Guru
Created on ‎04-08-2020 12:47 PM - edited ‎04-08-2020 12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change the line 193 below and try to start again.
File:/var/lib/ambari-agent/cache/common-services/HUE/4.6.0/package/scripts/params.py
dfs_namenode_http_address = config['configurations']['hdfs-site']['dfs.namenode.http-address']
to
dfs_namenode_http_address = 'localhost'
That will give dfs_namenode_http_address a value and get past the error.
1 REPLY 1
Super Guru
Created on ‎04-08-2020 12:47 PM - edited ‎04-08-2020 12:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change the line 193 below and try to start again.
File:/var/lib/ambari-agent/cache/common-services/HUE/4.6.0/package/scripts/params.py
dfs_namenode_http_address = config['configurations']['hdfs-site']['dfs.namenode.http-address']
to
dfs_namenode_http_address = 'localhost'
That will give dfs_namenode_http_address a value and get past the error.
