You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by "dianbo.zhu" <di...@gmail.com> on 2012/05/18 09:51:39 UTC

start hive cli error

hi there,

I got the following trace stack when startuping hive cli. It worked well last week when i just installed it.
Anybody can help? thanks,

Dianbau

[dzhu@bbdw-194 bin]$ ./hive
Logging initialized using configuration in jar:file:/local/dzhu/hadoop/hive-0.8.1-bin/lib/hive-common-0.8.1.jar!/hive-log4j.properties
Hive history file=/tmp/dzhu/hive_job_log_dzhu_201205181300_1495802688.txt
Exception in thread "main" java.io.UnsupportedEncodingException: GB2312
        at sun.nio.cs.StreamEncoder.forOutputStreamWriter(StreamEncoder.java:42)
        at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:83)
        at jline.ConsoleReader.<init>(ConsoleReader.java:174)
        at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:649)
        at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:554)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:156)




dianbo.zhu