[ 
https://issues.apache.org/jira/browse/DRILL-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426680#comment-16426680
 ] 

ASF GitHub Bot commented on DRILL-6279:
---------------------------------------

Github user arina-ielchiieva commented on a diff in the pull request:

    https://github.com/apache/drill/pull/1197#discussion_r179403081
  
    --- Diff: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/profile/OperatorWrapper.java
 ---
    @@ -38,7 +39,16 @@
      * Wrapper class for profiles of ALL operator instances of the same 
operator type within a major fragment.
      */
     public class OperatorWrapper {
    +  //private static final org.slf4j.Logger logger = 
org.slf4j.LoggerFactory.getLogger(OperatorWrapper.class);
    +
    +  private static final String HTML_ATTRIB_SPILLS = "spills";
    +  private static final String HTML_ATTRIB_CLASS = "class";
    +  private static final String HTML_ATTRIB_STYLE = "style";
    +  private static final String HTML_ATTRIB_TITLE = "title";
    +  private static final DecimalFormat DECIMAL_FORMATTER = new 
DecimalFormat("#.##");
       private static final String UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR";
    +  //-ve value to indicate absence of metric
    --- End diff --
    
    `-ve value`?


> Web UI should indicate when operators have spilled in-memory data to disk
> -------------------------------------------------------------------------
>
>                 Key: DRILL-6279
>                 URL: https://issues.apache.org/jira/browse/DRILL-6279
>             Project: Apache Drill
>          Issue Type: Improvement
>    Affects Versions: 1.13.0
>            Reporter: Kunal Khatua
>            Assignee: Kunal Khatua
>            Priority: Major
>             Fix For: 1.14.0
>
>         Attachments: spillToDiskSnapshot.png
>
>
> Currently, there is no indication of when an operator is spilling to disk, 
> which would help explain a slow running query. 
> Suggestions are welcome, but the current proposal is to simply update the 
> Operators Overview section to show average and max spill cycles, preferrably, 
> with a color code (or formatting).  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to