Repository: hive Updated Branches: refs/heads/branch-1 9e4b5a25c -> e39db2aa8
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/e39db2aa Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e39db2aa Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e39db2aa Branch: refs/heads/branch-1 Commit: e39db2aa8323fdccc51d405bf4c794b136636510 Parents: 9e4b5a2 Author: Daniel Dai <da...@hortonworks.com> Authored: Tue Dec 6 22:34:38 2016 -0800 Committer: Daniel Dai <da...@hortonworks.com> Committed: Tue Dec 6 22:34:38 2016 -0800 ---------------------------------------------------------------------- bin/hive | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/e39db2aa/bin/hive ---------------------------------------------------------------------- diff --git a/bin/hive b/bin/hive index d411914..1f347dd 100755 --- a/bin/hive +++ b/bin/hive @@ -68,6 +68,14 @@ if [ "$SERVICE" = "" ] ; then fi fi +if [[ "$SERVICE" =~ ^(help|version|orcfiledump|rcfilecat|schemaTool|cleardanglingscratchdir|metastore|beeline)$ ]] ; 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