Hi Krish,
 You shall try "hive shell"
Not simply "hive"
Let me know if you still face the same issue


Thanks
Mohan


On Mon, Jan 5, 2015 at 12:09 PM, Krish Donald <gotomyp...@gmail.com> wrote:

> Hi,
>
> I am new to hive and when I am trying to go to hive prompt I am getting
> below messages/erros . Is this normal.
> I am using all default templates, I have not changed any properties in
> default templates.
>
> [hadoop@mynamenode conf]$ hive
> Logging initialized using configuration in
> file:/opt/hadoop/hive/conf/hive-log4j.properties
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:/opt/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:/opt/hadoop/hive/lib/hive-jdbc-0.14.0-standalone.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative
> path in absolute URI: ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:444)
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:672)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:616)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:483)
>         at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: java.lang.IllegalArgumentException:
> java.net.URISyntaxException: Relative path in absolute URI:
> ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
>         at org.apache.hadoop.fs.Path.initialize(Path.java:206)
>         at org.apache.hadoop.fs.Path.<init>(Path.java:172)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:487)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:430)
>         ... 8 more
> Caused by: java.net.URISyntaxException: Relative path in absolute URI:
> ${system:java.io.tmpdir%7D/$%7Bsystem:user.name%7D
>         at java.net.URI.checkPath(URI.java:1823)
>         at java.net.URI.<init>(URI.java:745)
>         at org.apache.hadoop.fs.Path.initialize(Path.java:203)
>         ... 11 more
>
> Thanks
> Krish
>

Reply via email to