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

bin/accumulo should follow symbolic links

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5.0
    • 1.5.1, 1.6.0
    • scripts
    • None
    • MapR 2.1.1

    Description

      The accumulo script runs the find command on $HADOOP_PREFIX/lib to look for a log4j jar file. In some environments (such as with MapR) there may be symbolic links in the Accumulo configuration. Thus we need 'find' to follow links. So add the -H option:

      LOG4J_JAR=$(find -H $HADOOP_PREFIX/lib $HADOOP_PREFIX/share/hadoop/common/lib -name 'log4j*.jar' -print 2>/dev/null | head -1)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: