Home Forums YARN about Yarn‘s programming

This topic contains 1 reply, has 2 voices, and was last updated by  Vinod Kumar Vavilapalli 7 months ago.

  • Creator
    Topic
  • #46239

    Yang Heguo
    Participant

    when i use Java language to program MapReduce,i should import hadoop’s Jar to use hadoop’API,
    but in hadoop 2.2.0 I can not find hadoop jar,so i can not use java to run it

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #47618

    In Hadoop 2, the components are split into modules and so we now have multiple jars. For writing mapreduce programs, it should be enough to simply depend on the hadoop-client module/jar. The rest of the transitive dependencies should be pulled in automatically assuming you are using maven or ant/ivy.

    Collapse
Viewing 1 replies (of 1 total)