vaseems / xmemcached

Automatically exported from code.google.com/p/xmemcached
Apache License 2.0
0 stars 0 forks source link

use the spring integration of xmemcached in mapreduce tasks cause the child jvm does not exit #215

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
   I used the xmemcached with the spring 3.0 cache framework, and run mapreduce task in my hadoop clusters. When the job finished , the child JVMs which run the splited tasks not terminated properly, and the many unreleased connection to the memcache server suspended there.
  I'm not sure that xmemcached can be used in this kind of tasks, and I noticed that the thread created by xmemcached not running in daemon mode . Maybe that's why the mapreduce tasks finished, but the JVMs which they ran in not exited .
  So, how can I run xmemcached in the daemon threads in this case ?

Original issue reported on code.google.com by sw00...@gmail.com on 12 Sep 2012 at 1:39

GoogleCodeExporter commented 9 years ago
You can stop the client by shutdown method.

Original comment by killme2...@gmail.com on 12 Sep 2012 at 1:42

GoogleCodeExporter commented 9 years ago
1.4.2 was released.The reactor threads are daemon,so it will exit with JVM.

Original comment by killme2...@gmail.com on 19 Jul 2013 at 6:49