Revision 6977
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/admin/upgrade/GenerateSystemMetadata.java | ||
---|---|---|
172 | 172 |
executor.awaitTermination(Long.MAX_VALUE, TimeUnit.HOURS); |
173 | 173 |
|
174 | 174 |
log.debug("DONE WAITING FOR THREAD"); |
175 |
|
|
176 |
log.debug("SHUTTING DOWN HAZELCAST"); |
|
177 |
HazelcastService.getInstance().stop(); |
|
178 |
log.debug("DONE SHUTTING DOWN HAZELCAST"); |
|
179 | 175 |
|
180 | 176 |
|
181 | 177 |
} catch (Exception e) { |
Also available in: Unified diff
do not shutdown hazelcast -- it needs to be running after the upgrade process so that Metacat actually works.
I think the newer version of HZ makes it so the threads are all released as needed.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5572