hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elton sky <eltonsky9...@gmail.com>
Subject Re: Set LOG.Info in FileInputFormat.java doesn't work!?
Date Sun, 20 Jun 2010 23:36:17 GMT
Actually I shouldn't have called it "runtime information". What I want to
get is some values of variables in FileInputFormat.java when a MapReduce job
is running, so I tried to print them into log file.

any idea in that case?

On Sun, Jun 20, 2010 at 4:03 AM, Ted Yu <yuzhihong@gmail.com> wrote:

> If you outline what runtime information you want to collect, other people
> may be able to help you better.
>
> There're two ways to collect such data without modifying hadoop source
> code:
> through JMX metrics exposed by hadoop, such as HEAP_MEMORY_USED and
> datanode.CAPACITY
> through snmp metrics by using snmp4j
>
> On Fri, Jun 18, 2010 at 8:15 PM, elton sky <eltonsky9404@gmail.com> wrote:
>
> > Hello fellas,
> >
> > problem here. I am trying to get some runtime info in
> FileInputFormat.java
> > and I try to use LOG.info(). However it never seems write anything into
> log
> > file. I tried to grep the "logs" directory and could not find the info
> > supposed to be printed out.
> >
> > Any idea on this?
> >
> > BTW, any other way I can use to debug like this?
> >
> > Regards,
> > Elton
> >
>

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