ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nc...@apache.org
Subject [47/50] [abbrv] ambari git commit: AMBARI-22492. A bad WebHDFS request is issued when starting Hive Metastore addendum (amagyar)
Date Thu, 07 Dec 2017 16:40:38 GMT
AMBARI-22492. A bad WebHDFS request is issued when starting Hive Metastore addendum (amagyar)


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

Branch: refs/heads/branch-feature-AMBARI-21674
Commit: 825b97c50ab124a962c731ba0c4113a1b912aaff
Parents: fcc92aa
Author: Attila Magyar <amagyar@hortonworks.com>
Authored: Thu Dec 7 11:34:43 2017 +0100
Committer: Attila Magyar <amagyar@hortonworks.com>
Committed: Thu Dec 7 11:34:43 2017 +0100

----------------------------------------------------------------------
 .../common-services/HIVE/0.12.0.2.0/package/scripts/hive.py      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/825b97c5/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
index 2d5d703..0f4a88a 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
@@ -256,7 +256,7 @@ def setup_hiveserver2():
                         owner = params.hive_user,
                         group=params.user_group,
                         mode = 01777)
-  if params.hive_repl_rootdir is not None:
+  if params.hive_repl_rootdir:
     params.HdfsResource(params.hive_repl_rootdir,
                         type = "directory",
                         action = "create_on_execute",
@@ -335,7 +335,7 @@ def setup_metastore():
                         owner = params.hive_user,
                         group=params.user_group,
                         mode = 01777)
-  if params.hive_repl_rootdir is not None:
+  if params.hive_repl_rootdir:
     params.HdfsResource(params.hive_repl_rootdir,
                         type = "directory",
                         action = "create_on_execute",


Mime
View raw message