Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - Set LOG.Info in FileInputFormat.java doesn't work!?

Copy link to this message
Re: Set LOG.Info in FileInputFormat.java doesn't work!?
Ted Yu 2010-06-19, 18:03
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
through snmp metrics by using snmp4j

On Fri, Jun 18, 2010 at 8:15 PM, elton sky <[EMAIL PROTECTED]> 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