accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1339) log4j jar is required to be in a specific place
Date Thu, 25 Apr 2013 02:26:16 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641316#comment-13641316
] 

Billie Rinaldi commented on ACCUMULO-1339:
------------------------------------------

It's possible it was only a problem because I was running hadoop out of its project directory?
 If that's actually the case, I would be OK with just making a mental note of how to fix the
issue in case a user encounters it with some untested version of hadoop.
                
> log4j jar is required to be in a specific place
> -----------------------------------------------
>
>                 Key: ACCUMULO-1339
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1339
>             Project: Accumulo
>          Issue Type: Bug
>          Components: scripts
>            Reporter: Billie Rinaldi
>            Assignee: John Vines
>             Fix For: 1.5.0
>
>
> 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).
> {noformat}
> LOG4J_JAR=$(find $HADOOP_PREFIX/lib $HADOOP_PREFIX/share/hadoop/common/lib -name 'log4j*.jar'
-print 2>/dev/null | head -1)
> {noformat}
> 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.

--
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