HDFS read stats

2014-01-26 Thread John Lilley
Is there a way to monitor the proportion of HDFS read data that is satisfied by local nodes vs going across the network? Thanks John

Re: HDFS read stats

2014-01-26 Thread Ted Yu
Please take a look at https://issues.apache.org/jira/browse/HDFS-4698 Cheers On Sun, Jan 26, 2014 at 9:11 AM, John Lilley wrote: > Is there a way to monitor the proportion of HDFS read data that is > satisfied by local nodes vs going across the network? > > Thanks > > John > > > > >

RE: HDFS read stats

2014-01-26 Thread John Lilley
To: common-u...@hadoop.apache.org Subject: Re: HDFS read stats Please take a look at https://issues.apache.org/jira/browse/HDFS-4698 Cheers On Sun, Jan 26, 2014 at 9:11 AM, John Lilley mailto:john.lil...@redpoint.net>> wrote: Is there a way to monitor the proportion of HDFS read data t

Re: HDFS read stats

2014-01-26 Thread Ted Yu
6 AM > *To:* common-u...@hadoop.apache.org > *Subject:* Re: HDFS read stats > > > > Please take a look at https://issues.apache.org/jira/browse/HDFS-4698 > > > > Cheers > > > > On Sun, Jan 26, 2014 at 9:11 AM, John Lilley > wrote: > > Is there a way t

RE: HDFS read stats

2014-01-27 Thread John Lilley
mon-u...@hadoop.apache.org Subject: Re: HDFS read stats Please take a look at DFSInputStream#ReadStatistics which contains four metrics including local bytes read. You can obtain ReadStatistics through getReadStatistics() Cheers On Sun, Jan 26, 2014 at 4:00 PM, John Lilley mailto:joh

Re: HDFS read stats

2014-01-27 Thread Ted Yu
t; John > > > > > > *From:* Ted Yu [mailto:yuzhih...@gmail.com] > *Sent:* Sunday, January 26, 2014 6:16 PM > > *To:* common-u...@hadoop.apache.org > *Subject:* Re: HDFS read stats > > > > Please take a look at DFSInputStream#ReadStatistics which contains fou

RE: HDFS read stats

2014-02-09 Thread John Lilley
Thanks! I would have never found that. john From: Ted Yu [mailto:yuzhih...@gmail.com] Sent: Monday, January 27, 2014 4:57 PM To: common-u...@hadoop.apache.org Subject: Re: HDFS read stats FSDataInputStream has this javadoc: /** Utility that wraps a {@link FSInputStream} in a {@link

Re: HDFS read stats

2014-02-09 Thread Ted Yu
You're welcome. On Feb 9, 2014, at 6:27 AM, John Lilley wrote: > Thanks! I would have never found that. > john > > From: Ted Yu [mailto:yuzhih...@gmail.com] > Sent: Monday, January 27, 2014 4:57 PM > To: common-u...@hadoop.apache.org > Subject: Re: HDFS read sta