Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 8a3b788c5 -> 8c44cd93c


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/8c44cd93
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8c44cd93
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8c44cd93

Branch: refs/heads/branch-2.4
Commit: 8c44cd93cbbda738551f2f2ce945a123c0c57d13
Parents: 8a3b788
Author: Bhuvnesh Chaudhary <[email protected]>
Authored: Thu Jun 16 21:52:38 2016 -0700
Committer: Bhuvnesh Chaudhary <[email protected]>
Committed: Thu Jun 16 21:52:38 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/8c44cd93/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):

Reply via email to