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

bin/accumulo should verify log4j.jar was found

VotersWatch issueWatchers
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.7.0
    • 1.6.4, 1.7.1, 1.8.0
    • scripts
    • None

    Description

      Just spent a few hours trying to wrangle this one down. Ambari was failing to start all Accumulo components. After digging in, I realized that when Ambari was invoking accumulo, it was failing to find the log4j jar.

      It turns out this was a deployment issue where the home directory for the accumulo user was never created and the find command failed:

      find: cannot stat current directory: Permission denied
      

      Sadly, I couldn't find this error until I manually edited the accumulo script to remove the 2>/dev/null redirect. We should have been able to realize that we never found the log4j jar and then clearly printed an error and exited instead of leading me on a goosechase by silently proceeding.

      Same goes for the slf4j jars.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                Slack

                  Issue deployment