You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Keys Botzum (JIRA)" <ji...@apache.org> on 2013/06/04 20:05:19 UTC

[jira] [Created] (ACCUMULO-1492) bin/accumulo should follow symbolic links

Keys Botzum created ACCUMULO-1492:
-------------------------------------

             Summary: bin/accumulo should follow symbolic links
                 Key: ACCUMULO-1492
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1492
             Project: Accumulo
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.5.1
         Environment: MapR 2.1.1
            Reporter: Keys Botzum
            Priority: Trivial


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)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira