You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by praveenesh kumar <pr...@gmail.com> on 2011/06/22 07:55:03 UTC
Hadoop eclipse plugin stopped working after replacing hadoop-0.20.2
jar files with hadoop-0.20-append jar files
Guys,
I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
It was working fine for me.
I was using Eclipse SDK Helios 3.6.2 with the plugin
"hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
MAPREDUCE-1280
Now for Hbase installation.. I had to use hadoop-0.20-append compiled
jars..and I had to replace the old jar files with new 0.20-append compiled
jar files..
But now after replacing .. my hadoop eclipse plugin is not working well for
me.
Whenever I am trying to connect to my hadoop master node from that and try
to see DFS locations..
it is giving me the following error:
*
Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
mismatch (client 41 server 43)*
However the hadoop cluster is working fine if I go directly on hadoop
namenode use hadoop commands..
I can add files to HDFS.. run jobs from there.. HDFS web console and
Map-Reduce web console are also working fine. but not able to use my
previous hadoop eclipse plugin.
Any suggestions or help for this issue ?
Thanks,
Praveenesh
Re: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
Posted by Yaozhen Pan <it...@gmail.com>.
Hi,
I am using Eclipse Helios Service Release 2.
I encountered a similar problem (map/reduce perspective failed to load) when
upgrading eclipse plugin from 0.20.2 to 0.20.3-append version.
I compared the source code of eclipse plugin and found only a few
difference. I tried to revert the differences one by one to see if it can
work.
What surprised me was that when I only reverted the jar name from
"hadoop-0.20.3-eclipse-plugin.jar" to "hadoop-0.20.2-eclipse-plugin.jar", it
worked in eclipse.
Yaozhen
On Thu, Jun 23, 2011 at 1:22 AM, praveenesh kumar <pr...@gmail.com>wrote:
> I am doing that.. its not working.. If I am replacing the hadoop-core from
> hadoop-plugin.jar.. I am not able to see map-reduce perspective at all.
> Guys.. any help.. !!!
>
> Thanks,
> Praveenesh
>
> On Wed, Jun 22, 2011 at 12:34 PM, Devaraj K <de...@huawei.com> wrote:
>
> > Every time when hadoop builds, it also builds the hadoop eclipse plug-in
> > using the latest hadoop core jar. In your case eclipse plug-in contains
> the
> > other version jar and cluster is running with other version. That's why
> it
> > is giving the version mismatch error.
> >
> >
> >
> > Just replace the hadoop-core jar in your eclipse plug-in with the jar
> > whatever the hadoop cluster is using and check.
> >
> >
> >
> > Devaraj K
> >
> > _____
> >
> > From: praveenesh kumar [mailto:praveenesh@gmail.com]
> > Sent: Wednesday, June 22, 2011 12:07 PM
> > To: common-user@hadoop.apache.org; devaraj.k@huawei.com
> > Subject: Re: Hadoop eclipse plugin stopped working after replacing
> > hadoop-0.20.2 jar files with hadoop-0.20-append jar files
> >
> >
> >
> > I followed michael noll's tutorial for making hadoop-0-20-append jars..
> >
> >
> >
> http://www.michael-noll.com/blog/2011/04/14/building-an-hadoop-0-20-x-versio
> > n-for-hbase-0-90-2/
> >
> > After following the article.. we get 5 jar files which we need to replace
> > it
> > from hadoop.0.20.2 jar file.
> > There is no jar file for hadoop-eclipse plugin..that I can see in my
> > repository if I follow that tutorial.
> >
> > Also the hadoop-plugin I am using..has no info on JIRA MAPREDUCE-1280
> > regarding whether it is compatible with hadoop-0.20-append.
> >
> > Does anyone else. faced this kind of issue ???
> >
> > Thanks,
> > Praveenesh
> >
> >
> >
> > On Wed, Jun 22, 2011 at 11:48 AM, Devaraj K <de...@huawei.com>
> wrote:
> >
> > Hadoop eclipse plugin also uses hadoop-core.jar file communicate to the
> > hadoop cluster. For this it needs to have same version of hadoop-core.jar
> > for client as well as server(hadoop cluster).
> >
> > Update the hadoop eclipse plugin for your eclipse which is provided with
> > hadoop-0.20-append release, it will work fine.
> >
> >
> > Devaraj K
> >
> > -----Original Message-----
> > From: praveenesh kumar [mailto:praveenesh@gmail.com]
> > Sent: Wednesday, June 22, 2011 11:25 AM
> > To: common-user@hadoop.apache.org
> > Subject: Hadoop eclipse plugin stopped working after replacing
> > hadoop-0.20.2
> > jar files with hadoop-0.20-append jar files
> >
> >
> > Guys,
> > I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
> > It was working fine for me.
> > I was using Eclipse SDK Helios 3.6.2 with the plugin
> > "hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
> > MAPREDUCE-1280
> >
> > Now for Hbase installation.. I had to use hadoop-0.20-append compiled
> > jars..and I had to replace the old jar files with new 0.20-append
> compiled
> > jar files..
> > But now after replacing .. my hadoop eclipse plugin is not working well
> for
> > me.
> > Whenever I am trying to connect to my hadoop master node from that and
> try
> > to see DFS locations..
> > it is giving me the following error:
> > *
> > Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
> > mismatch (client 41 server 43)*
> >
> > However the hadoop cluster is working fine if I go directly on hadoop
> > namenode use hadoop commands..
> > I can add files to HDFS.. run jobs from there.. HDFS web console and
> > Map-Reduce web console are also working fine. but not able to use my
> > previous hadoop eclipse plugin.
> >
> > Any suggestions or help for this issue ?
> >
> > Thanks,
> > Praveenesh
> >
> >
> >
> >
>
Re: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
Posted by praveenesh kumar <pr...@gmail.com>.
I am doing that.. its not working.. If I am replacing the hadoop-core from
hadoop-plugin.jar.. I am not able to see map-reduce perspective at all.
Guys.. any help.. !!!
Thanks,
Praveenesh
On Wed, Jun 22, 2011 at 12:34 PM, Devaraj K <de...@huawei.com> wrote:
> Every time when hadoop builds, it also builds the hadoop eclipse plug-in
> using the latest hadoop core jar. In your case eclipse plug-in contains the
> other version jar and cluster is running with other version. That's why it
> is giving the version mismatch error.
>
>
>
> Just replace the hadoop-core jar in your eclipse plug-in with the jar
> whatever the hadoop cluster is using and check.
>
>
>
> Devaraj K
>
> _____
>
> From: praveenesh kumar [mailto:praveenesh@gmail.com]
> Sent: Wednesday, June 22, 2011 12:07 PM
> To: common-user@hadoop.apache.org; devaraj.k@huawei.com
> Subject: Re: Hadoop eclipse plugin stopped working after replacing
> hadoop-0.20.2 jar files with hadoop-0.20-append jar files
>
>
>
> I followed michael noll's tutorial for making hadoop-0-20-append jars..
>
>
> http://www.michael-noll.com/blog/2011/04/14/building-an-hadoop-0-20-x-versio
> n-for-hbase-0-90-2/
>
> After following the article.. we get 5 jar files which we need to replace
> it
> from hadoop.0.20.2 jar file.
> There is no jar file for hadoop-eclipse plugin..that I can see in my
> repository if I follow that tutorial.
>
> Also the hadoop-plugin I am using..has no info on JIRA MAPREDUCE-1280
> regarding whether it is compatible with hadoop-0.20-append.
>
> Does anyone else. faced this kind of issue ???
>
> Thanks,
> Praveenesh
>
>
>
> On Wed, Jun 22, 2011 at 11:48 AM, Devaraj K <de...@huawei.com> wrote:
>
> Hadoop eclipse plugin also uses hadoop-core.jar file communicate to the
> hadoop cluster. For this it needs to have same version of hadoop-core.jar
> for client as well as server(hadoop cluster).
>
> Update the hadoop eclipse plugin for your eclipse which is provided with
> hadoop-0.20-append release, it will work fine.
>
>
> Devaraj K
>
> -----Original Message-----
> From: praveenesh kumar [mailto:praveenesh@gmail.com]
> Sent: Wednesday, June 22, 2011 11:25 AM
> To: common-user@hadoop.apache.org
> Subject: Hadoop eclipse plugin stopped working after replacing
> hadoop-0.20.2
> jar files with hadoop-0.20-append jar files
>
>
> Guys,
> I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
> It was working fine for me.
> I was using Eclipse SDK Helios 3.6.2 with the plugin
> "hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
> MAPREDUCE-1280
>
> Now for Hbase installation.. I had to use hadoop-0.20-append compiled
> jars..and I had to replace the old jar files with new 0.20-append compiled
> jar files..
> But now after replacing .. my hadoop eclipse plugin is not working well for
> me.
> Whenever I am trying to connect to my hadoop master node from that and try
> to see DFS locations..
> it is giving me the following error:
> *
> Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
> mismatch (client 41 server 43)*
>
> However the hadoop cluster is working fine if I go directly on hadoop
> namenode use hadoop commands..
> I can add files to HDFS.. run jobs from there.. HDFS web console and
> Map-Reduce web console are also working fine. but not able to use my
> previous hadoop eclipse plugin.
>
> Any suggestions or help for this issue ?
>
> Thanks,
> Praveenesh
>
>
>
>
RE: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
Posted by Devaraj K <de...@huawei.com>.
Every time when hadoop builds, it also builds the hadoop eclipse plug-in
using the latest hadoop core jar. In your case eclipse plug-in contains the
other version jar and cluster is running with other version. That's why it
is giving the version mismatch error.
Just replace the hadoop-core jar in your eclipse plug-in with the jar
whatever the hadoop cluster is using and check.
Devaraj K
_____
From: praveenesh kumar [mailto:praveenesh@gmail.com]
Sent: Wednesday, June 22, 2011 12:07 PM
To: common-user@hadoop.apache.org; devaraj.k@huawei.com
Subject: Re: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
I followed michael noll's tutorial for making hadoop-0-20-append jars..
http://www.michael-noll.com/blog/2011/04/14/building-an-hadoop-0-20-x-versio
n-for-hbase-0-90-2/
After following the article.. we get 5 jar files which we need to replace it
from hadoop.0.20.2 jar file.
There is no jar file for hadoop-eclipse plugin..that I can see in my
repository if I follow that tutorial.
Also the hadoop-plugin I am using..has no info on JIRA MAPREDUCE-1280
regarding whether it is compatible with hadoop-0.20-append.
Does anyone else. faced this kind of issue ???
Thanks,
Praveenesh
On Wed, Jun 22, 2011 at 11:48 AM, Devaraj K <de...@huawei.com> wrote:
Hadoop eclipse plugin also uses hadoop-core.jar file communicate to the
hadoop cluster. For this it needs to have same version of hadoop-core.jar
for client as well as server(hadoop cluster).
Update the hadoop eclipse plugin for your eclipse which is provided with
hadoop-0.20-append release, it will work fine.
Devaraj K
-----Original Message-----
From: praveenesh kumar [mailto:praveenesh@gmail.com]
Sent: Wednesday, June 22, 2011 11:25 AM
To: common-user@hadoop.apache.org
Subject: Hadoop eclipse plugin stopped working after replacing hadoop-0.20.2
jar files with hadoop-0.20-append jar files
Guys,
I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
It was working fine for me.
I was using Eclipse SDK Helios 3.6.2 with the plugin
"hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
MAPREDUCE-1280
Now for Hbase installation.. I had to use hadoop-0.20-append compiled
jars..and I had to replace the old jar files with new 0.20-append compiled
jar files..
But now after replacing .. my hadoop eclipse plugin is not working well for
me.
Whenever I am trying to connect to my hadoop master node from that and try
to see DFS locations..
it is giving me the following error:
*
Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
mismatch (client 41 server 43)*
However the hadoop cluster is working fine if I go directly on hadoop
namenode use hadoop commands..
I can add files to HDFS.. run jobs from there.. HDFS web console and
Map-Reduce web console are also working fine. but not able to use my
previous hadoop eclipse plugin.
Any suggestions or help for this issue ?
Thanks,
Praveenesh
Re: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
Posted by praveenesh kumar <pr...@gmail.com>.
I followed michael noll's tutorial for making hadoop-0-20-append jars..
http://www.michael-noll.com/blog/2011/04/14/building-an-hadoop-0-20-x-version-for-hbase-0-90-2/
After following the article.. we get 5 jar files which we need to replace it
from hadoop.0.20.2 jar file.
There is no jar file for hadoop-eclipse plugin..that I can see in my
repository if I follow that tutorial.
Also the hadoop-plugin I am using..has no info on JIRA MAPREDUCE-1280
regarding whether it is compatible with hadoop-0.20-append.
Does anyone else. faced this kind of issue ???
Thanks,
Praveenesh
On Wed, Jun 22, 2011 at 11:48 AM, Devaraj K <de...@huawei.com> wrote:
> Hadoop eclipse plugin also uses hadoop-core.jar file communicate to the
> hadoop cluster. For this it needs to have same version of hadoop-core.jar
> for client as well as server(hadoop cluster).
>
> Update the hadoop eclipse plugin for your eclipse which is provided with
> hadoop-0.20-append release, it will work fine.
>
>
> Devaraj K
>
> -----Original Message-----
> From: praveenesh kumar [mailto:praveenesh@gmail.com]
> Sent: Wednesday, June 22, 2011 11:25 AM
> To: common-user@hadoop.apache.org
> Subject: Hadoop eclipse plugin stopped working after replacing
> hadoop-0.20.2
> jar files with hadoop-0.20-append jar files
>
> Guys,
> I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
> It was working fine for me.
> I was using Eclipse SDK Helios 3.6.2 with the plugin
> "hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
> MAPREDUCE-1280
>
> Now for Hbase installation.. I had to use hadoop-0.20-append compiled
> jars..and I had to replace the old jar files with new 0.20-append compiled
> jar files..
> But now after replacing .. my hadoop eclipse plugin is not working well for
> me.
> Whenever I am trying to connect to my hadoop master node from that and try
> to see DFS locations..
> it is giving me the following error:
> *
> Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
> mismatch (client 41 server 43)*
>
> However the hadoop cluster is working fine if I go directly on hadoop
> namenode use hadoop commands..
> I can add files to HDFS.. run jobs from there.. HDFS web console and
> Map-Reduce web console are also working fine. but not able to use my
> previous hadoop eclipse plugin.
>
> Any suggestions or help for this issue ?
>
> Thanks,
> Praveenesh
>
>
RE: Hadoop eclipse plugin stopped working after replacing
hadoop-0.20.2 jar files with hadoop-0.20-append jar files
Posted by Devaraj K <de...@huawei.com>.
Hadoop eclipse plugin also uses hadoop-core.jar file communicate to the
hadoop cluster. For this it needs to have same version of hadoop-core.jar
for client as well as server(hadoop cluster).
Update the hadoop eclipse plugin for your eclipse which is provided with
hadoop-0.20-append release, it will work fine.
Devaraj K
-----Original Message-----
From: praveenesh kumar [mailto:praveenesh@gmail.com]
Sent: Wednesday, June 22, 2011 11:25 AM
To: common-user@hadoop.apache.org
Subject: Hadoop eclipse plugin stopped working after replacing hadoop-0.20.2
jar files with hadoop-0.20-append jar files
Guys,
I was using hadoop eclipse plugin on hadoop 0.20.2 cluster..
It was working fine for me.
I was using Eclipse SDK Helios 3.6.2 with the plugin
"hadoop-eclipse-plugin-0.20.3-SNAPSHOT.jar" downloaded from JIRA
MAPREDUCE-1280
Now for Hbase installation.. I had to use hadoop-0.20-append compiled
jars..and I had to replace the old jar files with new 0.20-append compiled
jar files..
But now after replacing .. my hadoop eclipse plugin is not working well for
me.
Whenever I am trying to connect to my hadoop master node from that and try
to see DFS locations..
it is giving me the following error:
*
Error : Protocol org.apache.hadoop.hdfs.protocol.clientprotocol version
mismatch (client 41 server 43)*
However the hadoop cluster is working fine if I go directly on hadoop
namenode use hadoop commands..
I can add files to HDFS.. run jobs from there.. HDFS web console and
Map-Reduce web console are also working fine. but not able to use my
previous hadoop eclipse plugin.
Any suggestions or help for this issue ?
Thanks,
Praveenesh