You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Jonathan Hsieh <jo...@cloudera.com> on 2013/04/26 02:34:45 UTC

[DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
default for trunk precommit and trunk jenkins jobs?

Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
always fail or always hang.  We are getting close on getting the hadoop2 +
trunk build passing (right now there are a combination of tests that hang
sometimes or fail sometimes -- and I've seen a run where the hbase-server
module passed on hadoop2).

Initially I was thinking that we'd create a two-headed precommit script
that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
down in a thread so may not have been considered by many folks.   I'd like
to suggest (actually Elliot's idea) that we set the default precommit trunk
build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
trunk to hadoop2 as well.  We would however keep the 0.95 branch against
hadoop 1.x and would thus get coverage of much of the new code under both
setups.

This buys us two things:

1) We get coverage against hadoop2, which will likely be the post
singularity hbase should use as a default.
2) We end up having the same number of build jobs and avoid having two
separate hadoop2 hadoop1 precommit builds for trunk.

Thoughts?

Jon

-- 
// Jonathan Hsieh (shay)
// Software Engineer, Cloudera
// jon@cloudera.com

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Ted Yu <yu...@gmail.com>.
I didn't find one.

I opened HBASE-9068 and attached a patch there.

Cheers

On Sat, Jul 27, 2013 at 9:30 PM, Ted Yu <yu...@gmail.com> wrote:

> Is there a JIRA to switch precommit build for trunk to run tests against
> hadoop 2 ?
>
> Cheers
>
>
> On Thu, Apr 25, 2013 at 8:47 PM, Andrew Purtell <ap...@apache.org>wrote:
>
>> +1 to Elliot's idea.
>>
>>
>> On Thu, Apr 25, 2013 at 5:39 PM, Elliott Clark <ec...@apache.org> wrote:
>>
>> > I think trunk/0.97 should build on hadoop 2 by default, and 0.95/0.96
>> > should stay on hadoop1 by default.  Then we get pretty good coverage
>> > on jenkins and those two branches are staying pretty close to each
>> > other right now so we should notice any breakage due to hadoop compat
>> > pretty easily.
>> >
>> >
>> > On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com>
>> wrote:
>> > > tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
>> > > default for trunk precommit and trunk jenkins jobs?
>> > >
>> > > Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk
>> that
>> > > always fail or always hang.  We are getting close on getting the
>> hadoop2
>> > +
>> > > trunk build passing (right now there are a combination of tests that
>> hang
>> > > sometimes or fail sometimes -- and I've seen a run where the
>> hbase-server
>> > > module passed on hadoop2).
>> > >
>> > > Initially I was thinking that we'd create a two-headed precommit
>> script
>> > > that ran unit tests against trunk on hadoop1 and hadoop2.  This was
>> far
>> > > down in a thread so may not have been considered by many folks.   I'd
>> > like
>> > > to suggest (actually Elliot's idea) that we set the default precommit
>> > trunk
>> > > build to be against hadoop2.  Over the "normal" jenkins runs, we'd
>> move
>> > > trunk to hadoop2 as well.  We would however keep the 0.95 branch
>> against
>> > > hadoop 1.x and would thus get coverage of much of the new code under
>> both
>> > > setups.
>> > >
>> > > This buys us two things:
>> > >
>> > > 1) We get coverage against hadoop2, which will likely be the post
>> > > singularity hbase should use as a default.
>> > > 2) We end up having the same number of build jobs and avoid having two
>> > > separate hadoop2 hadoop1 precommit builds for trunk.
>> > >
>> > > Thoughts?
>> > >
>> > > Jon
>> > >
>> > > --
>> > > // Jonathan Hsieh (shay)
>> > > // Software Engineer, Cloudera
>> > > // jon@cloudera.com
>> >
>>
>>
>>
>> --
>> Best regards,
>>
>>    - Andy
>>
>> Problems worthy of attack prove their worth by hitting back. - Piet Hein
>> (via Tom White)
>>
>
>

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Ted Yu <yu...@gmail.com>.
Is there a JIRA to switch precommit build for trunk to run tests against
hadoop 2 ?

Cheers

On Thu, Apr 25, 2013 at 8:47 PM, Andrew Purtell <ap...@apache.org> wrote:

