cloudera-labs / hive-sre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-scc option throwing NPE

dstreev opened this issue · comments

dstreev@e01 ~ $ hive-sre u3 -o temp -i 3 -scc
APP_DIR: /usr/local/hive-sre/bin
Running Host instance
Application JAVA_OPTS=-Djavax.net.ssl.trustStore=/home/dstreev/certs/gateway-client-trust.jks -Djavax.net.ssl.trustStorePassword=changeit
PRG_ARGS= "u3" "-o" "temp" "-i" "3" "-scc"
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
Launching: u3
Using Config: /home/dstreev/.hive-sre/cfg/default.yaml
null
java.lang.NullPointerException
	at com.cloudera.utils.hive.sre.DbSetProcess.init(DbSetProcess.java:227)
	at com.cloudera.utils.hive.sre.ProcessContainer.init(ProcessContainer.java:281)
	at com.cloudera.utils.hive.HiveFrameworkCheck.init(HiveFrameworkCheck.java:220)
	at com.cloudera.utils.hive.Sre.init(Sre.java:79)
	at com.cloudera.utils.hive.Sre.main(Sre.java:31)

Fixed in 2.4.0.3-SNAPSHOT