|
|
I know in the logs you can see 'cmd=open' and the filename. Is there a way to see the closing of the file? Basically, I want to account for the total number of megabytes transferred in hdfs. What is the best way to achieve this? Running 0.21 btw -- --- Get your facts first, then you can distort them as you please.--
I guess I should ask, how does one enable debug mode for the namenode and datanode logs? I would like to see if in the debug mode I am able to see close calls of a file.
On Tue, Apr 19, 2011 at 8:48 PM, Rita <[EMAIL PROTECTED]> wrote:
> I know in the logs you can see 'cmd=open' and the filename. Is there a way > to see the closing of the file? > Basically, I want to account for the total number of megabytes transferred > in hdfs. What is the best way to achieve this? > Running 0.21 btw > > > -- > --- Get your facts first, then you can distort them as you please.-- >
-- --- Get your facts first, then you can distort them as you please.--
Harsh J 2011-04-21, 04:30
Hello,
Have a look at conf/log4j.properties to configure all logging options.
On Thu, Apr 21, 2011 at 3:14 AM, Rita <[EMAIL PROTECTED]> wrote: > I guess I should ask, how does one enable debug mode for the namenode and > datanode logs? > I would like to see if in the debug mode I am able to see close calls of a > file.
-- Harsh J
I am guessing I should change this in the file.
log4j.logger.org.apache.hadoop = DEBUG
Do I need to restart anything or does the change take effect immediately? Some examples in the documentation would help immensely. On Thu, Apr 21, 2011 at 12:30 AM, Harsh J <[EMAIL PROTECTED]> wrote:
> Hello, > > Have a look at conf/log4j.properties to configure all logging options. > > On Thu, Apr 21, 2011 at 3:14 AM, Rita <[EMAIL PROTECTED]> wrote: > > I guess I should ask, how does one enable debug mode for the namenode and > > datanode logs? > > I would like to see if in the debug mode I am able to see close calls of > a > > file. > > -- > Harsh J >
-- --- Get your facts first, then you can distort them as you please.--
|
|