Repository: ambari
Updated Branches:
  refs/heads/branch-2.1 4af321fcf -> 115e0546e
  refs/heads/trunk 53878959a -> 950f732bc


AMBARI-13097. On non-hdfs clusters namenode fails to start (aonishuk)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/950f732b
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/950f732b
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/950f732b

Branch: refs/heads/trunk
Commit: 950f732bc5c84e9d65f6d4f1214a7239dd903d97
Parents: 5387895
Author: Andrew Onishuk <[email protected]>
Authored: Tue Sep 15 12:21:02 2015 +0300
Committer: Andrew Onishuk <[email protected]>
Committed: Tue Sep 15 12:21:02 2015 +0300

----------------------------------------------------------------------
 .../resource_management/libraries/providers/hdfs_resource.py       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/950f732b/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
----------------------------------------------------------------------
diff --git 
a/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
 
b/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
index ea3acdf..3436b97 100644
--- 
a/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
+++ 
b/ambari-common/src/main/python/resource_management/libraries/providers/hdfs_resource.py
@@ -37,7 +37,7 @@ from resource_management.libraries.functions import 
namenode_ha_utils
 import ambari_simplejson as json # simplejson is much faster comparing to 
Python 2.6 json module and has the same functions set.
 import subprocess
 
-JSON_PATH = '/var/lib/ambari-agent/data/hdfs_resources.json'
+JSON_PATH = '/var/lib/ambari-agent/tmp/hdfs_resources.json'
 JAR_PATH = '/var/lib/ambari-agent/lib/fast-hdfs-resource.jar'
 
 RESOURCE_TO_JSON_FIELDS = {

Reply via email to