load 方式导入数据出问题
[root@lqz ~]# more test_1.txt
1,liqinghozng
2,zhangsan
3,lisi
[root@lqz ~]# hive
Logging initialized using configuration in jar:file:/root/apache-hive-0.13.0-bin/lib/hive-common-0.13.0.jar!/hive-log4j.properties
hive> load data local inpath '/root/test_1.txt' into table test_1;
Copying data from file:/root/test_1.txt
Copying file: file:/root/test_1.txt
Failed with exception java.io.IOException: File /tmp/hive-root/hive_2016-03-25_15-54-02_980_1405254539072414876-1/-ext-10000/test_1.txt 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)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.CopyTask