You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by dm...@apache.org on 2014/01/14 22:14:21 UTC
git commit: AMBARI-4264. HDFS client python scripts has no status()
method (dlisnichenko)
Updated Branches:
refs/heads/trunk e192cc384 -> 9886890e3
AMBARI-4264. HDFS client python scripts has no status() method (dlisnichenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9886890e
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9886890e
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9886890e
Branch: refs/heads/trunk
Commit: 9886890e31a5fee68993057655dc4bea079e427a
Parents: e192cc3
Author: Lisnichenko Dmitro <dl...@hortonworks.com>
Authored: Tue Jan 14 23:13:30 2014 +0200
Committer: Lisnichenko Dmitro <dl...@hortonworks.com>
Committed: Tue Jan 14 23:13:30 2014 +0200
----------------------------------------------------------------------
.../stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py | 3 +++
.../stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py | 3 +++
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/9886890e/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py b/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py
index 6babde5..ec24c7d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py
+++ b/ambari-server/src/main/resources/stacks/HDP/1.3.4/services/HDFS/package/scripts/hdfs_client.py
@@ -39,6 +39,9 @@ class HdfsClient(Script):
env.set_params(params)
+ def status(self, env):
+ raise ClientComponentHasNoStatus()
+
def config(self, env):
import params
http://git-wip-us.apache.org/repos/asf/ambari/blob/9886890e/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
index 6babde5..ec24c7d 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.8/services/HDFS/package/scripts/hdfs_client.py
@@ -39,6 +39,9 @@ class HdfsClient(Script):
env.set_params(params)
+ def status(self, env):
+ raise ClientComponentHasNoStatus()
+
def config(self, env):
import params