You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2015/12/18 00:21:11 UTC

ambari git commit: AMBARI-14422: HAWQ Init fails because of security check

Repository: ambari
Updated Branches:
  refs/heads/trunk d67270f67 -> 17f7b7127


AMBARI-14422: HAWQ Init fails because of security check


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

Branch: refs/heads/trunk
Commit: 17f7b7127abce6d14f06ed53615ccd452ddfa87f
Parents: d67270f
Author: Jun Aoki <ja...@apache.org>
Authored: Thu Dec 17 15:19:57 2015 -0800
Committer: Jun Aoki <ja...@apache.org>
Committed: Thu Dec 17 15:19:57 2015 -0800

----------------------------------------------------------------------
 .../resources/common-services/HAWQ/2.0.0/package/scripts/common.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/17f7b712/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
index 5ca2049..49e86b6 100644
--- a/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
+++ b/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/common.py
@@ -186,7 +186,7 @@ def __update_hawq_site():
     hawq_site_modifiable["enable_secure_filesystem"] = "ON"
     hawq_site_modifiable["krb_server_keyfile"] = hawq_constants.hawq_keytab_file
   else:
-    hawq_site_modifiable["enable_secure_filesystem"] = "OFF"
+    hawq_site_modifiable.pop("enable_secure_filesystem", None) # remove the entry
     hawq_site_modifiable.pop("krb_server_keyfile", None) # remove the entry
 
   XmlConfig("hawq-site.xml",