2017-07-11 330 views
0

雖然從Ambari啓動資源管理器其沒有工作,例如App時間軸服務器,節點管理器和紗的客戶服務已經開始ňNodeManagers的狀態是資源管理器沒有啓動

Status n/a 
active/n/a 
lost/n/a 
unhealthy/n/a 
rebooted/n/a 
decommissioned 


Traceback (most recent call last): 
    File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 304, in <module> 
    Resourcemanager().execute() 
    File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 314, in execute 
    method(env) 
    File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 124, in start 
    self.wait_for_dfs_directories_created(params.entity_groupfs_store_dir, params.entity_groupfs_active_dir) 
    File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 261, in wait_for_dfs_directories_created 
    self.wait_for_dfs_directory_created(dir_path, ignored_dfs_dirs) 
    File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py", line 55, in wrapper 
    return function(*args, **kwargs) 
    File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py", line 291, in wait_for_dfs_directory_created 
    raise Fail("DFS directory '" + dir_path + "' does not exist !") 
resource_management.core.exceptions.Fail: DFS directory '/ats/done/' does not exist ! 

回答

0

服務啓動腳本正在尋找hdfs路徑/ats/done,請檢查此路徑是否存在正確的所有權和權限,如下所示。

[[email protected] ~]$ hdfs dfs -ls/| grep ats 
drwxr-xr-x - yarn hadoop   0 2017-03-27 15:12 /ats 

[[email protected] ~]$ hdfs dfs -ls /ats | grep done 
drwx------ - yarn hadoop   0 2017-06-19 08:33 /ats/done 
+0

非常感謝你我做了所有的目錄,現在開始工作 –

相關問題