|
[
Permlink
| « Hide
]
Tsz Wo (Nicholas), SZE added a comment - 19/Apr/08 12:37 AM
One way is to an inter-DataNode protocol for block manipulation:
Tsz Wo (Nicholas), SZE made changes - 19/Apr/08 12:50 AM
Maybe we can call it InterDatanodeProtocol to make it more explicit.
For adding a Datanode RPC server, we need to store the RPC server port and distribute it. One way is to store the port in DatanodeID. I am not sure whether it is the right way to go.
Tsz Wo (Nicholas), SZE made changes - 23/Apr/08 11:12 PM
3283_20080423c.patch: preview, it does not pass the tests yet.
Tsz Wo (Nicholas), SZE made changes - 24/Apr/08 01:35 AM
1. The two new methods in the InterDatanodeProtocol should take a Block object as the first parameter.
2. The MiniDFSCluster should have a method named getDatanode.getDataNode() that returns an object of type InterDatanodeProtocol. This will allow tests to easily invoke RPCs in the InterDatanodeProtocol. 3283_20080424.patch: fixed the bugs and update the patch with Dhruba's comments.
Tsz Wo (Nicholas), SZE made changes - 24/Apr/08 11:30 PM
Tsz Wo (Nicholas), SZE made changes - 24/Apr/08 11:31 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12380882/3283_20080424.patch against trunk revision 645773. @author +1. The patch does not contain any @author tags. tests included +1. The patch appears to include 15 new or modified tests. javadoc +1. The javadoc tool did not generate any warning messages. javac +1. The applied patch does not generate any new javac compiler warnings. release audit +1. The applied patch does not generate any new release audit warnings. findbugs -1. The patch appears to introduce 1 new Findbugs warnings. core tests +1. The patch passed core unit tests. contrib tests +1. The patch passed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2320/testReport/ This message is automatically generated. The new Findbugs warning says that class doesn't override equals in the superclass. In our case, we have BlockMetaDataInfo extending Block and we don't need to define equals in BlockMetaDataInfo.
dhruba borthakur made changes - 25/Apr/08 09:02 PM
3283_20080425versionID.patch: update the versionID in ClientProtocol, DatanodeProtocol, NamenodeProtocol
Tsz Wo (Nicholas), SZE made changes - 25/Apr/08 09:19 PM
Tsz Wo (Nicholas), SZE made changes - 25/Apr/08 09:26 PM
I just committed this. Thanks Nicholas!
dhruba borthakur made changes - 25/Apr/08 09:31 PM
Tsz Wo (Nicholas), SZE made changes - 25/Apr/08 10:03 PM
Integrated in Hadoop-trunk #471 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/471/
Integrated in Hadoop-trunk #483 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/483/
Nigel Daley made changes - 09/May/08 10:28 PM
Robert Chansler made changes - 30/Jun/08 09:49 PM
Nigel Daley made changes - 22/Aug/08 07:50 PM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||