为了账号安全,请及时绑定邮箱和手机立即绑定

hive> select unix_timestamp(); 报错

FAILED: SemanticException org.apache.hadoop.ipc.RemoteException: java.io.IOException: File /tmp/hive-root/hive_2016-03-25_12-04-29_545_6879395775527690642-1/dummy_path/dummy_file could only be replicated to 0 nodes, instead of 1

at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1920)

at org.apache.hadoop.hdfs.server.namenode.NameNode.addBlock(NameNode.java:783)

at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:587)

at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1432)

at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1428)

at java.security.AccessController.doPrivileged(Native Method)

at javax.security.auth.Subject.doAs(Subject.java:415)

at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)

at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1426)


正在回答

举报

0/150
提交
取消
走近大数据之Hive入门
  • 参与学习       54598    人
  • 解答问题       102    个

Hive是基于HDFS的数据仓库,教程将向大家介绍Hive的体系结构

进入课程

hive> select unix_timestamp(); 报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信