Description
When using multiple gc / tracer roles, start-here.sh works properly, but start-all.sh fails to create any.
instead it gives messages as though it is creating just on the first listed host and instead errors out.
-bash-4.1$ cat $ACCUMULO_CONF_DIR/gc master1.example.com master2.example.com -bash-4.1$ ./bin/start-all.sh Starting tablet servers and loggers ........ done Starting tablet server on worker1.example.com Starting logger on worker1.example.com 2014-01-07 10:54:01,938 [server.Accumulo] INFO : Attempting to talk to zookeeper SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH/lib/hadoop/client-0.20/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH/lib/hadoop/client-0.20/slf4j-log4j12.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 2014-01-07 10:54:02,112 [server.Accumulo] INFO : Zookeeper connected and initialized, attemping to talk to HDFS 2014-01-07 10:54:03,110 [server.Accumulo] INFO : Connected to HDFS Starting master on master1.example.com Starting master on master2.example.com Starting gc on master1.example.com Starting monitor on master1.example.com Starting tracer on master1.example -bash-4.1$ ls -lah /var/log/accumulo/ total 124K drwxr-xr-x 3 accumulo accumulo 4.0K Jan 7 10:54 . drwxr-xr-x. 22 root root 4.0K Jan 5 04:46 .. -rw-rw-r-- 1 accumulo accumulo 0 Jan 7 10:54 master2.example.com_master1.example.com.err -rw-rw-r-- 1 accumulo accumulo 107 Jan 7 10:54 master2.example.com_master1.example.com.out -rw-rw-r-- 1 accumulo accumulo 51K Jan 7 10:54 master_master1.example.com.debug.log -rw-rw-r-- 1 accumulo accumulo 425 Jan 7 10:54 master_master1.example.com.err -rw-rw-r-- 1 accumulo accumulo 17K Jan 7 10:54 master_master1.example.com.log -rw-rw-r-- 1 accumulo accumulo 0 Jan 7 10:54 master_master1.example.com.out -rw-rw-r-- 1 accumulo accumulo 13K Jan 7 10:54 monitor_master1.example.com.debug.log -rw-rw-r-- 1 accumulo accumulo 425 Jan 7 10:54 monitor_master1.example.com.err -rw-rw-r-- 1 accumulo accumulo 11K Jan 7 10:54 monitor_master1.example.com.log -rw-rw-r-- 1 accumulo accumulo 0 Jan 7 10:54 monitor_master1.example.com.out -bash-4.1$ cat /var/log/accumulo/master2.example.com_master1.example.com.out Classname master2.example.com not found. Please make sure you use the wholly qualified package name.
The problem is how we loop over the available gc/tracer roles.
patch en route.
Attachments
Attachments
Issue Links
- relates to
-
ACCUMULO-2153 configuration file for gc role should remain optional
- Resolved