ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 24046: Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=", "
Date Tue, 29 Jul 2014 09:00:29 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24046/
-----------------------------------------------------------

(Updated July 29, 2014, 9 a.m.)


Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-6647
    https://issues.apache.org/jira/browse/AMBARI-6647


Repository: ambari


Description
-------


PROBLEM:

in /var/lib/ambari-agent/cache/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2

it passes -hiveconf hive.metastore.uris=\" \"

However, it gets interpreted as hive.metastore.uris=", "xxxxx

As a result, hiveserver2 tries to connect to remote thrift metastore.

As we switch hiveserver2 to use embedded thrift, this cause problem.

Problem reproducible with fresh Ambari 1.6.0 installation.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/HIVE/package/templates/startHiveserver2.sh.j2
62ab19e 

Diff: https://reviews.apache.org/r/24046/diff/


Testing (updated)
-------

tested!


Thanks,

Vitalyi Brodetskyi


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message