GitHub user attilapiros opened a pull request:

    https://github.com/apache/spark/pull/20546

    [SPARK-20659][Core] Remove StorageStatus, or make it private.

    ## What changes were proposed in this pull request?
    
    In this PR StorageStatus is made to private and simplified a bit moreover 
SparkContext.getExecutorStorageStatus method is removed. The reason of keeping 
StorageStatus is that it is usage from SparkContext.getRDDStorageInfo.
    
    Instead of the method SparkContext.getExecutorStorageStatus executor infos 
are extended with additional memory metrics such as usedOnHeapStorageMemory, 
usedOffHeapStorageMemory, totalOnHeapStorageMemory, totalOffHeapStorageMemory.
    
    ## How was this patch tested?
    
    By running existing unit tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/attilapiros/spark SPARK-20659

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/20546.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20546
    
----
commit 3f5dba62cfa8b07d602639e9f88f3fd8cec92831
Author: “attilapiros” <piros.attila.zsolt@...>
Date:   2018-02-07T13:41:31Z

    initial version

----


---

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

Reply via email to