public static String getHostName() {
    return server_hostname;
  }
Finds ranges in list and replaces ranges by compact notation
<p/>
<p>For example, suppose <tt>list</tt> comprises<tt> [1, 1, 2, 2, 1, 3]</tt>.
After invoking <tt>rangedMappedSet = StageUtils.replaceMappedRanges(list)</tt>
<tt>rangedMappedSet</tt> will comprise
<tt>["1:0-1,4", "2:2-3", "3:5"]</tt>..

@param values the source list to be ranged
ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java