Java Hadoop tutorial example

Published: 30 September 2016
on channel: Mark Crawford
1,252
3

hortonworks/hadoop-tutorials
Tutorial to demonstrate running Cloudera with a java app

URL: https://github.com/hortonworks/hadoop...


Additional Commands required for Cloudera
This command makes a directory in the HDFS file structure of Hadoop. If you run into a Path or File does not exist error, this may solve your problem.
hadoop fs -mkdir -p /usr/lib/hue/VoteCountInput
If you are still getting the error make sure you have the files uploaded to the HDFS directory. Use the following command:
hdfs dfs -put /usr/lib/hue/VoteCountInput/booth-1.txt /usr/lib/hue/VoteCountInput
To get your final output to the local file system where you can interact with it:
hdfs dfs -get /usr/lib/hue/VoteCountOutput/ /home/cloudera/Desktop


On this page of the site you can watch the video online Java Hadoop tutorial example with a duration of hours minute second in good quality, which was uploaded by the user Mark Crawford 30 September 2016, share the link with friends and acquaintances, this video has already been watched 1,252 times on youtube and it was liked by 3 viewers. Enjoy your viewing!