accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Created] (ACCUMULO-2848) TServerUtil tries to access nonexistent member in Thrift TServer
Date Fri, 30 May 2014 17:35:01 GMT
Josh Elser created ACCUMULO-2848:

             Summary: TServerUtil tries to access nonexistent member in Thrift TServer
                 Key: ACCUMULO-2848
             Project: Accumulo
          Issue Type: Bug
          Components: tserver
    Affects Versions: 1.6.0, 1.5.1
            Reporter: Josh Elser
            Priority: Minor
             Fix For: 1.5.2, 1.6.1, 1.7.0

In trying to get the tserver to shut down cleanly for ACCUMULO-2739, I noticed:

  public static void stopTServer(TServer s) {
    if (s == null)
    try {
      Field f = s.getClass().getDeclaredField("executorService_");
      ExecutorService es = (ExecutorService) f.get(s);
    } catch (Exception e) {
      TServerUtils.log.error("Unable to call shutdownNow", e);

In Thrift 0.9.0, the {{executorService_}} doesn't appear to exist anymore on the implementation
of TServer we're using.

2014-05-30 13:17:13,844 [util.TServerUtils] ERROR: Unable to call shutdownNow
java.lang.NoSuchFieldException: executorService_
	at java.lang.Class.getDeclaredField(
	at org.apache.accumulo.server.util.TServerUtils.stopTServer(
	at org.apache.accumulo.tserver.TabletServer.main(

This message was sent by Atlassian JIRA

View raw message