Josh Elser created ACCUMULO-2941:
------------------------------------

             Summary: LargestFirstMemoryManagerTest requires ZK to be active
                 Key: ACCUMULO-2941
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2941
             Project: Accumulo
          Issue Type: Bug
          Components: test
            Reporter: Josh Elser
            Assignee: Josh Elser
            Priority: Minor
             Fix For: 1.7.0


Finally tracked down this test occasionally failing. Fails when ZK is not 
running, passes when it is.

{noformat}
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 71.473 sec <<< 
FAILURE! - in 
org.apache.accumulo.server.tabletserver.LargestFirstMemoryManagerTest
test(org.apache.accumulo.server.tabletserver.LargestFirstMemoryManagerTest)  
Time elapsed: 71.382 sec  <<< ERROR!
java.lang.RuntimeException: Failed to connect to zookeeper (localhost) within 
2x zookeeper timeout period 30000
        at 
org.apache.accumulo.fate.zookeeper.ZooSession.connect(ZooSession.java:92)
        at 
org.apache.accumulo.fate.zookeeper.ZooSession.getSession(ZooSession.java:153)
        at 
org.apache.accumulo.fate.zookeeper.ZooReader.getSession(ZooReader.java:35)
        at 
org.apache.accumulo.fate.zookeeper.ZooReader.getZooKeeper(ZooReader.java:39)
        at 
org.apache.accumulo.fate.zookeeper.ZooCache.getZooKeeper(ZooCache.java:58)
        at org.apache.accumulo.fate.zookeeper.ZooCache.retry(ZooCache.java:150)
        at org.apache.accumulo.fate.zookeeper.ZooCache.get(ZooCache.java:277)
        at org.apache.accumulo.fate.zookeeper.ZooCache.get(ZooCache.java:224)
        at 
org.apache.accumulo.server.conf.ZooConfiguration.get(ZooConfiguration.java:121)
        at 
org.apache.accumulo.server.conf.ZooConfiguration._get(ZooConfiguration.java:90)
        at 
org.apache.accumulo.server.conf.ZooConfiguration.get(ZooConfiguration.java:115)
        at 
org.apache.accumulo.core.conf.AccumuloConfiguration.getMemoryInBytes(AccumuloConfiguration.java:152)
        at 
org.apache.accumulo.server.tabletserver.LargestFirstMemoryManager.init(LargestFirstMemoryManager.java:104)
        at 
org.apache.accumulo.server.tabletserver.LargestFirstMemoryManagerTest.test(LargestFirstMemoryManagerTest.java:45)
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to