You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/01/07 20:05:56 UTC

[jira] [Updated] (ACCUMULO-2152) start-all.sh does not work for gc and tracer roles when there are multiples given in conf files

     [ https://issues.apache.org/jira/browse/ACCUMULO-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Busbey updated ACCUMULO-2152:
----------------------------------

    Attachment: ACCUMULO-2152.1.patch.txt

tested fix by running on a cluster with dual masters/gc/tracers and successfully starting standby versions of same.

> start-all.sh does not work for gc and tracer roles when there are multiples given in conf files
> -----------------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2152
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2152
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Critical
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>         Attachments: ACCUMULO-2152.1.patch.txt
>
>
> 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.
> {noformat}
> -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.
> {noformat}
> The problem is how we loop over the available gc/tracer roles.
> patch en route.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)