Accumulo is logging that "there are no loggers registered in zookeeper"
-----------------------------------------------------------------------

                 Key: ACCUMULO-183
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-183
             Project: Accumulo
          Issue Type: Bug
          Components: logger
    Affects Versions: 1.3.5
         Environment: CentOS release 5.6
single node Accumulo setup
            Reporter: Minh Duc Nguyen
            Assignee: Eric Newton


I am following the Accumulo 1.3 manual for basic admin with version 1.3.5rc7 on 
CentOS release 5.6 in a single node setup:

http://incubator.apache.org/accumulo/user_manual_1.3-incubating/Accumulo_Shell.html#Basic_Administration

On the monitor/status page, there are no "Logger Servers" listed.  "Log Events" 
shows the same error multiple times: "there are no loggers registered in 
zookeeper"

There are 5 Accumulo processes running: tserver, master, gc, monitor, tracer.  
logger is not running.
The following ports are not open (netstat -vatn) 
- logger.port.client
- trace.port.client

The tserver logs are full of this message: "there are no loggers registered in 
zookeeper"

this issue doesn't happen in Accumulo 1.4 trunk.


Here are some stacktraces from the logs. 

In logger.log:

23 15:59:36,918 [logger.LogService] FATAL: Failed to initialize log service 
args=[--address, localhost]
java.io.FileNotFoundException: /opt/accumulo/walogs/.lock (No such file or 
directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
        at 
org.apache.accumulo.server.logger.LogService.<init>(LogService.java:133)
        at org.apache.accumulo.server.logger.LogService.main(LogService.java:97)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.start.Main$1.run(Main.java:89)
        at java.lang.Thread.run(Thread.java:662)


In logger_localhost.err:

Thread "logger" died null
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.start.Main$1.run(Main.java:89)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.FileNotFoundException: /opt/accumulo/walogs/.lock (No such 
file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
        at 
org.apache.accumulo.server.logger.LogService.<init>(LogService.java:133)
        at org.apache.accumulo.server.logger.LogService.main(LogService.java:97)
        ... 6 more
Exception in thread "logger" java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
        at org.apache.accumulo.start.Main$1.run(Main.java:93)
        at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.accumulo.start.Main$1.run(Main.java:89)
        ... 1 more
Caused by: java.io.FileNotFoundException: /opt/accumulo/walogs/.lock (No such 
file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:84)
        at 
org.apache.accumulo.server.logger.LogService.<init>(LogService.java:133)
        at org.apache.accumulo.server.logger.LogService.main(LogService.java:97)
        ... 6 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to