You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by bh...@apache.org on 2016/06/17 04:49:13 UTC
ambari git commit: AMBARI-17208: Add logging for the command executed
during PXF service check (bhuvnesh2703)
Repository: ambari
Updated Branches:
refs/heads/trunk fac89e740 -> d35eb2041
AMBARI-17208: Add logging for the command executed during PXF service check (bhuvnesh2703)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d35eb204
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d35eb204
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d35eb204
Branch: refs/heads/trunk
Commit: d35eb2041ac99184b55dbbd33d6e4a0ca9b8c750
Parents: fac89e7
Author: Bhuvnesh Chaudhary <bh...@gmail.com>
Authored: Thu Jun 16 21:52:08 2016 -0700
Committer: Bhuvnesh Chaudhary <bh...@gmail.com>
Committed: Thu Jun 16 21:52:08 2016 -0700
----------------------------------------------------------------------
.../common-services/PXF/3.0.0/package/scripts/service_check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d35eb204/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/service_check.py b/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/service_check.py
index c39a85e..b090e98 100644
--- a/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/PXF/3.0.0/package/scripts/service_check.py
@@ -308,7 +308,7 @@ class PXFServiceCheck(Script):
"""
import params
Logger.info(message)
- hbase_shell_cmd = "{0} hbase shell {1}".format(kinit_cmd, os.path.join(params.exec_tmp_dir, script))
+ hbase_shell_cmd = "{0} cat {1} ; hbase shell {1}".format(kinit_cmd, os.path.join(params.exec_tmp_dir, script))
Execute(hbase_shell_cmd, user=params.hbase_user, logoutput=True)
def __check_pxf_hbase_read(self):