Li Ping Zhang created HBASE-7118:
------------------------------------
Summary: org.apache.hadoop.hbase.replication.TestReplicationPeer
failed with testResetZooKeeperSession unit test
Key: HBASE-7118
URL: https://issues.apache.org/jira/browse/HBASE-7118
Project: HBase
Issue Type: Bug
Affects Versions: 0.94.0, 0.92.0
Environment: RHEL 5.3, open JDK 1.6
Reporter: Li Ping Zhang
org.apache.hadoop.hbase.replication.TestReplicationPeer
Running org.apache.hadoop.hbase.replication.TestReplicationPeer
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 25.89 sec <<<
FAILURE!
--- stable failures, new for hbase 0.92.0, need to be fixed firstly.
--------------------------------
target/surefire-reports/org.apache.hadoop.hbase.replication.TestReplicationPeer.txt
output:
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 28.245 sec <<<
FAILURE!
testResetZooKeeperSession(org.apache.hadoop.hbase.replication.TestReplicationPeer)
Time elapsed: 25.247 sec <<< FAILURE!
junit.framework.AssertionFailedError: ReplicationPeer ZooKeeper session was not
properly expired.
at junit.framework.Assert.fail(Assert.java:50)
at
org.apache.hadoop.hbase.replication.TestReplicationPeer.testResetZooKeeperSession(TestReplicationPeer.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at
org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:62)
target/surefire-reports/org.apache.hadoop.hbase.replication.TestReplicationPeer-output.txt
content:
2012-03-25 20:52:42,979 INFO [main] zookeeper.MiniZooKeeperCluster(174):
Started MiniZK Cluster and connect 1 ZK server on client port: 21818
2012-03-25 20:52:43,023 DEBUG [main] zookeeper.ZKUtil(96): connection to
cluster: clusterId opening connection to ZooKeeper with ensemble
(localhost:21818)
2012-03-25 20:52:43,082 INFO [main] zookeeper.RecoverableZooKeeper(89): The
identifier of this process is [email protected]
2012-03-25 20:52:43,166 DEBUG [main-EventThread]
zookeeper.ZooKeeperWatcher(257): connection to cluster: clusterId Received
ZooKeeper Event, type=None, state=SyncConnected, path=null
2012-03-25 20:52:43,175 INFO [Thread-9] replication.TestReplicationPeer(53):
Expiring ReplicationPeer ZooKeeper session.
2012-03-25 20:52:43,196 DEBUG [main-EventThread]
zookeeper.ZooKeeperWatcher(334): connection to cluster:
clusterId-0x1364d226a3d0000 connected
2012-03-25 20:52:43,308 INFO [Thread-9] hbase.HBaseTestingUtility(1234): ZK
Closed Session 0x1364d226a3d0000; sleeping=25000
2012-03-25 20:53:08,323 INFO [Thread-9] replication.TestReplicationPeer(57):
Attempting to use expired ReplicationPeer ZooKeeper session.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira