Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2856

put: File /test-warehouse/widetable_500_cols/widetable_data.csv._COPYING_ could only be replicated to 0 nodes instead of minReplication (=1)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Impala 2.5.0
    • None
    • Infrastructure

    Description

      A build failed with HDFS replication errors:

      http://sandbox.jenkins.cloudera.com/view/Impala/view/Nightly-Builds/job/impala-master-cdh5-trunk-non-partitioned-hash-and-aggs/196/console

      00:23:06.225 Your existing hdfs warehouse directory  (/test-warehouse) will be removed.
      00:23:07.294 Creating test-warehouse directory
      00:23:09.824 Loading snapshot file: /data/jenkins/workspace/impala-master-cdh5-trunk-non-partitioned-hash-and-aggs/testdata/test-warehouse-SNAPSHOT/test-warehouse-cdh5-781-SNAPSHOT.tar.gz
      00:23:09.832 Extracting tarball
      00:26:17.648 Loading hive builtins
      00:28:11.377 Copying data to hdfs
      00:32:29.462 2016-01-14 23:42:17,961 INFO  [Thread-9831] hdfs.DFSClient (DFSOutputStream.java:createBlockOutputStream(1573)) - Exception in createBlockOutputStream
      00:32:29.462 java.io.EOFException: Premature EOF: no length prefix available
      00:32:29.462 	at org.apache.hadoop.hdfs.protocolPB.PBHelper.vintPrefixed(PBHelper.java:2241)
      00:32:29.462 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.createBlockOutputStream(DFSOutputStream.java:1541)
      00:32:29.462 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1463)
      00:32:29.462 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:673)
      00:32:29.462 2016-01-14 23:42:17,965 INFO  [Thread-9831] hdfs.DFSClient (DFSOutputStream.java:nextBlockOutputStream(1466)) - Abandoning BP-150084399-127.0.0.1-1452843084212:blk_1073747343_6519
      00:32:29.469 2016-01-14 23:42:17,972 INFO  [Thread-9831] hdfs.DFSClient (DFSOutputStream.java:nextBlockOutputStream(1470)) - Excluding datanode DatanodeInfoWithStorage[127.0.0.1:31001,DS-b726e5fb-0f5c-47f9-8d02-9f116f740a03,DISK]
      00:32:29.484 2016-01-14 23:42:17,987 WARN  [Thread-9831] hdfs.DFSClient (DFSOutputStream.java:run(782)) - DataStreamer Exception
      00:32:29.484 org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /test-warehouse/tpch.lineitem_rc/000003_0._COPYING_ could only be replicated to 0 nodes instead of minReplication (=1).  There are 3 datanode(s) running and 3 node(s) are excluded in this operation.
      00:32:29.484 	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1546)
      00:32:29.484 	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3289)
      00:32:29.484 	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:669)
      00:32:29.484 	at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.addBlock(AuthorizationProviderProxyClientProtocol.java:212)
      00:32:29.484 	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:483)
      00:32:29.484 	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
      00:32:29.484 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
      00:32:29.484 	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1060)
      00:32:29.484 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2079)
      00:32:29.484 	at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2075)
      00:32:29.484 	at java.security.AccessController.doPrivileged(Native Method)
      00:32:29.484 	at javax.security.auth.Subject.doAs(Subject.java:415)
      00:32:29.484 	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1671)
      00:32:29.484 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2073)
      00:32:29.484 
      00:32:29.484 	at org.apache.hadoop.ipc.Client.call(Client.java:1468)
      00:32:29.484 	at org.apache.hadoop.ipc.Client.call(Client.java:1399)
      00:32:29.484 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
      00:32:29.484 	at com.sun.proxy.$Proxy9.addBlock(Unknown Source)
      00:32:29.484 	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:399)
      00:32:29.484 	at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
      00:32:29.484 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      00:32:29.484 	at java.lang.reflect.Method.invoke(Method.java:606)
      00:32:29.484 	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:252)
      00:32:29.484 	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:104)
      00:32:29.484 	at com.sun.proxy.$Proxy10.addBlock(Unknown Source)
      00:32:29.484 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.locateFollowingBlock(DFSOutputStream.java:1634)
      00:32:29.484 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.nextBlockOutputStream(DFSOutputStream.java:1451)
      00:32:29.484 	at org.apache.hadoop.hdfs.DFSOutputStream$DataStreamer.run(DFSOutputStream.java:673)
      

      alex.behm, could you take a look (or pull someone in to help with infra)?

      Attachments

        Activity

          People

            alex.behm Alexander Behm
            dhecht Daniel Hecht
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: