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

Switch to Plain View
HBase >> mail # user >> Re: Hadoop not working after replacing hadoop-core.jar with hadoop-core-append.jar

Stack 2011-06-06, 15:28
praveenesh kumar 2011-06-06, 15:31
Joe Pallas 2011-06-06, 18:24
Stack 2011-06-06, 19:36
Mike Spreitzer 2011-06-07, 01:49
stack 2011-06-07, 02:57
Mike Spreitzer 2011-06-07, 05:37
Andrew Purtell 2011-06-07, 06:10
Stack 2011-06-07, 21:32
Stack 2011-06-09, 17:22
Zhong, Andy 2011-06-09, 22:11
Andrew Purtell 2011-06-10, 10:29
Stack 2011-06-09, 23:40
Michel Segel 2011-06-10, 11:12
Mike Spreitzer 2011-06-10, 17:08
Mike Spreitzer 2011-06-10, 17:06
Mike Spreitzer 2011-06-10, 17:10
Andrew Purtell 2011-06-10, 20:05
Stack 2011-06-10, 18:32
Copy link to this message
Re: Hadoop not working after replacing hadoop-core.jar with hadoop-core-append.jar
Thanks for the clarification.  How about the following update to the text?
 Where it currently says

<para>Because HBase depends on Hadoop, it bundles an instance of the 240
Hadoop jar under its <filename>lib</filename> directory. The bundled 241
Hadoop was made ...

we clarify that the bundled JAR is ONLY for use in standalone mode,
perhaps like this:

<para>Because HBase depends on Hadoop, it bundles an instance of the 240
Hadoop jar under its <filename>lib</filename> directory --- but this is
<emphasis>only</emphasis> for use in standalone mode. The bundled 241
Hadoop was made ...

Also, why does this text say 240 at first and then 241?  And why not
explicitly give the name of the JAR file in question, which is

Mike Spreitzer
From:   Stack <[EMAIL PROTECTED]>
Date:   06/10/2011 02:33 PM
Subject:        Re: Hadoop not working after replacing hadoop-core.jar
with hadoop-core-append.jar
Sent by:        [EMAIL PROTECTED]

On Fri, Jun 10, 2011 at 10:06 AM, Mike Spreitzer <[EMAIL PROTECTED]>
> stack <[EMAIL PROTECTED]> wrote on 06/06/2011 10:57:50 PM:
>> From: stack <[EMAIL PROTECTED]>
> Let me see if I have got this straight.  Hadoop branch-0.20-append is
> an immutable thing, it has evolved a little over time.


> The hadoop-core.jar that is included in the HBase distribution was built
> some version of branch-0.20-append.  If my own Hadoop cluster is EXACTLY
> the same version of branch-0.20-append then I do not need to replace any
> files anywhere.  However, since nobody is telling me the version of
> branch-0.20-append from which HBase's hadoop-core.jar was built,

It says so in the jar name.  The jar is called >0.20-append-r1056497.
The latter is the svn revision we built the jar from.
>  I can not
> in any case or way be confident that my cluster is running EXACTLY the
> same version even if it is branch-0.20-append.

Not true.

> So the net result is that
> in all distributed cases (except when I import pre-built Hadoop+HBase
> Cloudera or elsewhere) I have to build branch-0.20-append and copy it's
> core JAR into my HBase lib.  Have I got this right?  The book still does
> not say that clearly.  In fact, the book still points to my old email
> saying I did it the other way around.  Your reply above clearly seems to
> imply that I need to replace HBase's hadoop core JAR only in some
> distributed cases.  Yet the rest of the email conversation on this point
> seems to have settled that HBase's hadoop core JAR needs to be replaced
> all distributed cases.

My reading of the text is that the jar should always be replaced.  I
added the callout that cited your old mail thread because I thought it
might be of interest.  It seems to have only made confusion so in the
edit I posted above (for review), I'd completely removed it.

The edit has not been pushed to the website.  I thought I'd get a bit
of input on it first.  Here is the link again:


stack 2011-06-10, 19:19
Michael G. Noll 2011-06-11, 09:20
Joe Pallas 2011-06-06, 23:36
praveenesh kumar 2011-06-07, 03:24
Stack 2011-06-07, 03:24