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
Sur cette page du site, vous pouvez voir la vidéo en ligne Java Hadoop tutorial example durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Mark Crawford 30 septembre 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,252 fois et il a aimé 3 téléspectateurs. Bon visionnage!