Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3583

TestMergeState.test and ShellServerTest.deleterows broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.3, 1.6.3, 1.7.0
    • master
    • None

    Description

      The fix for ACCUMULO-3580 revealed a broken test

      It looks like the test is just expecting an incorrect number of returned items, because it was depending on the broken behavior that was fixed in ACCUMULO-3580.

      ShellServerTest seems to have gotten the Master in a bad state where it fails to respond to the client's request:

      java.lang.Exception: test timed out after 45000 milliseconds
      	at java.net.SocketInputStream.socketRead0(Native Method)
      	at java.net.SocketInputStream.read(SocketInputStream.java:152)
      	at java.net.SocketInputStream.read(SocketInputStream.java:122)
      	at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
      	at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
      	at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
      	at org.apache.thrift.transport.TIOStreamTransport.read(TIOStreamTransport.java:127)
      	at org.apache.thrift.transport.TTransport.readAll(TTransport.java:84)
      	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.accumulo.core.client.impl.ThriftTransportPool$CachedTTransport.readAll(ThriftTransportPool.java:275)
      	at org.apache.thrift.protocol.TCompactProtocol.readByte(TCompactProtocol.java:601)
      	at org.apache.thrift.protocol.TCompactProtocol.readMessageBegin(TCompactProtocol.java:470)
      	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:69)
      	at org.apache.accumulo.core.master.thrift.MasterClientService$Client.recv_waitForTableOperation(MasterClientService.java:527)
      	at org.apache.accumulo.core.master.thrift.MasterClientService$Client.waitForTableOperation(MasterClientService.java:512)
      	at org.apache.accumulo.core.client.admin.TableOperationsImpl.waitForTableOperation(TableOperationsImpl.java:254)
      	at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:296)
      	at org.apache.accumulo.core.client.admin.TableOperationsImpl.doTableOperation(TableOperationsImpl.java:282)
      	at org.apache.accumulo.core.client.admin.TableOperationsImpl.deleteRows(TableOperationsImpl.java:524)
      	at org.apache.accumulo.core.util.shell.commands.DeleteRowsCommand.execute(DeleteRowsCommand.java:39)
      	at org.apache.accumulo.core.util.shell.Shell.execCommand(Shell.java:600)
      	at org.apache.accumulo.test.ShellServerTest.exec(ShellServerTest.java:122)
      	at org.apache.accumulo.test.ShellServerTest.exec(ShellServerTest.java:131)
      	at org.apache.accumulo.test.ShellServerTest.exec(ShellServerTest.java:127)
      	at org.apache.accumulo.test.ShellServerTest.deleterows(ShellServerTest.java:659)
      

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              ctubbsii Christopher Tubbs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h