Hi, Tez has utility which created Configuration object from the payload:
TezUtils.createConfFromUserPayload(byte[] payload); this method returns a Configuration object even though the serialized byte[] can be of type JobConf. Once we get the Configuration we try to create few object using ReflectionUtil.newInstance(class, conf). ReflectionUtil.newInstance makes a check whether the conf is instance of "org.apache.hadoop.mapred.JobConf" and accordingly invokes the "configure" method. This behavior is not working anymore in Tez scenario. One simple scenario when user defines a custom "RawComparator" and makes it "JobConfigurable" but, org.apache.tez.runtime.library.common.sort.impl.ExternalSorter doesn't care if the configuration could be instance of "org.apache.hadoop.mapred. JobConf" Please let me know if there is a problem with Tez or there exist lack of my understanding about how objects should be created in Tez :-) -- Cheers, *Subroto Sanyal*
