Repository: hive Updated Branches: refs/heads/master 2a24612be -> 1a39cbfca
HIVE-15322: Skipping "hbase mapredcp" in hive script for certain services (Daniel Dai, reviewed by Thejas Nair) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1a39cbfc Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1a39cbfc Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1a39cbfc Branch: refs/heads/master Commit: 1a39cbfcaeda4392e231b70afa343f2862e91f26 Parents: 2a24612 Author: Daniel Dai <[email protected]> Authored: Tue Dec 6 22:32:24 2016 -0800 Committer: Daniel Dai <[email protected]> Committed: Tue Dec 6 22:32:24 2016 -0800 ---------------------------------------------------------------------- bin/hive | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/1a39cbfc/bin/hive ---------------------------------------------------------------------- diff --git a/bin/hive b/bin/hive index 81ef673..50fbddd 100755 --- a/bin/hive +++ b/bin/hive @@ -87,6 +87,14 @@ if [ "$SERVICE" = "" ] ; then fi fi +if [[ "$SERVICE" =~ ^(help|version|orcfiledump|rcfilecat|schemaTool|cleardanglingscratchdir|metastore|beeline|llapstatus|llap)$ ]] ; then + SKIP_HBASECP=true +fi + +if [[ "$SERVICE" =~ ^(help|schemaTool)$ ]] ; then + SKIP_HADOOPVERSION=true +fi + if [ -f "${HIVE_CONF_DIR}/hive-env.sh" ]; then . "${HIVE_CONF_DIR}/hive-env.sh" fi
