[[yarn_clusters]]
[[[default]]]
# Enter the host on which you are running the ResourceManager
#resourcemanager_host=maprfs:///
# The port where the ResourceManager IPC listens on
#resourcemanager_port=8032
# Whether to submit jobs to this cluster
#submit_to=True
# Resource Manager logical name (required for HA)
#logical_name=rm1
# Change this if your YARN cluster is Kerberos-secured
## security_enabled=false
# URL of the ResourceManager API
#resourcemanager_api_url=http://hadoop1:8088
# URL of the ProxyServer API
#proxy_api_url=http://hadoop1:8088
# URL of the HistoryServer API
#history_server_api_url=http://hadoop1:19888
# URL of the Spark History Server
## spark_history_server_url=http://localhost:18088
# In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
# have to be verified against certificate authority
## ssl_cert_ca_verify=True
# HA support by specifying multiple clusters.
# Redefine different properties there.
# e.g.
# [[[ha]]]
# Resource Manager logical name (required for HA)
#logical_name=rm2
# Un-comment to enable
#submit_to=True
# URL of the ResourceManager API
#resourcemanager_api_url=http://hadoop2:8088
# URL of the ProxyServer API
#proxy_api_url=http://hadoop2:8088
# URL of the HistoryServer API
#history_server_api_url=http://hadoop2:19888
怎么设置这些参数,取消注释之后hue取法启动,报错如下
Traceback (most recent call last):
File "/opt/hue-3.9.0/build/env/bin/hue", line 9, in <module>
load_entry_point('desktop==3.9.0', 'console_scripts', 'hue')()
File "/opt/hue-3.9.0/desktop/core/src/desktop/manage_entry.py", line 59, in entry
execute_from_command_line(sys.argv)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 261, in fetch_command
commands = get_commands()
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/core/management/__init__.py", line 107, in get_commands
apps = settings.INSTALLED_APPS
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 54, in __getattr__
self._setup(name)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 49, in _setup
self._wrapped = Settings(settings_module)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/conf/__init__.py", line 128, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/opt/hue-3.9.0/desktop/core/src/desktop/settings.py", line 250, in <module>
conf.initialize(_desktop_conf_modules, _config_dir)
File "/opt/hue-3.9.0/desktop/core/src/desktop/lib/conf.py", line 591, in initialize
conf_data = load_confs(_configs_from_dir(config_dir))
File "/opt/hue-3.9.0/desktop/core/src/desktop/lib/conf.py", line 523, in load_confs
for in_conf in conf_source:
File "/opt/hue-3.9.0/desktop/core/src/desktop/lib/conf.py", line 504, in _configs_from_dir
conf = configobj.ConfigObj(os.path.join(conf_dir, filename))
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/configobj-4.6.0-py2.7.egg/configobj.py", line 1219, in __init__
self._load(infile, configspec)
File "/opt/hue-3.9.0/build/env/lib/python2.7/site-packages/configobj-4.6.0-py2.7.egg/configobj.py", line 1302, in _load
raise error
configobj.ConfigObjError: Parsing failed with several errors.
First error at line 906.
求大神解答
|