hive 使用oracle作为元数据库报错

xuanjinlee 2014-04-24 07:33:12
14/04/24 04:30:02 INFO hive.metastore: Trying to connect to metastore with URI thrift://192.168.10.237:9083
14/04/24 04:30:02 WARN hive.metastore: Failed to connect to the MetaStore Server...
org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused





...全文
263 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
FeelTouch Labs 2014-04-25
  • 打赏
  • 举报
回复
或许是权限问题
xuanjinlee 2014-04-24
  • 打赏
  • 举报
回复
> show tables; 14/04/24 04:30:02 INFO ql.Driver: <PERFLOG method=Driver.run> 14/04/24 04:30:02 INFO ql.Driver: <PERFLOG method=TimeToSubmit> 14/04/24 04:30:02 INFO ql.Driver: <PERFLOG method=compile> 14/04/24 04:30:02 DEBUG parse.VariableSubstitution: Substitution is on: show tables 14/04/24 04:30:02 INFO parse.ParseDriver: Parsing command: show tables 14/04/24 04:30:02 INFO parse.ParseDriver: Parse Completed 14/04/24 04:30:02 INFO ql.Driver: Semantic Analysis Completed 14/04/24 04:30:02 DEBUG conf.Configuration: java.io.IOException: config(config) at org.apache.hadoop.conf.Configuration.<init>(Configuration.java:226) at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:184) at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:195) at org.apache.hadoop.hive.ql.exec.FetchTask.initialize(FetchTask.java:68) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:471) at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:335) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:893) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:259) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:216) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:412) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:755) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:613) 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) 14/04/24 04:30:02 DEBUG lazy.LazySimpleSerDe: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe initialized with: columnNames=[tab_name] columnTypes=[string] separator=[[B@16614e7] nullstring= lastColumnTakesRest=false 14/04/24 04:30:02 INFO exec.ListSinkOperator: Initializing Self 0 OP 14/04/24 04:30:02 DEBUG lazy.LazySimpleSerDe: org.apache.hadoop.hive.serde2.DelimitedJSONSerDe initialized with: columnNames=[] columnTypes=[] separator=[[B@1b0bdc8] nullstring= lastColumnTakesRest=false 14/04/24 04:30:02 INFO exec.ListSinkOperator: Operator 0 OP initialized 14/04/24 04:30:02 INFO exec.ListSinkOperator: Initialization Done 0 OP 14/04/24 04:30:02 DEBUG lazy.LazySimpleSerDe: org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe initialized with: columnNames=[tab_name] columnTypes=[string] separator=[[B@7bc899] nullstring= lastColumnTakesRest=false 14/04/24 04:30:02 INFO ql.Driver: Returning Hive schema: Schema(fieldSchemas:[FieldSchema(name:tab_name, type:string, comment:from deserializer)], properties:null) 14/04/24 04:30:02 INFO ql.Driver: </PERFLOG method=compile start=1398339002071 end=1398339002248 duration=177> 14/04/24 04:30:02 INFO ql.Driver: <PERFLOG method=Driver.execute> 14/04/24 04:30:02 INFO ql.Driver: Starting command: show tables 14/04/24 04:30:02 INFO ql.Driver: </PERFLOG method=TimeToSubmit start=1398339002071 end=1398339002277 duration=206> 14/04/24 04:30:02 INFO hive.metastore: Trying to connect to metastore with URI thrift://192.168.10.237:9083 14/04/24 04:30:02 WARN hive.metastore: Failed to connect to the MetaStore Server...

932

社区成员

发帖
与我相关
我的任务
社区描述
云计算 云存储相关讨论
社区管理员
  • 云存储
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