accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3431) TabletServer doesn't exit when CustomNonBlockingServer errors
Date Sun, 05 Apr 2015 05:08:33 GMT

     [ https://issues.apache.org/jira/browse/ACCUMULO-3431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josh Elser updated ACCUMULO-3431:
---------------------------------
    Fix Version/s:     (was: 1.7.0)
                   1.8.0

> TabletServer doesn't exit when CustomNonBlockingServer errors
> -------------------------------------------------------------
>
>                 Key: ACCUMULO-3431
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3431
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: tserver
>            Reporter: Josh Elser
>             Fix For: 1.8.0
>
>
> In testing out ACCUMULO-2815, I've had situations where I misconfigured the Thrift server.
I do get a nice message when this happens.
> {noformat}
> 2014-12-17 13:28:29,085 [rpc.CustomNonBlockingServer] ERROR: run() exiting due to uncaught
error
> java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Cannot read.
Remote side has closed. Tried to read 4 bytes, but only got 0 bytes. (This is often indicative
of an internal error on the server side. Please check your server logs.)
>         at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
>         at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory$1.run(UGIAssumingTransportFactory.java:51)
>         at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory$1.run(UGIAssumingTransportFactory.java:48)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:356)
>         at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1608)
>         at org.apache.accumulo.core.rpc.UGIAssumingTransportFactory.getTransport(UGIAssumingTransportFactory.java:48)
>         at org.apache.accumulo.server.rpc.WrappedTFramedTransportFactory.getTransport(WrappedTFramedTransportFactory.java:46)
>         at org.apache.thrift.server.AbstractNonblockingServer$FrameBuffer.<init>(AbstractNonblockingServer.java:316)
>         at org.apache.accumulo.server.rpc.CustomNonBlockingServer$CustomFrameBuffer.<init>(CustomNonBlockingServer.java:141)
>         at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.handleAccept(CustomNonBlockingServer.java:253)
>         at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.select(CustomNonBlockingServer.java:224)
>         at org.apache.accumulo.server.rpc.CustomNonBlockingServer$SelectAcceptThread.run(CustomNonBlockingServer.java:183)
> Caused by: org.apache.thrift.transport.TTransportException: Cannot read. Remote side
has closed. Tried to read 4 bytes, but only got 0 bytes. (This is often indicative of an internal
error on the server side. Please check your server logs.)
>         at org.apache.thrift.transport.TTransport.readAll(TTransport.java:86)
>         at org.apache.thrift.transport.TFramedTransport.readFrame(TFramedTransport.java:129)
>         at org.apache.thrift.transport.TFramedTransport.read(TFramedTransport.java:101)
>         at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
>         at org.apache.thrift.transport.TSaslTransport.receiveSaslMessage(TSaslTransport.java:178)
>         at org.apache.thrift.transport.TSaslServerTransport.handleSaslStartMessage(TSaslServerTransport.java:125)
>         at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:253)
>         at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
>         at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
>         ... 12 more
> {noformat}
> In the Master, this exits the process (as expected), but the TabletServer stays running
for some reason. Most likely, it should also exit.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message