You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmytro Sen (JIRA)" <ji...@apache.org> on 2016/01/15 18:42:39 UTC

[jira] [Created] (AMBARI-14694) Unnecessary multiple TreeMap creation

Dmytro Sen created AMBARI-14694:
-----------------------------------

             Summary: Unnecessary multiple TreeMap creation
                 Key: AMBARI-14694
                 URL: https://issues.apache.org/jira/browse/AMBARI-14694
             Project: Ambari
          Issue Type: Bug
    Affects Versions: 2.2.1
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Critical
             Fix For: 2.4.0


In TimelineReadHelper
{code}
    TreeMap<Long, Double> sortedByTimeMetrics = new TreeMap(
      PhoenixHBaseAccessor.readMetricFromJSON(rs.getString("METRICS")));
{code}
but readMetricFromJSON returns the TreeMap



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)