FAQ
I am running basic hadoop examples on amazon emr and I am stuck at a very
simple place. I am apparently not passing the right "classname" for
inputFormat
From hadoop documentation it seems like "TextInputFormat" is a valid option
for input format

I am running a simple sort example using mapreduce.

Here is the command variations I tried, all to vain:


$usr/local/hadoop/bin/hadoop jar /path to hadoop
examples/hadoop-0.18.0-examples.jar sort -inFormat TextInputFormat
-outFormat TextOutputFormat /path to datainput/datain/ /path to data
output/dataout

The sort function does not declare "TextInputFormat" in its import list.
Could that be a problem
?
Could it be a version problem?


Any help is aprpeciated!
Shivani



--
Research Scholar,
School of Electrical and Computer Engineering
Purdue University
West Lafayette IN
web.ics.purdue.edu/~sgrao

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 25, '11 at 10:58p
activeMar 3, '11 at 4:55a
posts2
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Shivani Rao: 2 posts

People

Translate

site design / logo © 2022 Grokbase