-Re: Webserver and hadoop cluster
Harsh J 2013-03-22, 05:34
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
<[EMAIL PROTECTED]> wrote:
> 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?