Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Accumulo >> mail # dev >> Issues running Minicluster in o.a.a.start.Main


Copy link to this message
-
Re: Issues running Minicluster in o.a.a.start.Main
On Tue, Oct 8, 2013 at 10:18 PM, Corey Nolet <[EMAIL PROTECTED]> wrote:

> I had started my bisect at the first commit at which it was introduced,
> though it looks like it still took me on a similar path as where it took
> you- needless to say, after the 9 or so steps that it allowed me to take,
> the minicuster command was still broken.
>

I think this comes back to my original point about the classpath.  The
Accumulo scripts are not setting up the Java classpath in a way thats
useful for MAC.  I was wondering if there was ever something special being
done to handle this case, it appears not.
>
>
> On Tue, Oct 8, 2013 at 10:12 PM, Keith Turner <[EMAIL PROTECTED]> wrote:
>
> > On Tue, Oct 8, 2013 at 10:06 PM, Corey Nolet <[EMAIL PROTECTED]> wrote:
> >
> > > With risk of making this more complicated- I just noticed that the
> first
> > > commit posted was still broken- though it didn't lock up like the
> version
> > > currently in master, it appeared to run but threw the ClassNotFound
> > > exception in the Main.err log.
> > >
> > > I'm still poking at this as well.
> > >
> >
> > I am going to take a look at the first place it was introduced in master
> > and see if it works there.
> >
> >
> > >
> > >
> > > On Tue, Oct 8, 2013 at 10:03 PM, Keith Turner <[EMAIL PROTECTED]>
> wrote:
> > >
> > > > I tried using git bisect (for the second time) to tackle this issue
> and
> > > ran
> > > > into an interesting issue.   git bisect took me from master to 1.4.
> >  This
> > > > was unexpected at first, but I understand why git is doing this.  I
> > would
> > > > like to avoid this and only consider commits in master.
> > > >
> > > > $ grep -A 5 org.apache.accumulo pom.xml | head -5
> > > >   <groupId>org.apache.accumulo</groupId>
> > > >   <artifactId>accumulo-project</artifactId>
> > > >   <version>1.6.0-SNAPSHOT</version>
> > > >   <packaging>pom</packaging>
> > > >   <name>Apache Accumulo Project</name>
> > > > $ git bisect start
> > > > $ git bisect bad
> > > > $ git bisect good 6965a8aaa2f53ec796a3487c1639affe0dfc6bfa
> > > > Bisecting: 540 revisions left to test after this (roughly 9 steps)
> > > > [c9469405c3d1aab3784ed5f290df4acaf8568489] ACCUMULO-1168
> > > > $ grep -A 5 org.apache.accumulo pom.xml | head -5
> > > >   <groupId>org.apache.accumulo</groupId>
> > > >   <artifactId>accumulo</artifactId>
> > > >   <packaging>pom</packaging>
> > > >   <version>1.4.3</version>
> > > >   <name>accumulo</name>
> > > >
> > > >
> > > > I found the a post[1] on stack overflow that mentioned using "git
> > > rev-list
> > > > --bisect --first-parent" so I tried the following command and saw git
> > > > segfault.  I blame this on our switch from svn.
> > > >
> > > > $ git rev-list --bisect --first-parent
> > > > 6965a8aaa2f53ec796a3487c1639affe0dfc6bfa..HEAD
> > > > Segmentation fault (core dumped)
> > > >
> > > > If I drop the --first-parent option then it shows me the same commit
> > that
> > > > git bisect does.
> > > >
> > > > $git rev-list --bisect 6965a8aaa2f53ec796a3487c1639affe0dfc6bfa..HEAD
> > > > c9469405c3d1aab3784ed5f290df4acaf8568489
> > > >
> > > > I am still poking at this.  If anyone has advice I would like to hear
> > it.
> > > >
> > > > [1]:
> > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/5638211/how-do-you-get-git-bisect-to-ignore-merged-branches
> > > >
> > > >
> > > >
> > > > On Tue, Oct 8, 2013 at 12:02 AM, Corey Nolet <[EMAIL PROTECTED]>
> > wrote:
> > > >
> > > > > Keith,
> > > > >
> > > > > You are right- I mistyped. I meant Main.err not Master.err. I just
> > > > verified
> > > > > this feature worked during the time of this
> > > > > commit: 6965a8aaa2f53ec796a3487c1639affe0dfc6bfa.
> > > > >
> > > > >
> > > > > On Mon, Oct 7, 2013 at 11:39 PM, Keith Turner <[EMAIL PROTECTED]>
> > > wrote:
> > > > >
> > > > > > I just tried running "accumulo miniscluster" and saw the same
> > thing.
> > > >  But
> > > > > > in Main.err, not Master.err are you sure you saw this in
> > Master.err?
> > > > > >
> > > > > > Has this ever worked?   By default the accumulo scripts