Sqoop导出失败Netezza错误:java.io.IOException:java.lang.InterruptedException

时间:2018-03-14 05:08:37

标签: hadoop sqoop netezza

我使用sqoop将数据从HDFS导出到Netezza,并且有许多作业并行运行。其中很少一个因以下错误而失败

导致Sqoop作业失败。任何人都可以帮我解决这个问题。 我已经处理了Netezza中表的所有权限和所有权。

  
    
      

18/03/13 18:08:34 INFO mapreduce.Job:任务ID:            attempt_1517179256891_920980_m_000005_2,状态:未通过            错误:java.io.IOException:java.lang.InterruptedException

             

at org.apache.hadoop.ipc.Client.call(Client.java:1463)       在org.apache.hadoop.ipc.Client.call(Client.java:1398)       在org.apache.hadoop.ipc.ProtobufRpcEngine $ Invoker.invoke(ProtobufRpcEngine.java:233)       在com.sun.proxy。$ Proxy14.delete(未知来源)       at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.delete(ClientNamenodeProtocolTranslatorPB.java:585)       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)       在java.lang.reflect.Method.invoke(Method.java:497)       at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:291)       在org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:203)       在org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:185)       在com.sun.proxy。$ Proxy15.delete(未知来源)       在org.apache.hadoop.hdfs.DFSClient.delete(DFSClient.java:2094)       在org.apache.hadoop.hdfs.DistributedFileSystem $ 17.doCall(DistributedFileSystem.java:815)       在org.apache.hadoop.hdfs.DistributedFileSystem $ 17.doCall(DistributedFileSystem.java:811)       在org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)       在org.apache.hadoop.hdfs.DistributedFileSystem.delete(DistributedFileSystem.java:811)       在org.apache.sqoop.util.FileUploader.uploadFilesToDFS(FileUploader.java:58)       at org.apache.sqoop.mapreduce.db.netezza.NetezzaExternalTableExportMapper.run(NetezzaExternalTableExportMapper.java:249)       在org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:787)       在org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)       在org.apache.hadoop.mapred.YarnChild $ 2.run(YarnChild.java:170)       at java.security.AccessController.doPrivileged(Native Method)       在javax.security.auth.Subject.doAs(Subject.java:422)       在org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1865)       在org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:164)       引起:java.lang.InterruptedException       at java.util.concurrent.FutureTask.awaitDone(FutureTask.java:404)       at java.util.concurrent.FutureTask.get(FutureTask.java:191)       在org.apache.hadoop.ipc.Client $ Connection.sendRpcRequest(Client.java:1094)       在org.apache.hadoop.ipc.Client.call(Client.java:1457)               ......还有26个

    
  

0 个答案:

没有答案