You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ao...@apache.org on 2014/07/23 14:53:26 UTC
git commit: AMBARI-6574. Installer wizard: HDFS service check fails
(aonishuk)
Repository: ambari
Updated Branches:
refs/heads/trunk b459ea865 -> 6a1814f7c
AMBARI-6574. Installer wizard: HDFS service check fails (aonishuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/6a1814f7
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/6a1814f7
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/6a1814f7
Branch: refs/heads/trunk
Commit: 6a1814f7cc3d50a3725e2c1fd4c80a571fb49c27
Parents: b459ea8
Author: Andrew Onishuk <ao...@hortonworks.com>
Authored: Wed Jul 23 15:53:24 2014 +0300
Committer: Andrew Onishuk <ao...@hortonworks.com>
Committed: Wed Jul 23 15:53:24 2014 +0300
----------------------------------------------------------------------
.../HDP/1.3.2/services/HDFS/package/scripts/service_check.py | 2 +-
.../HDP/2.0.6/services/HDFS/package/scripts/service_check.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/6a1814f7/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py
index 1b6ca4f..58da7ec 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/service_check.py
@@ -26,7 +26,7 @@ class HdfsServiceCheck(Script):
env.set_params(params)
unique = functions.get_unique_id_and_date()
- dir = params.tmp_dir
+ dir = '/tmp'
tmp_file = format("{dir}/{unique}")
safemode_command = "dfsadmin -safemode get | grep OFF"
http://git-wip-us.apache.org/repos/asf/ambari/blob/6a1814f7/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py
index e7a4447..66f2ae1 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/service_check.py
@@ -26,7 +26,7 @@ class HdfsServiceCheck(Script):
env.set_params(params)
unique = functions.get_unique_id_and_date()
- dir = params.tmp_dir
+ dir = '/tmp'
tmp_file = format("{dir}/{unique}")
safemode_command = "dfsadmin -safemode get | grep OFF"