Created 08-29-2018 11:17 AM
accumulo TServer process giving error:connection refused to slnxhadoop04.in:9997.
Accumulo-tserver.err log
org.apache.thrift.transport.TTransportException: java.io.IOException: Too many open files at org.apache.accumulo.server.rpc.TNonblockingServerSocket.acceptImpl(TNonblockingServerSocket.java:118) at org.apache.accumulo.server.rpc.TNonblockingServerSocket.acceptImpl(TNonblockingServerSocket.java:44) at org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.handleAccept(CustomNonBlockingServer.java:250) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.select(CustomNonBlockingServer.java:225) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.run(CustomNonBlockingServer.java:184) Caused by: java.io.IOException: Too many open files at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) at org.apache.accumulo.server.rpc.TNonblockingServerSocket.acceptImpl(TNonblockingServerSocket.java:109) ... 5 more org.apache.thrift.transport.TTransportException: java.io.IOException: Too many open files at org.apache.accumulo.server.rpc.TNonblockingServerSocket.acceptImpl(TNonblockingServerSocket.java:118) at org.apache.accumulo.server.rpc.TNonblockingServerSocket.acceptImpl(TNonblockingServerSocket.java:44) at org.apache.thrift.transport.TServerTransport.accept(TServerTransport.java:31) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.handleAccept(CustomNonBlockingServer.java:250) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.select(CustomNonBlockingServer.java:225) at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.run(CustomNonBlockingServer.java:184) Caused by: java.io.IOException: Too many open files
Created 08-29-2018 01:49 PM
For Accumulo it is recommended to set the max number of open files (ulimit -n) to at least 32768.
Created 08-30-2018 06:05 AM
Thanks for the reply. I have set open files limit to 32768 and now accumulo Tserver is running but service check of accumulo is getting failed with error:
ERROR: org.apache.accumulo.core.client.TableExistsException: Table testtable exists 2018-08-30 11:21:28,554 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available. 2018-08-30 11:21:28,555 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available. 2018-08-30 11:21:28,555 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available. 2018-08-30 11:21:28,556 [shell.Shell] ERROR: java.lang.IllegalStateException: Not in a table context. Please use 'table <tableName>' to switch to a table, or use '-t' to specify a table if option is available.
Created 10-10-2018 01:35 PM
Just delete the table testtable. It must have errored out in the middle of a previous service check.