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

Switch to Threaded View
HDFS >> mail # user >> Re: Webserver and hadoop cluster

Copy link to this message
Re: Webserver and hadoop cluster
You can use WebHDFS to achieve this, so long as your Web Service
machine has access to the cluster. If it does not, then you can
consider HTTPFS. Both of these services support REST API access to
HDFS files, and let you read/write files.

To answer your question on a Java API level instead: Yes you need the
HDFS and Hadoop-Common libraries plus dependencies available on the
Web Service's classpath for the API calls to work.

On Thu, Mar 21, 2013 at 9:20 PM, Mohammad Alkahtani
> Hi
> I want to write a program in the web server to get result file from hadoop
> cluster. do I need to install hadoop in the web server so it can communicate
> with  the hadoop cluster or is there any other way to get the files from
> hadoop to the web server similar to the database you need only to connect to
> the database using driver?

Harsh J