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

ExistingMacIT.testExistingRunningInstance failed because it started on top of an already running instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6.2, 1.7.0
    • mini, test
    • None

    Description

      The test successfully started a second MAC on top of an already running MAC incorrectly. MiniAccumuloCluster#start should have thrown a RuntimeException in this case.

      Stacktrace
      
      java.lang.AssertionError: null
      	at org.junit.Assert.fail(Assert.java:86)
      	at org.junit.Assert.fail(Assert.java:95)
      	at org.apache.accumulo.test.ExistingMacIT.testExistingRunningInstance(ExistingMacIT.java:147)
      
      Standard Output
      
      2014-10-23 08:46:01,857 [conf.Configuration] DEBUG: Handling deprecation for all properties in config...
      2014-10-23 08:46:01,857 [conf.Configuration] DEBUG: Handling deprecation for fs.file.impl
      2014-10-23 08:46:04,945 [impl.MiniAccumuloClusterImpl] INFO : Starting MAC against instance miniInstance and zookeeper(s) localhost:45033.
      2014-10-23 08:46:07,752 [conf.Configuration] DEBUG: Handling deprecation for all properties in config...
      2014-10-23 08:46:07,754 [conf.Configuration] DEBUG: Handling deprecation for all properties in config...
      conf /.../test/target/mini-tests/org.apache.accumulo.test.ExistingMacIT_testExistingRunningInstance/conf/accumulo-site.xml
      2014-10-23 08:46:07,897 [zookeeper.ZooUtil] DEBUG: Trying to read instance id from file:/.../test/target/mini-tests/org.apache.accumulo.test.ExistingMacIT_testExistingRunningInstance/accumulo/instance_id
      2014-10-23 08:46:07,897 [zookeeper.ZooSession] DEBUG: Connecting to localhost:45033 with timeout 5000 with auth
      2014-10-23 08:46:07,897 [zookeeper.ZooKeeper] INFO : Initiating client connection, connectString=localhost:45033 sessionTimeout=5000 watcher=org.apache.accumulo.fate.zookeeper.ZooSession$ZooWatcher@a97b8a3
      2014-10-23 08:46:08,012 [impl.MiniAccumuloClusterImpl] INFO : Starting MAC against instance miniInstance and zookeeper(s) localhost:45033.
      

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 20m
                20m