public static String describeConfProp(Configuration conf,String name){
  String val=conf.get(name);
  String[] srcs=conf.getPropertySources(name);
  String source=srcs == null ? "unknown" : Arrays.toString(srcs);
  return String.format("%s=%s; source: %s",name,val,source);
}

public static String describeConfProp ( Configuration conf , String name ) { String val = conf . get ( name ) ; String [ ] srcs = conf . getPropertySources ( name ) ; String source = srcs == null ? "unknown" : Arrays . toString ( srcs ) ; return String . format ( "%s=%s; source: %s" , name , val , source ) ; }
generates human readable string with property name , value , and source
