Adding a tool to read/inspect a HoodieLogFile
This commit is contained in:
committed by
vinoth chandar
parent
ba7c258c61
commit
9dff8c2326
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
HOODIE_JAR=`ls $DIR/target/hoodie-cli-*-SNAPSHOT.jar`
|
||||
if [ -z "$HADOOP_CONF_DIR" ]; then
|
||||
@@ -9,4 +10,7 @@ if [ -z "$SPARK_CONF_DIR" ]; then
|
||||
echo "setting spark conf dir"
|
||||
SPARK_CONF_DIR="/etc/spark/conf"
|
||||
fi
|
||||
java -cp ${HADOOP_CONF_DIR}:${SPARK_CONF_DIR}:$DIR/target/lib/*:$HOODIE_JAR org.springframework.shell.Bootstrap
|
||||
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} org.springframework.shell.Bootstrap
|
||||
|
||||
Reference in New Issue
Block a user