68da45a789262f143c393a101c00e8349a45c035
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable datanodeID : DatanodeID to leader : DatanodeID in method public createPipeline(containerName String, numNodes int) : Pipeline in class org.apache.hadoop.ozone.container.ContainerTestHelper | From | To | |
Rename Variable server : XceiverServer to s : XceiverServerSpi in method package runTestClientServer(numDatanodes int, initConf BiConsumer<Pipeline,OzoneConfiguration>, createClient CheckedBiFunction<Pipeline,OzoneConfiguration,XceiverClientSpi,IOException>, createServer CheckedBiFunction<DatanodeID,OzoneConfiguration,XceiverServerSpi,IOException>) : void in class org.apache.hadoop.ozone.container.transport.server.TestContainerServer | From | To | |
Change Variable Type | 2 | ||
Change Variable Type client : XceiverClient to client : XceiverClientSpi in method package runTestClientServer(numDatanodes int, initConf BiConsumer<Pipeline,OzoneConfiguration>, createClient CheckedBiFunction<Pipeline,OzoneConfiguration,XceiverClientSpi,IOException>, createServer CheckedBiFunction<DatanodeID,OzoneConfiguration,XceiverServerSpi,IOException>) : void in class org.apache.hadoop.ozone.container.transport.server.TestContainerServer | From | To | |
Change Variable Type server : XceiverServer to s : XceiverServerSpi in method package runTestClientServer(numDatanodes int, initConf BiConsumer<Pipeline,OzoneConfiguration>, createClient CheckedBiFunction<Pipeline,OzoneConfiguration,XceiverClientSpi,IOException>, createServer CheckedBiFunction<DatanodeID,OzoneConfiguration,XceiverServerSpi,IOException>) : void in class org.apache.hadoop.ozone.container.transport.server.TestContainerServer | From | To | |
Extract Method | 5 | ||
Extract Method private setOzoneLocalStorageRoot(conf OzoneConfiguration) : void extracted from public testOzoneContainerViaDataNode() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Extract Method public createDatanodeID() : DatanodeID extracted from public createSingleNodePipeline(containerName String) : Pipeline in class org.apache.hadoop.ozone.container.ContainerTestHelper | From | To | |
Extract Method public createPipeline(containerName String, numNodes int) : Pipeline extracted from public createSingleNodePipeline(containerName String) : Pipeline in class org.apache.hadoop.ozone.container.ContainerTestHelper | From | To | |
Extract Method package runTestClientServer(numDatanodes int, initConf BiConsumer<Pipeline,OzoneConfiguration>, createClient CheckedBiFunction<Pipeline,OzoneConfiguration,XceiverClientSpi,IOException>, createServer CheckedBiFunction<DatanodeID,OzoneConfiguration,XceiverServerSpi,IOException>) : void extracted from public testClientServer() : void in class org.apache.hadoop.ozone.container.transport.server.TestContainerServer | From | To | |
Extract Method package runTestOzoneContainerViaDataNode(containerName String, pipeline Pipeline, client XceiverClientSpi) : void extracted from public testOzoneContainerViaDataNode() : void in class org.apache.hadoop.ozone.container.ozoneimpl.TestOzoneContainer | From | To | |
Rename Parameter | 1 | ||
Rename Parameter conf : Configuration to dnConf : Configuration in method protected setupDatanodeAddress(i int, dnConf Configuration, setupHostsFile boolean, checkDataNodeAddrConfig boolean) : void in class org.apache.hadoop.hdfs.MiniDFSCluster | From | To |