public static TaskID downgrade ( org . apache . hadoop . mapreduce . TaskID old ) { if ( old instanceof TaskID ) { return ( TaskID ) old ; } else { return new TaskID ( JobID . downgrade ( old . getJobID ( ) ) , old . isMap ( ) , old . getId ( ) ) ; } }
Downgrade a new TaskID to an old one