Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
We are no longer packaging log4j, and it needs to be on our classpath before the classloader can read modifications to general.classpaths in the accumulo-site.xml file. Line 84 of the accumulo script looks for the log4j in two possible hadoop subdirectories, but if it isn't in either of those accumulo init will not run (thanks to vines for tracking this down).
LOG4J_JAR=$(find $HADOOP_PREFIX/lib $HADOOP_PREFIX/share/hadoop/common/lib -name 'log4j*.jar' -print 2>/dev/null | head -1)
If we can't come up with a reasonable way to address the issue, we should at least document that the log4j jar must exist in one of those locations.