You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2016/04/21 22:52:08 UTC
ambari git commit: AMBARI-16025. HiveServerInteractive. Disabling the
LLAP app status check.
Repository: ambari
Updated Branches:
refs/heads/trunk 360fcfeb8 -> 5534cd523
AMBARI-16025. HiveServerInteractive. Disabling the LLAP app status check.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5534cd52
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5534cd52
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5534cd52
Branch: refs/heads/trunk
Commit: 5534cd5231afaf466775cbffceee252d115dcd5f
Parents: 360fcfe
Author: Swapan Shridhar <ss...@hortonworks.com>
Authored: Thu Apr 21 13:25:08 2016 -0700
Committer: Swapan Shridhar <ss...@hortonworks.com>
Committed: Thu Apr 21 13:51:50 2016 -0700
----------------------------------------------------------------------
.../0.12.0.2.0/package/scripts/hive_server_interactive.py | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5534cd52/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py
index 430b41f..fe05ff6 100644
--- a/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py
+++ b/ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_server_interactive.py
@@ -138,21 +138,13 @@ class HiveServerInteractiveDefault(HiveServerInteractive):
self._llap_stop(env)
- """
- Checks the status of Hive Server Interactive and LLAP app.
- If any of them is down, status is shown STOPPED.
- """
def status(self, env):
import status_params
env.set_params(status_params)
- status = self.check_llap_app_status("llap0", 0)
- if not status:
- Logger.error("Slider app 'llap' not in running state.")
- raise ComponentIsNotRunning()
+ # TODO : LLAP app status check
pid_file = format("{hive_pid_dir}/{hive_interactive_pid}")
-
# Recursively check all existing gmetad pid files
check_process_status(pid_file)