You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2015/06/01 11:13:12 UTC

incubator-kylin git commit: KYLIN-753 Fix the match pattern to exclude hbase-common-tests jar.

Repository: incubator-kylin
Updated Branches:
  refs/heads/0.7.1-staging 582e94122 -> eecf1d163


KYLIN-753 Fix the match pattern to exclude hbase-common-tests jar.

Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/eecf1d16
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/eecf1d16
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/eecf1d16

Branch: refs/heads/0.7.1-staging
Commit: eecf1d1631a6bcca2e9f9377419983092aaecaf6
Parents: 582e941
Author: shaofengshi <sh...@apache.org>
Authored: Mon Jun 1 17:12:54 2015 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Mon Jun 1 17:12:54 2015 +0800

----------------------------------------------------------------------
 bin/find-hbase-dependency.sh | 2 +-
 bin/find-hive-dependency.sh  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/eecf1d16/bin/find-hbase-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hbase-dependency.sh b/bin/find-hbase-dependency.sh
index daa3db3..39fc333 100644
--- a/bin/find-hbase-dependency.sh
+++ b/bin/find-hbase-dependency.sh
@@ -5,7 +5,7 @@ arr=(`echo $hbase_classpath | cut -d ":"  --output-delimiter=" " -f 1-`)
 hbase_common_path=
 for data in ${arr[@]}
 do
-    result=`echo $data | grep -e 'hbase-common[0-9\.-]*jar'`
+    result=`echo $data | grep -e 'hbase-common[a-z0-9A-Z\.-]*jar' | grep -v tests`
     if [ $result ]
     then
         hbase_common_path=$data

http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/eecf1d16/bin/find-hive-dependency.sh
----------------------------------------------------------------------
diff --git a/bin/find-hive-dependency.sh b/bin/find-hive-dependency.sh
index 0348c9c..817697f 100644
--- a/bin/find-hive-dependency.sh
+++ b/bin/find-hive-dependency.sh
@@ -25,7 +25,7 @@ hive_conf_path=
 hive_exec_path=
 for data in ${arr[@]}
 do
-    result=`echo $data | grep -e 'hive-exec[0-9\.-]*jar'`
+    result=`echo $data | grep -e 'hive-exec[a-z0-9A-Z\.-]*jar'`
     if [ $result ]
     then
         hive_exec_path=$data