You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/11/22 06:00:50 UTC

[GitHub] [incubator-hudi] lamber-ken opened a new issue #1041: [Question] Where is client jar in hudi-cli.sh

lamber-ken opened a new issue #1041: [Question] Where is client jar in hudi-cli.sh
URL: https://github.com/apache/incubator-hudi/issues/1041
 
 
   hi, I can not find out what is the client jar in hudi-cli.sh, can some one tell me, thanks.
   
   ```
   
   DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
   HOODIE_JAR=`ls $DIR/target/hudi-cli-*.jar | grep -v source | grep -v javadoc`
   if [ -z "$HADOOP_CONF_DIR" ]; then
     echo "setting hadoop conf dir"
     HADOOP_CONF_DIR="/etc/hadoop/conf"
   fi
   if [ -z "$SPARK_CONF_DIR" ]; then
     echo "setting spark conf dir"
     SPARK_CONF_DIR="/etc/spark/conf"
   fi
   if [ -z "$CLIENT_JAR" ]; then
     echo "client jar location not set"
   fi
   
   java -cp ${HADOOP_CONF_DIR}:${SPARK_CONF_DIR}:$DIR/target/lib/*:$HOODIE_JAR:${CLIENT_JAR} -DSPARK_CONF_DIR=${SPARK_CONF_DIR} -DHADOOP_CONF_DIR=${HADOOP_CONF_DIR} org.springframework.shell.Bootstrap $@
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services