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

ACCUMULO_LOG_HOST is incorrectly computed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.4.4, 1.5.0
    • 1.4.5, 1.5.1, 1.6.0
    • scripts
    • None

    Description

      I couldn't figure out why I wasn't getting any logforwarding set up on a small cluster. After verifying that DNS was correctly working for FQDN and hostnames, I dug into how the remote log host is configured.

      The grep included in all accumulo-env.sh examples will never work on a multi-node installation with the example monitor file. Assuming the user will replace "localhost" with the hostname of the host running the monitor, this will not work which is extremely misleading.

      The reason is because the grep doesn't exclude any whitespace, so, in o.a.a.s.Accumulo, the value will be replaced with the hostname for localhost (which will eat all of the logs intended for the monitor).

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: