You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Vitalyi Brodetskyi <vb...@hortonworks.com> on 2014/07/29 10:58:36 UTC

Review Request 24046: Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=", "

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

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
-------


Thanks,

Vitalyi Brodetskyi


Re: Review Request 24046: Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=", "

Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
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


Re: Review Request 24046: Ambari starts hiveserver2 in remote thrift metastore mode due to passing hive.metastore.uris=", "

Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24046/#review48975
-----------------------------------------------------------

Ship it!


Any testing?

- Dmytro Sen


On July 29, 2014, 8:58 a.m., Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/24046/
> -----------------------------------------------------------
> 
> (Updated July 29, 2014, 8:58 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
> -------
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>