This is an automated email from the ASF dual-hosted git repository.

vbalaji pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 8139ffd  HUDI-197 Hive Sync and othe CLIs using bundle picking sources 
jar instead of binary jar
8139ffd is described below

commit 8139ffd94cae2b924477d3bd4fd4781929662b04
Author: Balaji Varadarajan <varad...@uber.com>
AuthorDate: Fri Aug 2 05:12:47 2019 -0700

    HUDI-197 Hive Sync and othe CLIs using bundle picking sources jar instead 
of binary jar
---
 hoodie-cli/hoodie-cli.sh       | 2 +-
 hoodie-hive/run_sync_tool.sh   | 2 +-
 hoodie-spark/run_hoodie_app.sh | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hoodie-cli/hoodie-cli.sh b/hoodie-cli/hoodie-cli.sh
index b67a067..b29568b 100755
--- a/hoodie-cli/hoodie-cli.sh
+++ b/hoodie-cli/hoodie-cli.sh
@@ -1,7 +1,7 @@
 #!/usr/bin/env bash
 
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
-HOODIE_JAR=`ls $DIR/target/hoodie-cli-*-SNAPSHOT.jar`
+HOODIE_JAR=`ls $DIR/target/hoodie-cli-*-SNAPSHOT.jar | grep -v source | grep 
-v javadoc`
 if [ -z "$HADOOP_CONF_DIR" ]; then
   echo "setting hadoop conf dir"
   HADOOP_CONF_DIR="/etc/hadoop/conf"
diff --git a/hoodie-hive/run_sync_tool.sh b/hoodie-hive/run_sync_tool.sh
index 1adae9e..fb6e24f 100755
--- a/hoodie-hive/run_sync_tool.sh
+++ b/hoodie-hive/run_sync_tool.sh
@@ -15,7 +15,7 @@ fi
 
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 #Ensure we pick the right jar even for hive11 builds
-HOODIE_HIVE_UBER_JAR=`ls -c 
$DIR/../packaging/hoodie-hive-bundle/target/hoodie-hive-*.jar | head -1`
+HOODIE_HIVE_UBER_JAR=`ls -c 
$DIR/../packaging/hoodie-hive-bundle/target/hoodie-hive-*.jar | grep -v source 
| head -1`
 
 if [ -z "$HADOOP_CONF_DIR" ]; then
   echo "setting hadoop conf dir"
diff --git a/hoodie-spark/run_hoodie_app.sh b/hoodie-spark/run_hoodie_app.sh
index 2e070e9..c346ba4 100755
--- a/hoodie-spark/run_hoodie_app.sh
+++ b/hoodie-spark/run_hoodie_app.sh
@@ -7,7 +7,7 @@ function error_exit {
 
 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 #Ensure we pick the right jar even for hive11 builds
-HOODIE_JAR=`ls -c 
$DIR/../packaging/hoodie-spark-bundle/target/hoodie-spark-bundle-*.jar | head 
-1`
+HOODIE_JAR=`ls -c 
$DIR/../packaging/hoodie-spark-bundle/target/hoodie-spark-bundle-*.jar | grep 
-v source | head -1`
 
 if [ -z "$HADOOP_CONF_DIR" ]; then
   echo "setting hadoop conf dir"

Reply via email to