ff39c0de206a4fce1f0e8a416357a7a8261f8634
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 3 | ||
Rename Method private deserLogMutation(mutation byte[]) : LogMutation renamed to private deserLogMutations(mutations byte[]) : LinkedList<LogMutation> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Rename Method public createAndStartZKManager(config Configuration) : ZKCuratorManager renamed to public getAndStartZKManager(config Configuration) : ZKCuratorManager in class org.apache.hadoop.yarn.server.resourcemanager.ResourceManager | From | To | |
Rename Method private serLogMutation(mutation LogMutation) : byte[] renamed to private serLogMutations(mutations LinkedList<LogMutation>) : byte[] in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type mutation : LogMutation to mutations : LinkedList<LogMutation> in method private serLogMutations(mutations LinkedList<LogMutation>) : byte[] in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Rename Variable | 1 | ||
Rename Variable newSiblingQueues : List<String> to siblingQueues : List<String> in method private removeQueue(queueToRemove String, proposedConf CapacitySchedulerConfiguration, confUpdate Map<String,String>) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.MutableCSConfigurationProvider | From | To | |
Change Return Type | 4 | ||
Change Return Type long to void in method public logMutation(logMutation LogMutation) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.InMemoryConfigurationStore | From | To | |
Change Return Type LogMutation to LinkedList<LogMutation> in method private deserLogMutations(mutations byte[]) : LinkedList<LogMutation> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Change Return Type long to void in method public logMutation(logMutation LogMutation) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Change Return Type boolean to void in method public confirmMutation(isValid boolean) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute mutation : LogMutation to pendingMutation : LogMutation in method public confirmMutation(isValid boolean) : void in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Rename Attribute | 1 | ||
Rename Attribute LOG_COMMITTED_TXN : String to LOG_KEY : String in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Extract Method | 1 | ||
Extract Method private isSchedulerMutable() : boolean extracted from public refreshQueues(request RefreshQueuesRequest) : RefreshQueuesResponse in class org.apache.hadoop.yarn.server.resourcemanager.AdminService | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type DEFAULT_RM_SCHEDCONF_LEVELDB_MAX_LOGS : int to DEFAULT_RM_SCHEDCONF_LEVELDB_MAX_LOGS : long in class org.apache.hadoop.yarn.conf.YarnConfiguration | From | To | |
Rename Parameter | 2 | ||
Rename Parameter mutation : LogMutation to mutations : LinkedList<LogMutation> in method private serLogMutations(mutations LinkedList<LogMutation>) : byte[] in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To | |
Rename Parameter mutation : byte[] to mutations : byte[] in method private deserLogMutations(mutations byte[]) : LinkedList<LogMutation> in class org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.conf.LeveldbConfigurationStore | From | To |