> +1 to Elliot's idea.
>
>
> On Thu, Apr 25, 2013 at 5:39 PM, Elliott Clark <ec...@apache.org> wrote:
>
> > I think trunk/0.97 should build on hadoop 2 by default, and 0.95/0.96
> > should stay on hadoop1 by default.  Then we get pretty good coverage
> > on jenkins and those two branches are staying pretty close to each
> > other right now so we should notice any breakage due to hadoop compat
> > pretty easily.
> >
> >
> > On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com>
> wrote:
> > > tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> > > default for trunk precommit and trunk jenkins jobs?
> > >
> > > Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk
> that
> > > always fail or always hang.  We are getting close on getting the
> hadoop2
> > +
> > > trunk build passing (right now there are a combination of tests that
> hang
> > > sometimes or fail sometimes -- and I've seen a run where the
> hbase-server
> > > module passed on hadoop2).
> > >
> > > Initially I was thinking that we'd create a two-headed precommit script
> > > that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> > > down in a thread so may not have been considered by many folks.   I'd
> > like
> > > to suggest (actually Elliot's idea) that we set the default precommit
> > trunk
> > > build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> > > trunk to hadoop2 as well.  We would however keep the 0.95 branch
> against
> > > hadoop 1.x and would thus get coverage of much of the new code under
> both
> > > setups.
> > >
> > > This buys us two things:
> > >
> > > 1) We get coverage against hadoop2, which will likely be the post
> > > singularity hbase should use as a default.
> > > 2) We end up having the same number of build jobs and avoid having two
> > > separate hadoop2 hadoop1 precommit builds for trunk.
> > >
> > > Thoughts?
> > >
> > > Jon
> > >
> > > --
> > > // Jonathan Hsieh (shay)
> > > // Software Engineer, Cloudera
> > > // jon@cloudera.com
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Andrew Purtell <ap...@apache.org>.
+1 to Elliot's idea.


On Thu, Apr 25, 2013 at 5:39 PM, Elliott Clark <ec...@apache.org> wrote:

> I think trunk/0.97 should build on hadoop 2 by default, and 0.95/0.96
> should stay on hadoop1 by default.  Then we get pretty good coverage
> on jenkins and those two branches are staying pretty close to each
> other right now so we should notice any breakage due to hadoop compat
> pretty easily.
>
>
> On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com> wrote:
> > tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> > default for trunk precommit and trunk jenkins jobs?
> >
> > Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
> > always fail or always hang.  We are getting close on getting the hadoop2
> +
> > trunk build passing (right now there are a combination of tests that hang
> > sometimes or fail sometimes -- and I've seen a run where the hbase-server
> > module passed on hadoop2).
> >
> > Initially I was thinking that we'd create a two-headed precommit script
> > that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> > down in a thread so may not have been considered by many folks.   I'd
> like
> > to suggest (actually Elliot's idea) that we set the default precommit
> trunk
> > build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> > trunk to hadoop2 as well.  We would however keep the 0.95 branch against
> > hadoop 1.x and would thus get coverage of much of the new code under both
> > setups.
> >
> > This buys us two things:
> >
> > 1) We get coverage against hadoop2, which will likely be the post
> > singularity hbase should use as a default.
> > 2) We end up having the same number of build jobs and avoid having two
> > separate hadoop2 hadoop1 precommit builds for trunk.
> >
> > Thoughts?
> >
> > Jon
> >
> > --
> > // Jonathan Hsieh (shay)
> > // Software Engineer, Cloudera
> > // jon@cloudera.com
>



-- 
Best regards,

   - Andy

Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Elliott Clark <ec...@apache.org>.
I think trunk/0.97 should build on hadoop 2 by default, and 0.95/0.96
should stay on hadoop1 by default.  Then we get pretty good coverage
on jenkins and those two branches are staying pretty close to each
other right now so we should notice any breakage due to hadoop compat
pretty easily.


On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com> wrote:
> tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> default for trunk precommit and trunk jenkins jobs?
>
> Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
> always fail or always hang.  We are getting close on getting the hadoop2 +
> trunk build passing (right now there are a combination of tests that hang
> sometimes or fail sometimes -- and I've seen a run where the hbase-server
> module passed on hadoop2).
>
> Initially I was thinking that we'd create a two-headed precommit script
> that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> down in a thread so may not have been considered by many folks.   I'd like
> to suggest (actually Elliot's idea) that we set the default precommit trunk
> build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> trunk to hadoop2 as well.  We would however keep the 0.95 branch against
> hadoop 1.x and would thus get coverage of much of the new code under both
> setups.
>
> This buys us two things:
>
> 1) We get coverage against hadoop2, which will likely be the post
> singularity hbase should use as a default.
> 2) We end up having the same number of build jobs and avoid having two
> separate hadoop2 hadoop1 precommit builds for trunk.
>
> Thoughts?
>
> Jon
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // jon@cloudera.com

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Ted Yu <yu...@gmail.com>.
Arun announced the release of 2.0.4-alpha
We can fix potential unit test failures based on this release.

