You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2018/11/27 18:30:59 UTC

[GitHub] mikewalch opened a new issue #780: Exception while creating RFileWriter

mikewalch opened a new issue #780: Exception while creating RFileWriter
URL: https://github.com/apache/accumulo/issues/780
 
 
   Received the exception below while running Bulk import random walk test using the command below:
   
   ```
   ./bin/rwalk Bulk.xml
   ```
   The exception below will print immediately after starting the test:
   ```
   2018-11-27 13:18:54,163 [randomwalk.bulk.BulkMinusOne] ERROR: org.apache.hadoop.ipc.RemoteException(java.io.IOException): Requested replication factor of -1 is less than the required minimum of 1 for /tmp/bulk_89f008ac-6b65-47bc-8814-fb2f5f43a21a/part_0.rf, clientName=127.0.0.1
   	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.verifyReplication(BlockManager.java:1452)
   	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2409)
   	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2347)
   	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:774)
   	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:462)
   	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
   	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
   	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
   	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
   	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
   	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:1729)
   	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)
   
   org.apache.hadoop.ipc.RemoteException(java.io.IOException): Requested replication factor of -1 is less than the required minimum of 1 for /tmp/bulk_89f008ac-6b65-47bc-8814-fb2f5f43a21a/part_0.rf, clientName=127.0.0.1
   	at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.verifyReplication(BlockManager.java:1452)
   	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFileInt(FSNamesystem.java:2409)
   	at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.startFile(FSNamesystem.java:2347)
   	at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.create(NameNodeRpcServer.java:774)
   	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.create(ClientNamenodeProtocolServerSideTranslatorPB.java:462)
   	at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
   	at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523)
   	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991)
   	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:872)
   	at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:818)
   	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:1729)
   	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2678)
   
   	at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1497)
   	at org.apache.hadoop.ipc.Client.call(Client.java:1443)
   	at org.apache.hadoop.ipc.Client.call(Client.java:1353)
   	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)
   	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
   	at com.sun.proxy.$Proxy17.create(Unknown Source)
   	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.create(ClientNamenodeProtocolTranslatorPB.java:362)
   	at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
   	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:422)
   	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
   	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
   	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
   	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
   	at com.sun.proxy.$Proxy18.create(Unknown Source)
   	at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:273)
   	at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1205)
   	at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1184)
   	at org.apache.hadoop.hdfs.DFSClient.create(DFSClient.java:1122)
   	at org.apache.hadoop.hdfs.DistributedFileSystem$8.doCall(DistributedFileSystem.java:537)
   	at org.apache.hadoop.hdfs.DistributedFileSystem$8.doCall(DistributedFileSystem.java:534)
   	at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
   	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:548)
   	at org.apache.hadoop.hdfs.DistributedFileSystem.create(DistributedFileSystem.java:475)
   	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1169)
   	at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1149)
   	at org.apache.accumulo.core.file.rfile.RFileOperations.openWriter(RFileOperations.java:131)
   	at org.apache.accumulo.core.file.DispatchingFileFactory.openWriter(DispatchingFileFactory.java:66)
   	at org.apache.accumulo.core.file.FileOperations$WriterBuilder.build(FileOperations.java:379)
   	at org.apache.accumulo.core.client.rfile.RFileWriterBuilder.build(RFileWriterBuilder.java:112)
   	at org.apache.accumulo.testing.randomwalk.bulk.BulkPlusOne.bulkLoadLots(BulkPlusOne.java:83)
   	at org.apache.accumulo.testing.randomwalk.bulk.BulkMinusOne.runLater(BulkMinusOne.java:32)
   	at org.apache.accumulo.testing.randomwalk.bulk.BulkTest.lambda$visit$0(BulkTest.java:31)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at org.apache.accumulo.fate.util.LoggingRunnable.run(LoggingRunnable.java:35)
   	at java.lang.Thread.run(Thread.java:748)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services