7d3b567194f51b745dbc7eb7ee91c1ac160053f4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Extract Attribute | 1 | ||
| Extract Attribute private RS_6_3 : String in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable | 7 | ||
| Extract Variable numDataNodes : int in method public testRS104MinRacks() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numRacks : int in method public testRS104MinRacks() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numDataNodes : int in method public testUnsuccessfulEnablePolicyMessage() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numDataNodes : int in method public testXOR21MinRacks() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numDataNodes : int in method public testVerifyClusterSetupWithGivenPolicies() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numDataNodes : int in method public testRS32MinRacks() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Variable numDataNodes : int in method public testRS63MinDN() : void from class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method | 16 | ||
| Extract Method private runCommandWithParams(args String...) : int extracted from public testEnableNonExistentPolicyMessage() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughDataNodesMessage(policy String, numDataNodes int, expectedNumDataNodes int) : void extracted from public testRS63MinDN() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testRS104MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughRacksMessage(policy String, numRacks int, expectedNumRacks int) : void extracted from public testRS32MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testNoECEnabled() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughDataNodesMessage(policy String, numDataNodes int, expectedNumDataNodes int) : void extracted from public testVerifyClusterSetupWithGivenPolicies() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughRacksMessage(policy String, numRacks int, expectedNumRacks int) : void extracted from public testRS104MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughRacksMessage(policy String, numRacks int, expectedNumRacks int) : void extracted from public testVerifyClusterSetupWithGivenPolicies() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testXOR21MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testRS63Good() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testRS63MinDN() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private assertNotEnoughRacksMessage(policy String, numRacks int, expectedNumRacks int) : void extracted from public testXOR21MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testUnsuccessfulEnablePolicyMessage() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testSuccessfulEnablePolicyMessage() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testVerifyClusterSetupWithGivenPolicies() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To | |
| Extract Method private runCommandWithParams(args String...) : int extracted from public testRS32MinRacks() : void in class org.apache.hadoop.hdfs.tools.TestECAdmin | From | To |