Files
impala/testdata/bin/kill-sentry-service.sh
Lenni Kuff 61cbdd4f49 [CDH5] Add Sentry Service to local test environment
Adds the ability to start/stop the Sentry Service to our local test environment and
load the sentry-site.xml configs. Since the existing Sentry startup scripts don't work
I wrote a simple wrapper to handle service startup.

Change-Id: I1b77a2e50e51e6e6eae58cfed4d5d7c403dbc0b4
Reviewed-on: http://gerrit.ent.cloudera.com:8080/2540
Tested-by: jenkins
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
2014-05-14 12:02:02 -07:00

6 lines
148 B
Bash
Executable File

#!/bin/sh
# Copyright (c) 2012 Cloudera, Inc. All rights reserved.
jps -m | grep SentryServiceWrapper | awk '{print $1}' | xargs kill -9;
sleep 1;