Issue Details (XML | Word | Printable)

Key: HADOOP-4029
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Boris Shkolnik
Reporter: Robert Chansler
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

NameNode should report status and performance for each replica of image and log

Created: 26/Aug/08 09:56 PM   Updated: 08/Jul/09 04:43 PM
Return to search
Component/s: None
Affects Version/s: 0.20.0
Fix Version/s: 0.20.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works HADOOP-4029-1.patch 2008-12-03 01:57 AM Boris Shkolnik 18 kB
Text File Licensed for inclusion in ASF works HADOOP-4029-2.patch 2008-12-06 01:09 AM Boris Shkolnik 18 kB
Text File Licensed for inclusion in ASF works HADOOP-4029.patch 2008-11-27 12:46 AM Boris Shkolnik 19 kB
Issue Links:
Reference
 

Hadoop Flags: Incompatible change, Reviewed
Release Note: Added name node storage information to the dfshealth page, and moved data node information to a separated page.
Resolution Date: 09/Dec/08 02:22 AM


 Description  « Hide
The administrator should have immediate access to the status of each replica. In addition to reporting whether the replica is active or not, measured performance should be reported so as to indicate whether a replica might impact cluster performance or might be in danger of failing.

We're probably not close to doing automated replica fail over, but we can give the administrator some clues.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Boris Shkolnik added a comment - 27/Nov/08 12:46 AM
This patch include the following changes:
1. additional storage directory (in Storage class) to keep removed(failed) storages and accessors to this list
2. changes to FSImage to add storages to this list (when IO failes)
3. changes to the dfshealth.jsp page to display both lists (valid and failed storages)
4. List of live/dead nodes is moved to a separate page.

Hadoop QA added a comment - 29/Nov/08 02:31 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12394796/HADOOP-4029.patch
against trunk revision 721415.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

-1 findbugs. The patch appears to introduce 2 new Findbugs warnings.

+1 Eclipse classpath. The patch retains Eclipse classpath integrity.

-1 core tests. The patch failed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3670/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3670/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3670/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3670/console

This message is automatically generated.


Boris Shkolnik added a comment - 03/Dec/08 12:08 AM
-1 findbugs
These warnings should be ignored. See JIRA HADOOP-4755

-1 core tests
Both failed tests are in mapred and not related to the changes in the patch.


Konstantin Shvachko added a comment - 03/Dec/08 12:49 AM
  1. Storage.removedStorageDirs should be a member of FSImage rather than Storage class.
  2. In FSImage.java redundant import of StorageDirectory.
  3. Remove comments with test printouts from FSImage.processIOError();
  4. Replace tabs with spaces in FSImage.processIOError();
  5. In dfshealth.jsp
    • Instead of "FSImage Storage Configuration:" I'd rather say "NameNode Storage:"
    • Column "Dir" should rather be named "Storage Directory".

Boris Shkolnik added a comment - 03/Dec/08 01:58 AM
implemented suggestions given by Konstantin

Konstantin Shvachko added a comment - 05/Dec/08 08:13 PM
Minor comments:
  1. FSImage.getStorageDirs() is redundant. You should use Storage.getNumStorageDirs() and Storage.getStorageDir(idx) instead.
  2. Could you please remove empty lines after it.remove() in FSImage.
  3. Unnecessary empty lines changes in dfshealth.jsp.

Boris Shkolnik added a comment - 05/Dec/08 11:51 PM
implemented Konstantin's comments

Konstantin Shvachko added a comment - 06/Dec/08 01:12 AM
+1

Hadoop QA added a comment - 08/Dec/08 12:02 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12395466/HADOOP-4029-2.patch
against trunk revision 724229.

+1 @author. The patch does not contain any @author tags.

-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no tests are needed for this patch.

+1 javadoc. The javadoc tool did not generate any warning messages.

+1 javac. The applied patch does not increase the total number of javac compiler warnings.

-1 findbugs. The patch appears to introduce 2 new Findbugs warnings.

+1 Eclipse classpath. The patch retains Eclipse classpath integrity.

+1 core tests. The patch passed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3686/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3686/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3686/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3686/console

This message is automatically generated.


Tsz Wo (Nicholas), SZE added a comment - 09/Dec/08 02:22 AM
I just committed this. Thanks, Boris!

Hudson added a comment - 09/Dec/08 03:32 PM
Integrated in Hadoop-trunk #683 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/683/)
. Add NameNode storage information to the dfshealth page and move DataNode information to a separated page. (Boris Shkolnik via szetszwo)

Robert Chansler added a comment - 03/Mar/09 06:15 PM
Edit release note for publication.