Hadoop Professionals

A Community for Hadoop Users

Hi,

I am new for hadoop. I have installed "Multi-Node Cluster" successfully and its working fine.

I have copied my "php" files using hadoop command in the following path "/user/hadoop/input" path. Now i need to open that "index.php" file which located in the above path using apache, so i configure that path in apache. I have tried in Ubuntu, and edit the below two lines in the /etc/apache2/sites-enabled/000-default file.

DocumentRoot /user/hadoop/input
<Directory /user/hadoop/input>

 But my "index.php" not viewed, Just throw an following error.

The requested URL /input/index.php was not found on this server.

Please check and advise me is there any way to configure that "php" path..
Thanks for looking into this.
Maria Prabudass

Views: 22

Replies to This Discussion

it is very likely that the path /user/hadoop/input is an hdfs path, apache can not see hdfs paths, only local file system paths.
you need something to copy the file into the local file system, or to mount hdfs as a local file system

RSS




Groups

© 2012   Created by Jason Venner.

Badges  |  Report an Issue  |  Terms of Service