You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by Ed Kohlwey <ek...@gmail.com> on 2013/04/26 21:44:55 UTC

AccumuloClassloader on OS X?

I'm trying to run the 1.5 branch on OS X and having what appear to be
issues with AccumuloClassloader not picking up the jars that are provided
by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked up by
the AccumuloClassloader but they work fine when I pass them in manually by
editing the shell script.

Have any of the dev's encountered issues with this? What is the motivation
for moving classpath setup into Java code?

Re: AccumuloClassloader on OS X?

Posted by John Vines <vi...@apache.org>.
accumulo-env.sh sets up the environment and JVM settings. The site.xml is
basic level internal configurations, including the settings for the various
classloaders we have. Ideally, I would like to see one set of (at least
env.sh) configurations that work for both.

Actually no, ideally I would like to see hadoop stop moving things around.
Then we really wouldn't have these type of simple issues.


On Mon, Apr 29, 2013 at 5:12 PM, Ed Kohlwey <ek...@gmail.com> wrote:

> This doesn't seem very DRY. Is there a reason to have the configuration in
> two places?
>
>
> On Fri, Apr 26, 2013 at 5:15 PM, John Vines <vi...@apache.org> wrote:
>
> > No, the accumulo-site.xml file needs to have the classpath modified and
> the
> > accumulo-env.sh needs to use an alternative line to set HADOOP_CONF_DIR
> >
> >
> > On Fri, Apr 26, 2013 at 5:07 PM, Ed Kohlwey <ek...@gmail.com> wrote:
> >
> > > Yes, there's only one file to edit, right?
> > > On Apr 26, 2013 3:48 PM, "John Vines" <vi...@apache.org> wrote:
> > >
> > > > Did you edit the accumulo site and env files to include the commented
> > out
> > > > section about hadoop2?
> > > >
> > > >
> > > > On Fri, Apr 26, 2013 at 3:44 PM, Ed Kohlwey <ek...@gmail.com>
> > wrote:
> > > >
> > > > > I'm trying to run the 1.5 branch on OS X and having what appear to
> be
> > > > > issues with AccumuloClassloader not picking up the jars that are
> > > provided
> > > > > by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked
> > up
> > > by
> > > > > the AccumuloClassloader but they work fine when I pass them in
> > manually
> > > > by
> > > > > editing the shell script.
> > > > >
> > > > > Have any of the dev's encountered issues with this? What is the
> > > > motivation
> > > > > for moving classpath setup into Java code?
> > > > >
> > > >
> > >
> >
>

Re: AccumuloClassloader on OS X?

Posted by Ed Kohlwey <ek...@gmail.com>.
This doesn't seem very DRY. Is there a reason to have the configuration in
two places?


On Fri, Apr 26, 2013 at 5:15 PM, John Vines <vi...@apache.org> wrote:

> No, the accumulo-site.xml file needs to have the classpath modified and the
> accumulo-env.sh needs to use an alternative line to set HADOOP_CONF_DIR
>
>
> On Fri, Apr 26, 2013 at 5:07 PM, Ed Kohlwey <ek...@gmail.com> wrote:
>
> > Yes, there's only one file to edit, right?
> > On Apr 26, 2013 3:48 PM, "John Vines" <vi...@apache.org> wrote:
> >
> > > Did you edit the accumulo site and env files to include the commented
> out
> > > section about hadoop2?
> > >
> > >
> > > On Fri, Apr 26, 2013 at 3:44 PM, Ed Kohlwey <ek...@gmail.com>
> wrote:
> > >
> > > > I'm trying to run the 1.5 branch on OS X and having what appear to be
> > > > issues with AccumuloClassloader not picking up the jars that are
> > provided
> > > > by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked
> up
> > by
> > > > the AccumuloClassloader but they work fine when I pass them in
> manually
> > > by
> > > > editing the shell script.
> > > >
> > > > Have any of the dev's encountered issues with this? What is the
> > > motivation
> > > > for moving classpath setup into Java code?
> > > >
> > >
> >
>

Re: AccumuloClassloader on OS X?

Posted by John Vines <vi...@apache.org>.
No, the accumulo-site.xml file needs to have the classpath modified and the
accumulo-env.sh needs to use an alternative line to set HADOOP_CONF_DIR


On Fri, Apr 26, 2013 at 5:07 PM, Ed Kohlwey <ek...@gmail.com> wrote:

> Yes, there's only one file to edit, right?
> On Apr 26, 2013 3:48 PM, "John Vines" <vi...@apache.org> wrote:
>
> > Did you edit the accumulo site and env files to include the commented out
> > section about hadoop2?
> >
> >
> > On Fri, Apr 26, 2013 at 3:44 PM, Ed Kohlwey <ek...@gmail.com> wrote:
> >
> > > I'm trying to run the 1.5 branch on OS X and having what appear to be
> > > issues with AccumuloClassloader not picking up the jars that are
> provided
> > > by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked up
> by
> > > the AccumuloClassloader but they work fine when I pass them in manually
> > by
> > > editing the shell script.
> > >
> > > Have any of the dev's encountered issues with this? What is the
> > motivation
> > > for moving classpath setup into Java code?
> > >
> >
>

Re: AccumuloClassloader on OS X?

Posted by Ed Kohlwey <ek...@gmail.com>.
Yes, there's only one file to edit, right?
On Apr 26, 2013 3:48 PM, "John Vines" <vi...@apache.org> wrote:

> Did you edit the accumulo site and env files to include the commented out
> section about hadoop2?
>
>
> On Fri, Apr 26, 2013 at 3:44 PM, Ed Kohlwey <ek...@gmail.com> wrote:
>
> > I'm trying to run the 1.5 branch on OS X and having what appear to be
> > issues with AccumuloClassloader not picking up the jars that are provided
> > by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked up by
> > the AccumuloClassloader but they work fine when I pass them in manually
> by
> > editing the shell script.
> >
> > Have any of the dev's encountered issues with this? What is the
> motivation
> > for moving classpath setup into Java code?
> >
>

Re: AccumuloClassloader on OS X?

Posted by John Vines <vi...@apache.org>.
Did you edit the accumulo site and env files to include the commented out
section about hadoop2?


On Fri, Apr 26, 2013 at 3:44 PM, Ed Kohlwey <ek...@gmail.com> wrote:

> I'm trying to run the 1.5 branch on OS X and having what appear to be
> issues with AccumuloClassloader not picking up the jars that are provided
> by Hadoop. I'm using Hadoop 2.0. None of the hadoop jars get picked up by
> the AccumuloClassloader but they work fine when I pass them in manually by
> editing the shell script.
>
> Have any of the dev's encountered issues with this? What is the motivation
> for moving classpath setup into Java code?
>