presto-hive/src/main/java/io/prestosql/plugin/hive/util/ConfigurationUtils.java/ConfigurationUtils/toJobConf
class ConfigurationUtils:    public static JobConf toJobConf(Configuration conf)
    {
        if (conf instanceof JobConf) {
            return (JobConf) conf;
        }
        return new JobConf(conf);
    }