当前位置:编程学习 > 网站相关 >>

cygwin、hadoop环境下运行hive的show tables报错

Caused by: java.net.URISyntaxException: Relative path in absolute URI: file:D:/c
ygwin/tmp//Administrator/hive_2011-10-27_23-46-59_578_737308749433472

在cygwin,hadoop环境下运行hive的show tables报这个错,谢谢!

---------------------------------------------------------------------------------------------------

2012-08-31 18:02:24,566 WARN  conf.HiveConf (HiveConf.java:<clinit>(61)) - DEPRECATED: Ignoring hive-default.xml found on the CLASSPATH at /D:/tool/hive-0.8.1/conf/hive-default.xml
2012-08-31 18:02:32,267 ERROR ql.Driver (SessionState.java:printError(380)) - FAILED: Hive Internal Error: java.lang.IllegalArgumentException(java.net.URISyntaxException: Relative path in absolute URI: file:D:/tool/cygwin/tmp//admin/hive_2012-08-31_18-02-32_103_6792626627089222329)
java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: file:D:/tool/cygwin/tmp//admin/hive_2012-08-31_18-02-32_103_6792626627089222329
at org.apache.hadoop.fs.Path.initialize(Path.java:140)
at org.apache.hadoop.fs.Path.<init>(Path.java:132)
at org.apache.hadoop.hive.ql.Context.getScratchDir(Context.java:160)
at org.apache.hadoop.hive.ql.Context.getLocalScratchDir(Context.java:187)
at org.apache.hadoop.hive.ql.Context.getLocalTmpFileURI(Context.java:303)
at org.apache.hadoop.hive.ql.parse.DDLSemanticAnalyzer.易做图yzeInternal(DDLSemanticAnalyzer.java:227)
at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.易做图yze(BaseSemanticAnalyzer.java:243)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:430)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:337)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:889)
at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:255)
at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:212)
at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:403)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:671)
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)
Caused by: java.net.URISyntaxException: Relative path in absolute URI: file:D:/tool/cygwin/tmp//admin/hive_2012-08-31_18-02-32_103_6792626627089222329
at java.net.URI.checkPath(URI.java:1787)
at java.net.URI.<init>(URI.java:735)
at org.apache.hadoop.fs.Path.initialize(Path.java:137)
... 19 more --------------------编程问答-------------------- hive的参数配置问题,请查看日志~
补充:云计算 ,  OpenAPI
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,