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)