mapreduce - How to write first Map-Reduce Job programe for Hadoop? -


i new hadoop , trying learn hadoop, found many reference , learned lot of things hadoop architecture different resources..

i have setup single cluster setup in machine , following book "hadoop_ definitive guide, 3rd edition"..

in 2nd chapter telling 1 example "national climatic data center"..

but want know jar file should include in project , how start writing first map-reduce job programe..

thanks in advance, sombir

in mr1, required jars basic job following :

  • hadoop-core-x.x.x.jar
  • commons-logging-api-x.x.x.jar
    it's not direct dependency absence causes problem on running jar

both these jars available @ hadoop installation directory, pick them there(to eliminate version issue). try more features, additional jars needed. example, commons-cli-x.x.jar has added use genericoptionparser.

not sure yarn, following jars must :

  • hadoop-common.jar
  • hadoop-auth.jar

i'll update list able confirm.

now write job, think wordcount example(aka hello world of mr) best point start. if you're comfortable it, start 'national climatic data center' thing yourself. assistance, can guide. or better add problem post initial idea.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -