Uh oh!
There was an error while loading. Please reload this page.
[SPARK-6479][Block Manager]Create off-heap block storage API - #5430
[SPARK-6479][Block Manager]Create off-heap block storage API#5430zhzhan wants to merge 7 commits into
Conversation
rxin
commented
Apr 9, 2015
To help me understand this patch, can you also put the Tachyon implementation into this? |
SparkQA
commented
Apr 9, 2015
Test build #29903 has finished for PR 5430 at commit
|
zhzhan
commented
Apr 9, 2015
@rxin I have attached the patch with Tachyon migration code to the JIRA. https://issues.apache.org/jira/secure/attachment/12724088/spark-6479-tachyon.patch The patch is incomplete on purpose, because most of the diff (not included) is just changing the term from tachyon to offheap. If you think it is better to do tachyon migration with this JIRA, please let me know and I will do it in one shot. By the way, there is minor change in OffHeapStore and OffHeapBlockManager, which is inconsistent with this PR, please ignore it. |
There was a problem hiding this comment.
i think default value is necessary.
There was a problem hiding this comment.
User may not want to use offheap, and in this case the OffHeapBlockManager will be None.
rxin
commented
Apr 9, 2015
Thanks - let's put the Tachyon patch with this. In this case, I think it will be easier to review and understand the API semantics. |
There was a problem hiding this comment.
remove the extra blank line here when you update
zhzhan
commented
Apr 10, 2015
@rxin This is the complete change for offheap api, and tachyon migration code. There is no any logical change in tachyong (just move code around), except changing one system.ext to throw exceptions in TachyonBlockManager initialization part. |
SparkQA
commented
Apr 10, 2015
Test build #29997 has finished for PR 5430 at commit
|
SparkQA
commented
Apr 10, 2015
Test build #30017 has finished for PR 5430 at commit
|
There was a problem hiding this comment.
This is an API breaking change. We need to keep the old one around (as an alias), and deprecate it.
rxin
commented
Apr 10, 2015
@zhzhan I also left a high level comment on JIRA - it'd be better to call this external block store, rather than off-heap store. |
SparkQA
commented
Apr 14, 2015
Test build #30203 has finished for PR 5430 at commit
|
zhzhan
commented
Apr 20, 2015
@rxin Could you help to review the patch and let me know if you have any concern? |
SparkQA
commented
Apr 20, 2015
Test build #30609 has finished for PR 5430 at commit
|
SparkQA
commented
Apr 21, 2015
Test build #30614 has finished for PR 5430 at commit
|
rxin
commented
Apr 22, 2015
Sorry for the delay - I will look at this again today. |
There was a problem hiding this comment.
This needs to handle backwards compatibility - i.e. logs from older versions of Spark where it says Tachyon. If you look there are other backwards compatibility tests relating to this protocol too
There was a problem hiding this comment.
If the "Tachyon" version is present, I'd look for that and then just convert it.
There was a problem hiding this comment.
how is desc going to be used? maybe we should just override toString?
zhzhan
commented
Apr 25, 2015
Jenkins, retest this please. |
zhzhan
commented
Apr 25, 2015
Jenkins, test it please. |
pwendell
commented
Apr 25, 2015
Jenkins, test this please. |
1 similar comment
zhzhan
commented
Apr 27, 2015
Jenkins, test this please. |
SparkQA
commented
Apr 28, 2015
Test build #31175 has finished for PR 5430 at commit
|
zhzhan
commented
Apr 29, 2015
Jenkins, retest this please. |
SparkQA
commented
Apr 29, 2015
Test build #31197 has finished for PR 5430 at commit
|
zhzhan
commented
Apr 29, 2015
pwendell
commented
May 1, 2015
I took as pass and this LGTM. However it needs to be brought up to date. |
zhzhan
commented
May 1, 2015
I think Spark-5213 fail the mina test [info] spark-sql: found 1 potential binary incompatibilities (filtered 129) |
SparkQA
commented
May 1, 2015
Test build #31502 has finished for PR 5430 at commit
|
zhzhan
commented
May 1, 2015
pwendell
commented
May 1, 2015
Jenkins, retest this please. Thanks @zhzhan I reverted the patch. |
SparkQA
commented
May 1, 2015
Test build #31506 has finished for PR 5430 at commit
|
This is the classes for creating off-heap block storage API. It also includes the migration for Tachyon. The diff seems to be big, but it mainly just rename tachyon to offheap. New implementation for hdfs will be submit for review in spark-6112. Author: Zhan Zhang <zhazhan@gmail.com> Closesapache#5430 from zhzhan/SPARK-6479 and squashes the following commits: 60acd84 [Zhan Zhang] minor change to kickoff the test 12f54c9 [Zhan Zhang] solve merge conflicts a54132c [Zhan Zhang] solve review comments ffb8e00 [Zhan Zhang] rebase to sparkcontext change 6e121e0 [Zhan Zhang] resolve review comments and restructure blockmanasger code a7aed6c [Zhan Zhang] add Tachyon migration code 186de31 [Zhan Zhang] initial commit for off-heap block storage api
This is the classes for creating off-heap block storage API. It also includes the migration for Tachyon. The diff seems to be big, but it mainly just rename tachyon to offheap. New implementation for hdfs will be submit for review in spark-6112. Author: Zhan Zhang <zhazhan@gmail.com> Closesapache#5430 from zhzhan/SPARK-6479 and squashes the following commits: 60acd84 [Zhan Zhang] minor change to kickoff the test 12f54c9 [Zhan Zhang] solve merge conflicts a54132c [Zhan Zhang] solve review comments ffb8e00 [Zhan Zhang] rebase to sparkcontext change 6e121e0 [Zhan Zhang] resolve review comments and restructure blockmanasger code a7aed6c [Zhan Zhang] add Tachyon migration code 186de31 [Zhan Zhang] initial commit for off-heap block storage api
This is the classes for creating off-heap block storage API. It also includes the migration for Tachyon. The diff seems to be big, but it mainly just rename tachyon to offheap. New implementation for hdfs will be submit for review in spark-6112. Author: Zhan Zhang <zhazhan@gmail.com> Closesapache#5430 from zhzhan/SPARK-6479 and squashes the following commits: 60acd84 [Zhan Zhang] minor change to kickoff the test 12f54c9 [Zhan Zhang] solve merge conflicts a54132c [Zhan Zhang] solve review comments ffb8e00 [Zhan Zhang] rebase to sparkcontext change 6e121e0 [Zhan Zhang] resolve review comments and restructure blockmanasger code a7aed6c [Zhan Zhang] add Tachyon migration code 186de31 [Zhan Zhang] initial commit for off-heap block storage api
This is the classes for creating off-heap block storage API. It also includes the migration for Tachyon. The diff seems to be big, but it mainly just rename tachyon to offheap. New implementation for hdfs will be submit for review in spark-6112.