hive1.2.1创建表失败的MetaException

时间:2015-07-16 07:45:31

标签: hadoop hive

当我在CLI中创建一个表时,在这里我得到一些消息,如follow,help!

hive> create table a (x int);
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:For direct MetaStore DB connections, we don't support retries at the client level.)

我该怎么办?

这是我的版本信息:  蜂巢版本是1.2.1  mac 10.10.3  hadoop 2.6.0

2015-07-17 10:39:37,384 ERROR [main]:exec.DDLTask(DDLTask.java:failed(520)) - org.apache.hadoop.hive.ql.metadata.HiveException:MetaException(message:对于直接的MetaStore数据库连接,我们不支持在客户端级别重试。)         在org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:720)         在org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:4135)         在org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:306)         在org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)         在org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:88)         在org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1653)         在org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1412)         在org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1195)         在org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)         在org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)         在org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:213)         在org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:165)         在org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:376)         在org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:736)         在org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:681)         在org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:621)         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)         at java.lang.reflect.Method.invoke(Method.java:606)         在org.apache.hadoop.util.RunJar.run(RunJar.java:221)         在org.apache.hadoop.util.RunJar.main(RunJar.java:136) 引起:MetaException(消息:对于直接的MetaStore数据库连接,我们不支持在客户端级别重试。)         在org.apache.hadoop.hive.metastore.HiveMetaStoreClient.reconnect(HiveMetaStoreClient.java:308)         在org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:148)         在com.sun.proxy。$ Proxy8.createTable(未知来源)         在org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:714)         ......还有21个

2015-07-17 10:39:37,385 ERROR [main]:ql.Driver(SessionState.java:printError(960)))FAILED:执行错误,从org.apache.hadoop.hive.ql返回代码1 .exec.DDLTask。 MetaException(消息:对于直接的MetaStore数据库连接,我们不支持在客户端级别重试。) 2015-07-17 10:39:37,385 INFO [main]:log.PerfLogger(PerfLogger.java:PerfLogEnd(148)) - 2015-07-17 10:39:37,386 INFO [main]:log.PerfLogger(PerfLogger.java:PerfLogBegin(121)) - 2015-07-17 10:39:37,386 INFO [main]:log.PerfLogger(PerfLogger.java:PerfLogEnd(148)) - 2015-07-17 10:39:37,388 INFO [main]:log.PerfLogger(PerfLogger.java:PerfLogBegin(121)) - 2015-07-17 10:39:37,388 INFO [main]:log.PerfLogger(PerfLogger.java:PerfLogEnd(148)) -

0 个答案:

没有答案