Thanks experts for your help finally got the issue i was getting this error
org.apache.hadoop.ipc.RemoteException
: Server IPC version 5 cannot communicate with client version 4
because my libraries in tomcat were of different version than the libraries
of hadoop installation thanks a ton for
.
--
*From: *Visioner Sadak visioner.sa...@gmail.com
*Date: *Tue, 4 Sep 2012 15:31:25 +0530
*To: *user@hadoop.apache.org
*ReplyTo: *user@hadoop.apache.org
*Subject: *Re: Integrating hadoop with java UI application deployed on
tomcat
also getting one more error
PM 04:01
*To:* user@hadoop.apache.org
*Subject:* Re: Integrating hadoop with java UI application deployed on
tomcat
** **
Thanks steve thers nothing in logs and no exceptions as well i found that
some file is created in my F:\user with directory name but its not visible
inside my
...@gmail.com
Date: Tue, 4 Sep 2012 15:31:25
To: user@hadoop.apache.org
Reply-To: user@hadoop.apache.org
Subject: Re: Integrating hadoop with java UI application deployed on tomcat
also getting one more error
*
org.apache.hadoop.ipc.RemoteException*: Server IPC version 5 cannot
communicate
@hadoop.apache.org
*ReplyTo: *user@hadoop.apache.org
*Subject: *Re: Integrating hadoop with java UI application deployed on
tomcat
also getting one more error
*
org.apache.hadoop.ipc.RemoteException
*: Server IPC version 5 cannot communicate with client version 4
On Tue, Sep 4, 2012 at 2:44
Hi,
If you are getting the LocalFileSystem, you could try by putting
core-site.xml in a directory that's there in the classpath for the
Tomcat App (or include such a path in the classpath, if that's
possible)
Thanks
hemanth
On Mon, Sep 3, 2012 at 4:01 PM, Visioner Sadak visioner.sa...@gmail.com
Try using hadoopConf.addResource(*new
Path(F:/hadoop-0.22.0/conf/core-site.xml)*); instead
of hadoopConf.addResource(F:/hadoop-0.22.0/conf/core-site.xml);
or you should add your core-site.xml to a location which is in your class
path(WEB-INF\classes or WEB-INF\lib in case of a web application)
Thanks Senthil i tried on trying with new path getting this error do i have
to do any ssl setting on tomcat as well
*
java.io.IOException*: Call to localhost/127.0.0.1:9000 failed on local
exception: *java.io.IOException*: An established connection was aborted by
the software in your host
The error says call to 127.0.0.1:9000 fails. It is failing when it tries to
contact the namenode (9000 is the default namenode port) configured in
core-site.xml. You should also check whether the namenode is configured
correctly and also whether the namenode is up.
On Mon, Sep 3, 2012 at 7:43
Thanks senthil name node is up and running and in core-site.xml i have
configuration
property
namefs.default.name/name
valuehdfs://localhost:9000/value
/property
/configuration
shud i change my ip or any other config??
On Mon, Sep 3, 2012 at 10:11 PM, Senthil Kumar
Subject: Re: Integrating hadoop with java UI application deployed on tomcat
Thanks steve thers nothing in logs and no exceptions as well i found that some
file is created in my F:\user with directory name but its not visible inside my
hadoop browse filesystem directories i also added the config
well, it's worked for me in the past outside Hadoop itself:
http://smartfrog.svn.sourceforge.net/viewvc/smartfrog/trunk/core/hadoop-components/hadoop-ops/src/org/smartfrog/services/hadoop/operations/utils/DfsUtils.java?revision=8882view=markup
1. Turn logging up to DEBUG
2. Make sure that
-- Forwarded message --
From: Visioner Sadak visioner.sa...@gmail.com
Date: Thu, Aug 30, 2012 at 2:02 PM
Subject: Integrating hadoop with java UI application deployed on tomcat
To: u...@hadoop.apache.org
Hi,
I have a WAR which is deployed on tomcat server the WAR contains some
Hi,
I have a WAR which is deployed on tomcat server the WAR contains some
java classes which uploads files, will i be able to upload directly in to
hadoop iam using the below code in one of my java class
Configuration hadoopConf=new Configuration();
//get the default associated
You might need to put the apache commons configuration library jar in
web-inf/lib to clear this error.
On Thu, Aug 30, 2012 at 4:32 AM, Visioner Sadak visioner.sa...@gmail.comwrote:
Hi,
I have a WAR which is deployed on tomcat server the WAR contains some
java classes which uploads files,
Tried puttin it still same error [?]
On Thu, Aug 30, 2012 at 3:06 PM, John Hancock jhancock1...@gmail.comwrote:
You might need to put the apache commons configuration library jar in
web-inf/lib to clear this error.
On Thu, Aug 30, 2012 at 4:32 AM, Visioner Sadak
Hi,
The error is talking about hadoop configuration. So probably you need to
put the hadoop core jar in the lib folder. That said, there might be other
dependencies you might need as well. But you can try it out once.
Thanks
hemanth
On Thu, Aug 30, 2012 at 3:53 PM, Visioner Sadak
On 30 August 2012 13:54, Visioner Sadak visioner.sa...@gmail.com wrote:
Thanks a ton guys for your help i did used hadoop-core-1.0.3.jar
commons-lang-2.1.jar to get rid of the class not found error now i am
getting this error is this becoz i am using my app and hadoop on windows???
but the problem is that my code gets executed with the warning but file is
not copied to hdfs , actually i m trying to copy a file from local to hdfs
Configuration hadoopConf=new Configuration();
//get the default associated file system
FileSystem
do i have to do some tomcat configuration settings ???
On Fri, Aug 31, 2012 at 1:08 AM, Visioner Sadak visioner.sa...@gmail.comwrote:
but the problem is that my code gets executed with the warning but file
is not copied to hdfs , actually i m trying to copy a file from local to
hdfs
20 matches
Mail list logo