mirror of
https://github.com/apache/impala.git
synced 2026-01-06 06:01:03 -05:00
Change-Id: I4e2ba02b2101bae95d196ab13f9453e1b3a9d7be Reviewed-on: http://gerrit.ent.cloudera.com:8080/689 Reviewed-by: Ishaan Joshi <ishaan@cloudera.com> Tested-by: jenkins
20 lines
557 B
Bash
Executable File
20 lines
557 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
|
|
HIVE_SERVER_PORT=10000
|
|
export HIVE_SERVER2_THRIFT_PORT=11050
|
|
HIVE_METASTORE_PORT=9083
|
|
set -u
|
|
|
|
# TODO: We should have a retry loop for every service we start.
|
|
# Kill for a clean start.
|
|
$IMPALA_HOME/testdata/bin/kill-hive-server.sh
|
|
|
|
# Starts a Hive Metastore Server on the specified port.
|
|
hive --service metastore -p $HIVE_METASTORE_PORT &
|
|
|
|
# Starts a HiveServer2 instance on the port specified by the HIVE_SERVER2_THRIFT_PORT
|
|
# environment variable.
|
|
hive --service hiveserver2 &
|
|
|
|
sleep 10
|