An error is reported when querying mysql-hive.

Source: Internet
Author: User
Org. apache. hadoop. ipc. RemoteException: java. io. IOException: Filetmphive-roothive_2013-08-15_13-46-55_630_3316993537720067107-mr-100021emptyFilecouldonlybereplicatedto0nodes, insteadof1atorg. apache. hadoop. hdfs. server. namenode. FSNa... mysqlhadoophive

Org. apache. hadoop. ipc. remoteException: java. io. IOException: File/tmp/hive-root/hive_2013-08-15_13-46-55_630_3316993537720067107/-mr-10002/1/emptyFile cocould only be replicated to 0 nodes, instead of 1
At org. apache. hadoop. hdfs. server. namenode. FSNamesystem. getAdditionalBlock (FSNamesystem. java: 1639)
At org. apache. hadoop. hdfs. server. namenode. NameNode. addBlock (NameNode. java: 729)
At sun. reflect. GeneratedMethodAccessor6.invoke (Unknown Source)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 597)
At org. apache. hadoop. ipc. RPC $ Server. call (RPC. java: 578)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1393)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1389)
At java. security. AccessController. doPrivileged (Native Method)
At javax. security. auth. Subject. doAs (Subject. java: 396)
At org. apache. hadoop. security. UserGroupInformation. doAs (UserGroupInformation. java: 1136)
At org. apache. hadoop. ipc. Server $ Handler. execute (Server. java: 1387)
At org. apache. hadoop. ipc. Client. call (Client. java: 1107)
At org. apache. hadoop. ipc. RPC $ Invoker. invoke (RPC. java: 229)
At $ Proxy5.addBlock (Unknown Source)
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. io. retry. RetryInvocationHandler. invokeMethod (RetryInvocationHandler. java: 85)
At org. apache. hadoop. io. retry. RetryInvocationHandler. invoke (RetryInvocationHandler. java: 62)
At $ Proxy5.addBlock (Unknown Source)
At org. apache. hadoop. hdfs. DFSClient $ DFSOutputStream. locateFollowingBlock (DFSClient. java: 3686)
At org. apache. hadoop. hdfs. DFSClient $ DFSOutputStream. nextBlockOutputStream (DFSClient. java: 3546)
At org. apache. hadoop. hdfs. DFSClient $ DFSOutputStream. access $2600 (DFSClient. java: 2749)
At org. apache. hadoop. hdfs. DFSClient $ DFSOutputStream $ DataStreamer. run (DFSClient. java: 2989)
Job Submission failed with exception 'org. apache. hadoop. ipc. remoteException (java. io. IOException: File/tmp/hive-root/hive_2013-08-15_13-46-55_630_3316993537720067107/-mr-10002/1/emptyFile cocould only be replicated to 0 nodes, instead of 1
At org. apache. hadoop. hdfs. server. namenode. FSNamesystem. getAdditionalBlock (FSNamesystem. java: 1639)
At org. apache. hadoop. hdfs. server. namenode. NameNode. addBlock (NameNode. java: 729)
At sun. reflect. GeneratedMethodAccessor6.invoke (Unknown Source)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 597)
At org. apache. hadoop. ipc. RPC $ Server. call (RPC. java: 578)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1393)
At org. apache. hadoop. ipc. Server $ Handler $ 1.run( Server. java: 1389)
At java. security. AccessController. doPrivileged (Native Method)
At javax. security. auth. Subject. doAs (Subject. java: 396)
At org. apache. hadoop. security. UserGroupInformation. doAs (UserGroupInformation. java: 1136)
At org. apache. hadoop. ipc. Server $ Handler. run (Server. java: 1387 ))'
Java. lang. IllegalArgumentException: Can not create a Path from an empty string
At org. apache. hadoop. fs. Path. checkPathArg (Path. java: 82)
At org. apache. hadoop. fs. Path. (Path. java: 90)
At org.apache.hadoop.hive.ql.exe c. Utilities. getHiveJobID (Utilities. java: 379)
At org.apache.hadoop.hive.ql.exe c. Utilities. clearMapRedWork (Utilities. java: 192)
At org.apache.hadoop.hive.ql.exec.ExecDriver.exe cute (ExecDriver. java: 476)
At org.apache.hadoop.hive.ql.exec.MapRedTask.exe cute (MapRedTask. java: 136)
At org.apache.hadoop.hive.ql.exec.Task.exe cuteTask (Task. java: 133)
At org.apache.hadoop.hive.ql.exe c. TaskRunner. runSequential (TaskRunner. java: 57)
At org. apache. hadoop. hive. ql. Driver. launchTask (Driver. java: 1332)
At org.apache.hadoop.hive.ql.Driver.exe cute (Driver. java: 1123)
At org. apache. hadoop. hive. ql. Driver. run (Driver. java: 931)
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 (Client Driver. java: 671)
At org. apache. hadoop. hive. cli. CliDriver. main (Client Driver. 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)
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exe c. MapRedTask

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.