After that, making hadoop2 the default precommit build profile should be
good.

On Fri, Apr 26, 2013 at 8:34 AM, Jonathan Hsieh <jo...@cloudera.com> wrote:

> tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> default for trunk precommit and trunk jenkins jobs?
>
> Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
> always fail or always hang.  We are getting close on getting the hadoop2 +
> trunk build passing (right now there are a combination of tests that hang
> sometimes or fail sometimes -- and I've seen a run where the hbase-server
> module passed on hadoop2).
>
> Initially I was thinking that we'd create a two-headed precommit script
> that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> down in a thread so may not have been considered by many folks.   I'd like
> to suggest (actually Elliot's idea) that we set the default precommit trunk
> build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> trunk to hadoop2 as well.  We would however keep the 0.95 branch against
> hadoop 1.x and would thus get coverage of much of the new code under both
> setups.
>
> This buys us two things:
>
> 1) We get coverage against hadoop2, which will likely be the post
> singularity hbase should use as a default.
> 2) We end up having the same number of build jobs and avoid having two
> separate hadoop2 hadoop1 precommit builds for trunk.
>
> Thoughts?
>
> Jon
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // jon@cloudera.com
>

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Nicolas Liochon <nk...@gmail.com>.
+1 as well.


On Fri, Apr 26, 2013 at 5:55 AM, Stack <st...@duboce.net> wrote:

> +1 on this idea.
>
>
> On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com> wrote:
>
> > tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> > default for trunk precommit and trunk jenkins jobs?
> >
> > Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
> > always fail or always hang.  We are getting close on getting the hadoop2
> +
> > trunk build passing (right now there are a combination of tests that hang
> > sometimes or fail sometimes -- and I've seen a run where the hbase-server
> > module passed on hadoop2).
> >
> > Initially I was thinking that we'd create a two-headed precommit script
> > that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> > down in a thread so may not have been considered by many folks.   I'd
> like
> > to suggest (actually Elliot's idea) that we set the default precommit
> trunk
> > build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> > trunk to hadoop2 as well.  We would however keep the 0.95 branch against
> > hadoop 1.x and would thus get coverage of much of the new code under both
> > setups.
> >
> > This buys us two things:
> >
> > 1) We get coverage against hadoop2, which will likely be the post
> > singularity hbase should use as a default.
> > 2) We end up having the same number of build jobs and avoid having two
> > separate hadoop2 hadoop1 precommit builds for trunk.
> >
> > Thoughts?
> >
> > Jon
> >
> > --
> > // Jonathan Hsieh (shay)
> > // Software Engineer, Cloudera
> > // jon@cloudera.com
> >
>

Re: [DISCUSS] Making hadoop 2 the default precommit for trunk ones we get green builds

Posted by Stack <st...@duboce.net>.
+1 on this idea.


On Thu, Apr 25, 2013 at 5:34 PM, Jonathan Hsieh <jo...@cloudera.com> wrote:

> tl;dr after we get hadoop2 build fixed, how about making hadoop2 the
> default for trunk precommit and trunk jenkins jobs?
>
> Over in HBASE-6891, we've fixed the unit tests with hadoop2 on trunk that
> always fail or always hang.  We are getting close on getting the hadoop2 +
> trunk build passing (right now there are a combination of tests that hang
> sometimes or fail sometimes -- and I've seen a run where the hbase-server
> module passed on hadoop2).
>
> Initially I was thinking that we'd create a two-headed precommit script
> that ran unit tests against trunk on hadoop1 and hadoop2.  This was far
> down in a thread so may not have been considered by many folks.   I'd like
> to suggest (actually Elliot's idea) that we set the default precommit trunk
> build to be against hadoop2.  Over the "normal" jenkins runs, we'd move
> trunk to hadoop2 as well.  We would however keep the 0.95 branch against
> hadoop 1.x and would thus get coverage of much of the new code under both
> setups.
>
> This buys us two things:
>
> 1) We get coverage against hadoop2, which will likely be the post
> singularity hbase should use as a default.
> 2) We end up having the same number of build jobs and avoid having two
> separate hadoop2 hadoop1 precommit builds for trunk.
>
> Thoughts?
>
> Jon
>
> --
> // Jonathan Hsieh (shay)
> // Software Engineer, Cloudera
> // jon@cloudera.com
>