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)

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 51dcfd8c257283e638d02399949868af95e2b2f3 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=51dcfd8 ]

        ACCUMULO-1492 Add the -H option to `find` to follow symlinks when looking for
        the log4j jar.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 51dcfd8c257283e638d02399949868af95e2b2f3 in branch refs/heads/1.5.1-SNAPSHOT from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=51dcfd8 ] ACCUMULO-1492 Add the -H option to `find` to follow symlinks when looking for the log4j jar.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 51dcfd8c257283e638d02399949868af95e2b2f3 in branch refs/heads/master from Josh Elser
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=51dcfd8 ]

        ACCUMULO-1492 Add the -H option to `find` to follow symlinks when looking for
        the log4j jar.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 51dcfd8c257283e638d02399949868af95e2b2f3 in branch refs/heads/master from Josh Elser [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=51dcfd8 ] ACCUMULO-1492 Add the -H option to `find` to follow symlinks when looking for the log4j jar.

          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:

              Development