fix multiple assignment by doing silent closes on each rs hosting the region and then force zk unassigned node to offline to trigger assignment by master . concode_field_sep Log LOG concode_field_sep void closeRegionSilentlyAndWait concode_elem_sep HRegion createHDFSRegionDir concode_elem_sep void waitUntilAssigned concode_elem_sep void forceOfflineInZK concode_elem_sep void fixMetaHoleOnlineAndAddReplicas concode_elem_sep void fixUnassigned
void function ( Connection arg0 , HRegionInfo arg1 , List < ServerName > arg2 ) { HRegionInfo loc0 = new HRegionInfo ( arg1 ) ; for ( ServerName loc1 : arg2 ) { closeRegionSilentlyAndWait ( arg0 , loc1 , loc0 ) ; } forceOfflineInZK ( arg0 . getAdmin ( ) , loc0 ) ; }