Github user edwinalu commented on the issue:

    https://github.com/apache/spark/pull/21221
  
    @squito For PeakMemoryMetrics in api.scala, changing to the array gives 
REST API output of:
    
      "peakMemoryMetrics" : {
        "metrics" : [ 755008624, 100519936, 0, 0, 47962185, 0, 47962185, 0, 
98230, 0 ]
      }
    
    instead of:
    
      "peakMemoryMetrics" : {
        "jvmUsedHeapMemory" : 629553808,
        "jvmUsedNonHeapMemory" : 205304696,
        "onHeapExecutionMemory" : 0,
        "offHeapExecutionMemory" : 0,
        "onHeapStorageMemory" : 905801,
        "offHeapStorageMemory" : 0,
        "onHeapUnifiedMemory" : 905801,
        "offHeapUnifiedMemory" : 0,
        "directMemory" : 397602,
        "mappedMemory" : 0
      }
    
    Would it be OK to revert back to the original version of PeakMemoryMetrics, 
where each field is listed as a separate element? 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to