Closed GoogleCodeExporter closed 9 years ago
Original comment by westm...@gmail.com
on 12 Jul 2013 at 4:19
The attached patch show one way to stop the ResultStateSweeper for VXQuery. Its
one suggested solution. One more familiar with the process may have other
ideas.
First time I have created a git patch. I hope this works for you.
Original comment by ecarm...@ucr.edu
on 12 Jul 2013 at 8:36
Attachments:
Found a simpler solution. Just change the thread to be a daemon thread.
diff --git
a/hyracks/hyracks-control/hyracks-control-common/src/main/java/edu/uci/ics/hyrac
ks/control/common/application/ApplicationContext.java
b/hyracks/hyracks-control/hyracks-control-common/src/main/java/edu/uci/ics/hyrac
ks/
index 2ca7ccf..828f2fb 100644
---
a/hyracks/hyracks-control/hyracks-control-common/src/main/java/edu/uci/ics/hyrac
ks/control/common/application/ApplicationContext.java
+++
b/hyracks/hyracks-control/hyracks-control-common/src/main/java/edu/uci/ics/hyrac
ks/control/common/application/ApplicationContext.java
@@ -31,7 +31,9 @@ public abstract class ApplicationContext implements
IApplicationContext {
protected IJobSerializerDeserializerContainer jobSerDeContainer = new JobSerializerDeserializerContainer();
protected ThreadFactory threadFactory = new ThreadFactory() {
public Thread newThread(Runnable r) {
- return new Thread(r);
+ Thread t = new Thread(r);
+ t.setDaemon(true);
+ return t;
}
};
Original comment by ecarm...@ucr.edu
on 27 Aug 2013 at 8:43
Patch was committed a while back.
Original comment by ecarm...@ucr.edu
on 5 Jun 2014 at 2:27
Original issue reported on code.google.com by
ecarm...@ucr.edu
on 9 Jul 2013 at 7:54