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

bin/accumulo should follow symbolic links

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.1, 1.6.0
    • Component/s: scripts
    • Labels:
      None
    • Environment:

      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

            • Assignee:
              elserj Josh Elser
              Reporter:
              kbotzum Keys Botzum
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: