Google Groups Home
Help | Sign in
Hypertable <==> Hadoop ClientProtocol version mismatch problems
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
slowfood  
View profile
 More options Apr 30, 10:20 pm
From: slowfood <pb...@plasm.com>
Date: Wed, 30 Apr 2008 19:20:42 -0700 (PDT)
Local: Wed, Apr 30 2008 10:20 pm
Subject: Hypertable <==> Hadoop ClientProtocol version mismatch problems
I'm having version-itis problems when trying to start Hypertable on a
Hadoop dfs:

% ~/hypertable/bin/start-master.sh hadoop
[...]
HdfsBroker.Server.fs.default.name=hdfs://motherlode001:9000
org.apache.hadoop.ipc.RPC$VersionMismatch: Protocol
org.apache.hadoop.dfs.ClientProtocol version mismatch. (client = 14,
server = 19)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:253)
        at
org.apache.hadoop.dfs.DFSClient.createNamenode(DFSClient.java:141)
        at org.apache.hadoop.dfs.DFSClient.<init>(DFSClient.java:153)
        at
org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSyste m.java:
66)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:159)
        at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:
118)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)
        at
org.hypertable.DfsBroker.hadoop.HdfsBroker.<init>(HdfsBroker.java:71)
        at org.hypertable.DfsBroker.hadoop.main.main(main.java:136)
Problem statring DfsBroker (hadoop)

That I'm sure would be fixed if I could get a matched set... but not
clear how to determine
what parts of what version are what.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke  
View profile
 More options Apr 30, 11:25 pm
From: Luke <vic...@gmail.com>
Date: Wed, 30 Apr 2008 20:25:52 -0700 (PDT)
Local: Wed, Apr 30 2008 11:25 pm
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
Hi Peter,

You're probably using the 0.9.0.4, which has an older hadoop-*core.jar
bundled. I'd suggest that you pull the latest version from the
repository, which will have a later version of hadoop-0.16.2-core.jar.
I've seen report that simply replace the hadoop*-core.jar in the
<install_dir>/java/lib would work as well.

On Apr 30, 7:20 pm, slowfood <pb...@plasm.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
slowfood  
View profile
 More options May 1, 12:07 am
From: slowfood <pb...@plasm.com>
Date: Wed, 30 Apr 2008 21:07:45 -0700 (PDT)
Local: Thurs, May 1 2008 12:07 am
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
Thanks Luke -

I'll give it a try (tomorrow), maybe gen up a git-enabled ebuild
unless you already have one?

;;peter

On Apr 30, 8:25 pm, Luke <vic...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
slowfood  
View profile
 More options May 1, 6:45 pm
From: slowfood <pb...@plasm.com>
Date: Thu, 1 May 2008 15:45:00 -0700 (PDT)
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
To build I had to add:
   #include <iostream>
to hypertable/src/cc/Common/Logger.h
Without it I got an error from make:
    /home/admin/src/hypertable/src/cc/Common/Logger.h:31: error:
'cout' is not a member of 'std'

With this fix things seemed to build.
Still doesn't run though, and not much to go on as to why:

# bin/start-master.sh hadoop
DfsBroker (hadoop) hasn't come up yet, trying again in 5 seconds ...
Num CPUs=4
HdfsBroker.Port=38030
HdfsBroker.Reactors=4
HdfsBroker.Workers=20
HdfsBroker.Server.fs.default.name=hdfs://motherlode001:9000
Problem statring DfsBroker (hadoop)
#

(changed the name of the HdfsBroker.Server.fs.default.name from what I
really use, how to
determine what should really be there?)

;;peter

On Apr 30, 9:07 pm, slowfood <pb...@plasm.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke  
View profile
 More options May 2, 1:43 am
From: Luke <vic...@gmail.com>
Date: Thu, 1 May 2008 22:43:38 -0700 (PDT)
Local: Fri, May 2 2008 1:43 am
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
Thanks for the note, Peter...

On May 1, 3:45 pm, slowfood <pb...@plasm.com> wrote:

> To build I had to add:
>    #include <iostream>
> to hypertable/src/cc/Common/Logger.h
> Without it I got an error from make:
>     /home/admin/src/hypertable/src/cc/Common/Logger.h:31: error:
> 'cout' is not a member of 'std'

Interesting, I wonder why I didn't get an error. Maybe different
compiler version. What does your gcc -v say?

Does hadoop fs ls show anything? Make sure he ...default.name matches
your conf/hadoop-site.xml. Can you send me your hypertable.cfg?

> > I'll give it a try (tomorrow), maybe gen up a git-enabled ebuild
> > unless you already have one?

No, unfortunately we're not using gentoo in production here, so no
ebuild yet. We probably have rpm and deb by the time we're in beta.
But it'll be awesome to have one. Thanks.

__Luke


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
slowfood  
View profile
 More options May 2, 2:28 am
From: slowfood <pb...@plasm.com>
Date: Thu, 1 May 2008 23:28:03 -0700 (PDT)
Local: Fri, May 2 2008 2:28 am
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
Luke -

Thanks for the help.

My gcc -v output:

peter@cl46 ~ $ gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/
configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/
4.1.2 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include --
datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.2 --mandir=/usr/
share/gcc-data/x86_64-pc-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-
data/x86_64-pc-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/
gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4 --host=x86_64-pc-linux-
gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --
without-included-gettext --with-system-zlib --disable-checking --
disable-werror --enable-secureplt --disable-libunwind-exceptions --
enable-multilib --enable-libmudflap --disable-libssp --disable-libgcj
--enable-languages=c,c++,treelang,fortran --enable-shared --enable-
threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.2 (Gentoo 4.1.2 p1.0.2)
peter@cl46 ~ $

My conf/hadoop-site.xml is "empty" (only boiler plate comments).
What parts need to match up between Hypertable and Hadoop config?
(the hadoop-default.xml may have been edited since it seems we are
on non-standard ports from what I can tell, but the site file is
"empty"...)

I did make a /hypertable directory on the dfs:

peter@cl46 ~ $ hadoop fs -ls /
Found 5 items
/data   <dir>           2008-04-09 03:26
/home   <dir>           2008-04-11 13:59
/hypertable     <dir>           2008-04-29 15:10
/tmp    <dir>           2008-04-07 15:58
/user   <dir>           2008-04-09 03:27
peter@cl46 ~ $

Was not able to do the asked for chmod on it, my hadoop has no such fs
command.
Might be the problem?

;;peter

On May 1, 10:43 pm, Luke <vic...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Luke  
View profile
 More options May 2, 2:20 pm
From: Luke <vic...@gmail.com>
Date: Fri, 2 May 2008 11:20:55 -0700 (PDT)
Local: Fri, May 2 2008 2:20 pm
Subject: Re: Hypertable <==> Hadoop ClientProtocol version mismatch problems
Interesting, looks like you're doing something non-standard. All user
customizations of hadoop should really be in hadoop-site.xml, and you
need to make sure the fs.default.name in it exactly matches the
HdfsBroker...default.name in hypertable config.

http://wiki.apache.org/hadoop/GettingStartedWithHadoop

On May 1, 11:28 pm, slowfood <pb...@plasm.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google