[ https://issues.apache.org/jira/browse/BOOKKEEPER-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14008050#comment-14008050 ]
Rakesh R commented on BOOKKEEPER-762: ------------------------------------- Here the expectation is to invert the 'UseHostNameAsBookieID' to true as my bookie was initially started with HostName=true and created the bookieId using the HostName. Cookie#isBookieHostCreatedFromIp() function is used to see the current format. Could you please tell me the return value of this function in your env. Tests is passing in my env and also in jenkins. > CookieTest failure > ------------------ > > Key: BOOKKEEPER-762 > URL: https://issues.apache.org/jira/browse/BOOKKEEPER-762 > Project: Bookkeeper > Issue Type: Bug > Reporter: Flavio Junqueira > > I'm getting this test failure in trunk consistently: > {noformat} > ------------------------------------------------------------------------------- > Test set: org.apache.bookkeeper.bookie.CookieTest > ------------------------------------------------------------------------------- > Tests run: 13, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.208 sec > <<< FAILURE! > testRestartWithIpAddressAsBookieID(org.apache.bookkeeper.bookie.CookieTest) > Time elapsed: 0.155 sec <<< FAILURE! > java.lang.AssertionError: Fails to recognize bookie which was started with > HostName as ID > at org.junit.Assert.fail(Assert.java:91) > at org.junit.Assert.assertTrue(Assert.java:43) > at > org.apache.bookkeeper.bookie.CookieTest.testRestartWithIpAddressAsBookieID(CookieTest.java:405) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) > at > org.junit.internal.runners.statements.FailOnTimeout$1.run(FailOnTimeout.java:28) > {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)