private SortedMap<String,String> propertiesToSortedMap(Properties p){
    SortedMap<String,String> sortedPropMap = new TreeMap<String,String>();
    for (Map.Entry<Object, Object> entry : p.entrySet() ){
      sortedPropMap.put( (String) entry.getKey(), (String) entry.getValue());
    }
    return sortedPropMap;
  }
@return A console message that is not strong enough to fail the command (e.g. deprecation).
ql/src/java/org/apache/hadoop/hive/ql/processors/SetProcessor.java