On Mon, Jun 15, 2009 at 10:01 AM, bharath vissapragada <
bhara...@students.iiit.ac.in> wrote:

> Hi all ,
>
> When running hadoop in local mode .. can we use "print" statements to print
> something to the terminal ...


Yes. In distributed mode, each task will write its stdout/stderr to files
which you can access through the web-based interface.


>
> Also iam not sure whether the program is reading my input files ... If i
> keep print statements it isn't displaying any .. can anyone tell me how to
> solve this problem.


Is it generating exceptions? Are the files present? If you're running in
local mode, you can use a debugger; set a breakpoint in your map() method
and see if it gets there. How are you configuring the input files for your
job?


>
>
> Thanks in adance,
>

Reply via email to