achyut
achyut

Reputation: 148

Setting hive configuration properties through hive --service jar

Can somebody tell me if i can pass hiveconf properties through cli. Actually i want to run a jar using hive --service jar and in this command i want to set some properties. I have tried the following commands but didnot work:

  1. hive --service jar myjar.jar my.example.jar.MyMainClass -hiveconf x=y
  2. hive --service jar myjar.jar my.example.jar.MyMainClass HIVE_OPTS x=y

Thanks in advance

Upvotes: 3

Views: 491

Answers (1)

nJn
nJn

Reputation: 406

No, As far as I have seen, it does not work with hive --service jar. --hiveconf can be used to set some configuration when launching a CLI, or thrift server.

Upvotes: 1

Related Questions