hadoop-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harshad Shrikhande <harsh....@gmail.com>
Subject Re: TWO QUESTIONS ABOUT LOGS & DEBUGGING IN HADOOP
Date Sun, 01 Nov 2009 17:30:03 GMT
Hi,
     You can read the content of a file in Hadoop Distributed File System
using
  bin/hadoop dfs -cat file name

What else do you want to do . It's simple

Bye
Harshad Shrikhande


On Sun, Nov 1, 2009 at 10:25 PM, Alberto Luengo Cabanillas <
cabiwan@gmail.com> wrote:

> Hi everyone! In a project involving Hadoop (0.20.1) I´m working, I´d need
> to
> know if I´m reading properly the content of a file located in the HDFS.
> Beside the try...catch block, is there any other option for printing values
> in the console (in a similar way standard IO Java mechanisms do, like
> System.out.println("the variable is ", var))?
> Another thing, is there a simply way to debug Hadoop applications?
> (actually
> I´m working in pseudo-distributed mode, for developing purposes).
> Thanks a lot in advance.
>
> --
> Alberto
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message