You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by vb...@apache.org on 2014/07/29 11:05:57 UTC

git commit: AMBARI-6647. Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=", ".(vbrodetskyi)

Repository: ambari
Updated Branches:
  refs/heads/trunk 9986f6c15 -> 7d2c4f00f


AMBARI-6647. Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=",".(vbrodetskyi)


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

Branch: refs/heads/trunk
Commit: 7d2c4f00f0c2652f6429473f44efb4c72b86710f
Parents: 9986f6c
Author: Vitaly Brodetskyi <vb...@hortonworks.com>
Authored: Tue Jul 29 10:40:56 2014 +0300
Committer: Vitaly Brodetskyi <vb...@hortonworks.com>
Committed: Tue Jul 29 10:40:56 2014 +0300

----------------------------------------------------------------------
 .../2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7d2c4f00/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2 b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2
index 62ab19e..a8fe21c 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2
+++ b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2
@@ -19,11 +19,11 @@
 #
 #
 
-HIVE_SERVER2_OPTS=" -hiveconf hive.metastore.uris=\" \" -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=$5"
+HIVE_SERVER2_OPTS=" -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=$5"
 {% if hive_authorization_enabled == True and str(hdp_stack_version).startswith('2.1') %}
 # HiveServer 2 -hiveconf options
 HIVE_SERVER2_OPTS="${HIVE_SERVER2_OPTS} -hiveconf hive.security.authenticator.manager=org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator -hiveconf hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory "
 {% endif %}
 
-HIVE_CONF_DIR=$4 /usr/lib/hive/bin/hiveserver2 ${HIVE_SERVER2_OPTS} > $1 2> $2 &
+HIVE_CONF_DIR=$4 /usr/lib/hive/bin/hiveserver2 -hiveconf hive.metastore.uris=" " ${HIVE_SERVER2_OPTS} > $1 2> $2 &
 echo $!|cat>$3