[
https://issues.apache.org/jira/browse/HAMA-679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502196#comment-13502196
]
Thomas Jungblut commented on HAMA-679:
--------------------------------------
That is no closing failure, it is because the ZK was started as embedded server
which is not supported.
I hope that this will be resolved by the update. Otherwise we have to provide
the InMemoryDataTree somehow.
> ZooKeeper is not shutdown gracefully in TestZooKeeper
> -----------------------------------------------------
>
> Key: HAMA-679
> URL: https://issues.apache.org/jira/browse/HAMA-679
> Project: Hama
> Issue Type: Improvement
> Components: test
> Reporter: Apurv Verma
> Priority: Minor
> Labels: cleanup, zookeeper
> Fix For: 0.7.0
>
>
> javax.management.InstanceNotFoundException:
> org.apache.ZooKeeperService:name0=StandaloneServer_port-1,name1=InMemoryDataTree
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415)
> at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403)
> at
> com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506)
> at
> org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:94)
> at
> org.apache.zookeeper.jmx.MBeanRegistry.unregister(MBeanRegistry.java:111)
> at
> org.apache.zookeeper.server.ZooKeeperServer.unregisterJMX(ZooKeeperServer.java:424)
> at
> org.apache.zookeeper.server.ZooKeeperServer.shutdown(ZooKeeperServer.java:417)
> at
> org.apache.zookeeper.server.ZooKeeperServerMain.runFromConfig(ZooKeeperServerMain.java:113)
> at
> org.apache.hama.bsp.sync.ZooKeeperSyncServerImpl.start(ZooKeeperSyncServerImpl.java:80)
> at org.apache.hama.bsp.TestZooKeeper$1.run(TestZooKeeper.java:77)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
--
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