Home Forums HDFS Any good example

This topic contains 1 reply, has 2 voices, and was last updated by  Koelli Mungee 3 months, 2 weeks ago.

  • Creator
    Topic
  • #51451

    Alex Um
    Participant

    After installed the ambari, is there any hello code example for hadoop, including HDFS and all other component. I tried to installed on 4 nodes, so not want to use sandbox example.

    Is there any good real case data example.

    Any suggestion, thanks.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #51569

    Koelli Mungee
    Moderator

    Hi Alex

    Please check our documentation, we have an example to run a sample mapreduce job.

    http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.9.1/bk_installing_manually_book/content/rpm-chap4-5.html

    “Smoke test using Terasort and sort 10GB of data.

    su $HDFS_USER
    /usr/lib/hadoop/bin/hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2*.jar teragen 100 /test/10gsort/input
    /usr/lib/hadoop/bin/hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples-2*.jar terasort /test/10gsort/input /test/10gsort/output

    Hope this helps,
    Koelli

    Collapse
Viewing 1 replies (of 1 total)