Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-183

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.3.5-incubating
    • None
    • logger
    • None
    • CentOS release 5.6
      single node Accumulo setup

    Description

      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

      Attachments

        Activity

          People

            ecn Eric C. Newton
            mnguyen Minh Duc Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: