While closing connection

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5087

  • via Apache's JIRA Issue Tracker by Victoria Markman, 1 year ago
    While closing connection
  • [Amazon](500150) Error setting/closing connection: Connection timed out.
  • [Amazon](500150) Error setting/closing connection: Connection refused.
  • Stack trace

    • java.sql.SQLException: While closing connection at net.hydromatic.avatica.Helper.createException( at net.hydromatic.avatica.AvaticaConnection.close( at sqlline.Commands.close( at sqlline.Commands.quit( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at sqlline.ReflectiveCommandHandler.execute( at sqlline.SqlLine.dispatch( at sqlline.SqlLine.initArgs( at sqlline.SqlLine.begin( at sqlline.SqlLine.start( at sqlline.SqlLine.main( Caused by: java.lang.IllegalStateException: Failure while closing accountor. Expected private and shared pools to be set to initial values. However, one or more were not. Stats are zone init allocated delta private 0 0 0 shared 8589934592 8589934115 477. at org.apache.drill.exec.memory.AtomicRemainder.close( at org.apache.drill.exec.memory.Accountor.close( at org.apache.drill.exec.memory.TopLevelAllocator.close( at org.apache.drill.exec.client.DrillClient.close( at org.apache.drill.jdbc.impl.DrillConnectionImpl.cleanup( at org.apache.drill.jdbc.impl.DrillHandler.onConnectionClose( at net.hydromatic.avatica.AvaticaConnection.close( ... 12 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.