PHP Development in the Cloud by Ivo Jansch & Vito Chin

PHP Development in the Cloud by Ivo Jansch & Vito Chin

Author:Ivo Jansch & Vito Chin
Language: eng
Format: epub
Publisher: Blue Parabola, LLC


#hadoop fs -copyFromLocal /home/hadoop-user/Color/colorsource/ colorsource

Then make sure the mapper and reducer files can be read and executed:

#chmod -R 555 Color

With that, you're ready to start:

#hadoop jar hadoop/contrib/streaming/hadoop-0.18.0-streaming.jar

-mapper /home/hadoop-user/Color/mapper.php

-reducer /home/hadoop-user/Color/reducer.php

-input colorsource/* -output color-output

Make sure the name of the output directory does not already exist within the distributed filesystem. Once the job has been completed, you can retrieve it:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.