preethi ganeshan 2013-03-11, 08:43
Vikas Jadhav 2013-03-11, 12:32
Ling Kun 2013-03-11, 13:16
Hi Preethi Ganeshan,
Here is some of my experience.
1. Add LOG.debug("TO_BE_PRINT") in the task.java, just like
System.out.println(). ( you can also use LOG.info, LOG.warn,etc. this is
the log level)
2. compile and deploy your modification in your cluster
3. modify the log4j.properties, and turn the LOG level to DEUBG (if you are
using LOG.debug()) by adding such a line like this：
On Mon, Mar 11, 2013 at 8:32 PM, Vikas Jadhav <[EMAIL PROTECTED]>wrote:
> you can modify log4j.properties file in your conf folder and set
> appropriate logging level
> I think you should follow hadoop-wiki
> http://wiki.apache.org/hadoop/HowToContribute for modifying source code
> It is very easy you can also refer to http://ahadoop.blogspot.in/ post by
> Steps To build Hadoop Code using eclipse<http://ahadoop.blogspot.com/2013/03/steps-to-build-hadoop-code-using-eclipse.html>
> On Mon, Mar 11, 2013 at 2:13 PM, preethi ganeshan <
> [EMAIL PROTECTED]> wrote:
>> I want to modify the Task.java so that it gives additional information in
>> the usrlogs files.
>> How do i go about the modification? I am new to Hadoop. Shall i simply
>> open the src .mapred . .... appropriate file in eclipse modify and save?
>> Will that help?
>> Thank you
>> Preethi Ganeshan
> Thanx and Regards*
> * Vikas Jadhav*
Ellis Miller 2013-03-11, 11:13
Ellis Miller 2013-03-11, 11:31