mirror of
https://github.com/apache/impala.git
synced 2025-12-30 21:02:41 -05:00
Using an external Hive Metastore Service for local test runs has a number of benefits. Some of the benefits are that it helps separate the metastore logs from the impala logs, and that it is more representative of what is on real cluster environments. It also may help with some of the concurrency issues that we have been seeing when running directly against the backend database since we no longer spin up an in-process metastore server for each client connection. The metastore is started by running "run-hive-server.sh" which is invoked as part of "run-all.sh". Change-Id: If60fa97aa38e4ad5cf578b9b409eeea1e0e29375 Reviewed-on: http://gerrit.ent.cloudera.com:8080/628 Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: jenkins
7 lines
202 B
Bash
Executable File
7 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
|
|
jps -m | grep HiveServer | awk '{print $1}' | xargs kill -9;
|
|
jps -m | grep HiveMetaStore | awk '{print $1}' | xargs kill -9;
|
|
sleep 1;
|