Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> launch aggregatewordcount and sudoku in Yarn


Copy link to this message
-
RE: launch aggregatewordcount and sudoku in Yarn
Hi,
   You can run aggregatewordcount Job using the below command,

Command : bin/hadoop jar hadoop-*-examples.jar aggregatewordcount <in-dir> <out-dir> <numOfReducers> <inputformat>

inputformat - It uses default as seqfileinputformat, we can change it to textinputformat. If we pass other than textinputformat it will use seqfileinputformat.

Ex : bin/hadoop jar hadoop-*-examples.jar aggregatewordcount /input-data /out-dir 5 textinputformat
You can run the Sudoku Job using the below command,

Command : bin/hadoop jar hadoop-*-examples.jar sudoku <puzzle-to-solve>

puzzle-to-solve - You need to give the puzzle as input to this sudoku job. You can have the puzzle in a file which is present in local location and same name you can pass it.

Ex : bin/hadoop jar hadoop-*-examples.jar sudoku puzzle1.dta

You can place the attached puzzle1.dta file in local location and same thing you can pass as argument to this.
Thanks
Devaraj K
From: Pedro Sá da Costa [mailto:[EMAIL PROTECTED]]
Sent: 21 June 2013 22:24
To: mapreduce-user
Subject: launch aggregatewordcount and sudoku in Yarn

How I run an aggregatewordcount and sudoku in Yarn? Do I need any input files, more exactly in Sudoku?

--
Best regards,
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB