accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2127) example accumulo-site.xmls put Hadoop 2 jars ahead of Accumulo jars on classpath
Date Thu, 02 Jan 2014 22:25:51 GMT

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

Mike Drob commented on ACCUMULO-2127:
-------------------------------------

[~benpopp], thanks for the bug report! Would you be interested in submitting a patch for this,
as well?

> example accumulo-site.xmls put Hadoop 2 jars ahead of Accumulo jars on classpath
> --------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2127
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2127
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Ben Popp
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.6.0
>
>
> conf/examples/1GB/native-standalone/accumulo-site.xml currently reads 
> {noformat}
>   <property>
>     <name>general.classpaths</name>
>     <value>
>       <!-- Comment the following for hadoop-1.2 -->
>       $HADOOP_PREFIX/share/hadoop/common/.*.jar,
>       $HADOOP_PREFIX/share/hadoop/common/lib/.*.jar,
>       $HADOOP_PREFIX/share/hadoop/hdfs/.*.jar,
>       $HADOOP_PREFIX/share/hadoop/mapreduce/.*.jar,
>       $HADOOP_PREFIX/share/hadoop/yarn/.*.jar,
>       /usr/lib/hadoop/.*.jar,
>       /usr/lib/hadoop/lib/.*.jar,
>       /usr/lib/hadoop-hdfs/.*.jar,
>       /usr/lib/hadoop-mapreduce/.*.jar,
>       /usr/lib/hadoop-yarn/.*.jar,
>       $ACCUMULO_HOME/lib/accumulo-server.jar,
>       $ACCUMULO_HOME/lib/accumulo-core.jar,
>       $ACCUMULO_HOME/lib/accumulo-start.jar,
>       $ACCUMULO_HOME/lib/accumulo-fate.jar,
>       $ACCUMULO_HOME/lib/accumulo-proxy.jar,
>       $ACCUMULO_HOME/lib/[^.].*.jar,
>       $ZOOKEEPER_HOME/zookeeper[^.].*.jar,
>       $HADOOP_CONF_DIR,
>       $HADOOP_PREFIX/[^.].*.jar,
>       $HADOOP_PREFIX/lib/[^.].*.jar,
>     </value>
>     <description>Classpaths that accumulo checks for updates and class files.</description>
>   </property>
> {noformat}
> this has the unusual property of sticking Hadoop jars before Accumulo jars on the classpath
when using Hadoop 2.  
> we discovered this issue when one of our custom iterators loaded up the wrong version
of guava (Hadoop 2.2.0's guava 11.0.2 instead of Accumulo 1.6.0-SNAPSHOT's guava 14) due to
this ordering.  



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message