-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/29373/
-----------------------------------------------------------
Review request for Ambari and Dmytro Sen.
Bugs: AMBARI-8890
https://issues.apache.org/jira/browse/AMBARI-8890
Repository: ambari
Description
-------
PROBLEM:
Ambari 1.6.1 detects whether processes are running by the presence of pid
files. This may not be a problem for datanodes and nodemanagers, but it is a
problem for hive metastore and hiveserver2. If there are hive metastore and
hive server2 processes running, but pid files are missing, Ambari will start
another instance. The end result is that hive services will not function.
There have been quite some customers encountered this problem. Ambari should
not rely on pid file.
Diffs
-----
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py
3918a74
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py
40a14c8
ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py 8046313
ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 1d32b56
ambari-web/app/config.js a7cdc29
Diff: https://reviews.apache.org/r/29373/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk