Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18044

CompactorMR.CompactorOutputCommitter.abortTask() not implemented

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • 3.1.0
    • Transactions
    • None

    Description

      Can it explain the following?

      Exception running child : org.apache.hadoop.fs.FileAlreadyExistsException: /apps/hiv/workmanagement.db/serviceorder_longtext/_tmp_40a7286b-da40-4624-baf3-4de12ec421f4/base_22699743/bucket_00006 for client 10.1.71.22 already exists 
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2784) 
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2671) 
      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2555) 
      at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:735) 
      at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:408) 
      at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java) 
      at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640) 
      at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)
      

      and from yarn app log

      2017-11-01 15:44:20,201 FATAL [IPC Server handler 3 on 42141] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1509391924057_1453_m_000002_1 - exited : org.apache.hadoop.fs.FileAlreadyExistsException: /apps/hive/warehouse/workmanagement.db/serviceorder_longtext/_tmp_e95a96e2-e605-47d9-b878-bb662cd9ece2/base_22490990/bucket_00007 for client 10.│
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2784)                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2671)                                                                                                                                                                                                                                                                      │
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2555)                                                                                                                                                                                                                                                                         │
      │       at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:735)                                                                                                                                                                                                                                                                   │
      │       at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:408)                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)                                                                                                                                                                                                             │
      │       at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)                                                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2351)                                                                                                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2347)                                                                                                                                                                                                                                                                                                  │
      │       at java.security.AccessController.doPrivileged(Native Method)                                                                                                                                                                                                                                                                                                    │
      │       at javax.security.auth.Subject.doAs(Subject.java:422)                                                                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2345)                                                                                                                                                                                                                                                                                                    │
      │                                                                                                                                                                                                                                                                                                                                                                        │
      │       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)                                                                                                                                                                                                                                                                                         │
      │       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)                                                                                                                                                                                                                                                                  │
      │       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)                                                                                                                                                                                                                                                          │
      │       at java.lang.reflect.Constructor.newInstance(Constructor.java:423)                                                                                                                                                                                                                                                                                               │
      │       at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:73)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:1804)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1701)                                                                                                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1636)                                                                                                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.hdfs.DistributedFileSystem$8.doCall(DistributedFileSystem.java:480)                                                                                                                                                                                                                                                                         │
      │       at org.apache.hadoop.hdfs.DistributedFileSystem$8.doCall(DistributedFileSystem.java:476)                                                                                                                                                                                                                                                                         │
      │       at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:476)                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:417)                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:930)                                                                                                                                                                                                                                                                                                   │
      │       at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:911)                                                                                                                                                                                                                                                                                                   │
      │       at org.apache.hadoop.hive.ql.io.orc.WriterImpl.getStream(WriterImpl.java:2112)                                                                                                                                                                                                                                                                                   │
      │       at org.apache.hadoop.hive.ql.io.orc.WriterImpl.flushStripe(WriterImpl.java:2129)                                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.hive.ql.io.orc.WriterImpl.close(WriterImpl.java:2434)                                                                                                                                                                                                                                                                                       │
      │       at org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat$1.close(OrcOutputFormat.java:326)                                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.hive.ql.txn.compactor.CompactorMR$CompactorMap.close(CompactorMR.java:655)                                                                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:61)                                                                                                                                                                                                                                                                                                     │
      │       at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)                                                                                                                                                                                                                                                                                               │
      │       at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)                                                                                                                                                                                                                                                                                                        │
      │       at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:170)                                                                                                                                                                                                                                                                                                  │
      │       at java.security.AccessController.doPrivileged(Native Method)                                                                                                                                                                                                                                                                                                    │
      │       at javax.security.auth.Subject.doAs(Subject.java:422)                                                                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:164)                                                                                                                                                                                                                                                                                                   │
      │Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.FileAlreadyExistsException): /apps/hive/warehouse/workmanagement.db/serviceorder_longtext/_tmp_e95a96e2-e605-47d9-b878-bb662cd9ece2/base_22490990/bucket_00007 for client 10.1.71.19 already exists                                                                                               │
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInternal(FSNamesystem.java:2784)                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2671)                                                                                                                                                                                                                                                                      │
      │       at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2555)                                                                                                                                                                                                                                                                         │
      │       at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:735)                                                                                                                                                                                                                                                                   │
      │       at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:408)                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)                                                                                                                                                                                                             │
      │       at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:640)                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:982)                                                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2351)                                                                                                                                                                                                                                                                                                  │
      │       at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2347)                                                                                                                                                                                                                                                                                                  │
      │       at java.security.AccessController.doPrivileged(Native Method)                                                                                                                                                                                                                                                                                                    │
      │       at javax.security.auth.Subject.doAs(Subject.java:422)                                                                                                                                                                                                                                                                                                            │
      │       at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)                                                                                                                                                                                                                                                                          │
      │       at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2345)                                                                                                                                                                                                                                                                                                    │
      │                                                                                                                                                                                                                                                                                                                                                                        │
      │       at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1554)                                                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.ipc.Client.call(Client.java:1498)                                                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.ipc.Client.call(Client.java:1398)                                                                                                                                                                                                                                                                                                           │
      │       at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)                                                                                                                                                                                                                                                                            │
      │       at com.sun.proxy.$Proxy14.create(Unknown Source)                                                                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.create(ClientNamenodeProtocolTranslatorPB.java:313)                                                                                                                                                                                                                                      │
      │       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                                                                                                                                                                                                   │
      │       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)                                                                                                                                                                                                                                                                                 │
      │       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                                                                                                                                                                                                                                                                         │
      │       at java.lang.reflect.Method.invoke(Method.java:498)                                                                                                                                                                                                                                                                                                              │
      │       at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:291)                                                                                                                                                                                                                                                               │
      │       at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:203)                                                                                                                                                                                                                                                                     │
      │       at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:185)                                                                                                                                                                                                                                                                     │
      │       at com.sun.proxy.$Proxy15.create(Unknown Source)                                                                                                                                                                                                                                                                                                                 │
      │       at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:1799)                                                                                                                                                                                                                                                                          │
      │       ... 22 more
      

      Attachments

        Issue Links

          Activity

            People

              ashish-kumar-sharma Ashish Sharma
              ekoifman Eugene Koifman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: