Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-06 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-05 Thread Visioner Sadak
. -- *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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-04 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-04 Thread Bejoy KS
...@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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-04 Thread Visioner Sadak
@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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Hemanth Yamijala
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Senthil Kumar
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)

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Senthil Kumar
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Visioner Sadak
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

RE: Integrating hadoop with java UI application deployed on tomcat

2012-09-03 Thread Mahadevappa, Shobha
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-09-01 Thread Steve Loughran
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

Fwd: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Visioner Sadak
-- 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

Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread John Hancock
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,

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Hemanth Yamijala
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Steve Loughran
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???

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Visioner Sadak
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

Re: Integrating hadoop with java UI application deployed on tomcat

2012-08-30 Thread Visioner Sadak
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