GitHub user ConeyLiu opened a pull request:

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

    [SPARK-22068][CORE]Reduce the duplicate code between putIteratorAsValues 
and putIteratorAsBytes

    ## What changes were proposed in this pull request?
    
    The code logic between `MemoryStore.putIteratorAsValues` and 
`Memory.putIteratorAsBytes` are almost same, so we should reduce the duplicate 
code between them.
    
    ## How was this patch tested?
    
    Existing UT.


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

    $ git pull https://github.com/ConeyLiu/spark rmemorystore

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

    https://github.com/apache/spark/pull/19285.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 #19285
    
----
commit 2c20dcbcf499aee5d6fbbb80f4803b3cad37c17c
Author: Xianyang Liu <[email protected]>
Date:   2017-09-17T09:53:49Z

    refactor memorystore

commit 120564303641a92d32ec434dba5076771f6d6e80
Author: Xianyang Liu <[email protected]>
Date:   2017-09-19T08:47:24Z

    fix conflicts

commit 92e1d51b18a810307a0b6d0cb761925a0429ead2
Author: Xianyang Liu <[email protected]>
Date:   2017-09-19T23:45:17Z

    fix bug and add some comments

commit 6e2e29be7ad9d4bf3aae2d55fb4bf93c3286009b
Author: Xianyang Liu <[email protected]>
Date:   2017-09-20T00:28:35Z

    better variable name

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to