Issue Details (XML | Word | Printable)

Key: HADOOP-4572
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tsz Wo (Nicholas), SZE
Reporter: Tsz Wo (Nicholas), SZE
Votes: 0
Watchers: 1
Operations

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

INode and its sub-classes should be package private

Created: 01/Nov/08 12:28 AM   Updated: 08/Jul/09 04:43 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 0.20.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works 4572_20081103.patch 2008-11-03 11:13 PM Tsz Wo (Nicholas), SZE 115 kB
File Licensed for inclusion in ASF works svn_move.sh 2008-11-05 06:43 PM Tsz Wo (Nicholas), SZE 1 kB

Hadoop Flags: Reviewed, Incompatible change
Release Note: Moved org.apache.hadoop.hdfs.{CreateEditsLog, NNThroughputBenchmark} to org.apache.hadoop.hdfs.server.namenode.
Resolution Date: 05/Nov/08 06:44 PM


 Description  « Hide
INode, INodeFile, INodeDirectory and INodeFileUnderConstruction should be changed from public to package private. As a consequence, some test classes like CreateEditsLog have to be moved to org.apache.hadoop.hdfs.server.namenode.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tsz Wo (Nicholas), SZE added a comment - 03/Nov/08 11:13 PM
4572_20081103.patch:
  • changed INode, INodeFile, INodeDirectory and INodeFileUnderConstruction to package private.
  • moved TestNNThroughputBenchmark, FileNameGenerator, CreateEditsLog and NNThroughputBenchmark to org.apache.hadoop.hdfs.server.namenode.

Konstantin Shvachko added a comment - 04/Nov/08 07:08 PM
+1 This looks good.

Hadoop QA added a comment - 05/Nov/08 07:12 AM
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12393273/4572_20081103.patch
against trunk revision 711482.

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

+1 tests included. The patch appears to include 24 new or modified tests.

+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 does not introduce any 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/3531/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3531/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3531/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3531/console

This message is automatically generated.


Tsz Wo (Nicholas), SZE added a comment - 05/Nov/08 06:43 PM
svn_move.sh: a script for moving the source files.

Tsz Wo (Nicholas), SZE added a comment - 05/Nov/08 06:44 PM
I just committed this.

Hudson added a comment - 06/Nov/08 05:06 PM
Integrated in Hadoop-trunk #653 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/653/)
. Change INode and its sub-classes to package private. (szetszwo)