accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keys Botzum (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-1492) bin/accumulo should follow symbolic links
Date Tue, 04 Jun 2013 18:05:19 GMT
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

Mime
View raw message