ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [05/13] ambari git commit: AMBARI-18828: Ensure HAWQ -PXF service check uses a tmp directory (mithmatt)
Date Wed, 09 Nov 2016 21:50:02 GMT
AMBARI-18828: Ensure HAWQ -PXF service check uses a tmp directory (mithmatt)


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

Branch: refs/heads/branch-feature-AMBARI-18634
Commit: dbeb78d5d54f11e0277948f80279eeba5cc13f5a
Parents: cea8602
Author: Matt <mmathew@pivotal.io>
Authored: Tue Nov 8 15:27:52 2016 -0800
Committer: Matt <mmathew@pivotal.io>
Committed: Tue Nov 8 15:27:52 2016 -0800

----------------------------------------------------------------------
 .../common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py   | 2 +-
 .../common-services/HAWQ/2.0.0/package/scripts/service_check.py    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/dbeb78d5/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
index 3ced8d1..ade7acd 100644
--- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
+++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawq_constants.py
@@ -63,7 +63,7 @@ hawq_keytab_file = "/etc/security/keytabs/hawq.service.keytab"
 
 # HAWQ-PXF check params
 PXF_PORT = "51200"
-pxf_hdfs_test_dir = "/user/{0}/hawq_pxf_hdfs_service_check".format(hawq_user)
+pxf_hdfs_test_dir = "/tmp/hawq_pxf_hdfs_service_check"
 
 # Timeouts
 default_exec_timeout = 600

http://git-wip-us.apache.org/repos/asf/ambari/blob/dbeb78d5/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
index 6e7ea0f..e0796d8 100644
--- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
+++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/service_check.py
@@ -164,6 +164,7 @@ class HAWQServiceCheck(Script):
     params.HdfsResource(hawq_constants.pxf_hdfs_test_dir,
                         type="directory",
                         action="delete_on_execute")
+    params.HdfsResource(None, action="execute")
 
 
 if __name__ == "__main__":


Mime
View raw message