Details
Description
Even when a second host is listed in the gc file, the gc process is only ever started on the first host listed in the gc file. The issue lies in lines 48-55 in start-here.sh as shown below:
for host in $HOSTS do if [ ${host} = ${GC} ] then ${bin}/start-server.sh $GC gc "garbage collector" break fi done
Simple fix:
for host in $HOSTS do if grep -q "^${host}\$" $ACCUMULO_HOME/conf/gc then ${bin}/start-server.sh ${host} gc "garbage collector" break fi done
This fix works in my 1.4.2 environment. stop-here.sh already sweeps all possible processes to kill them, so I assumed no fix was needed there, but on my last cluster shutdown I found the stop-all.sh script only stopped the GC on the Master host. That fix is still outstanding.
Attachments
Issue Links
- relates to
-
ACCUMULO-1967 magitator should respect presence or lack of gc file
- Resolved