Snippet Hadoop

With snippet Hadoop, you can free your mind

  1. Put input, Get output, Run a job Hadoop

    cd /opt/hadoop
    bin/hadoop fs -put /path/local/input/ /path/hdfs/input
    bin/hadoop fs -get /path/hdfs/output/part-r-* /path/local/result.file
    bin/hadoop jar /path/local/file.jar package.MainClass /path/hdfs/input/ /path/hdfs/output/
    

Comments

Popular posts from this blog

Reduce TIME_WAIT Socket Connections