Uh oh!
There was an error while loading. Please reload this page.
[SPARK-19599][SS]Clean up HDFSMetadataLog - #16932
Conversation
| // So throw an exception to tell the user this is not a valid behavior. | ||
| throw new ConcurrentModificationException( | ||
| s"Multiple HDFSMetadataLog are using $path", e) | ||
| case e: FileNotFoundException => |
There was a problem hiding this comment.
Removed it because we always create a temp file so it won't happen.
SparkQA
commented
Feb 14, 2017
Test build #72890 has finished for PR 16932 at commit
|
zsxwing
commented
Feb 14, 2017
retest this please |
SparkQA
commented
Feb 15, 2017
Test build #72899 has finished for PR 16932 at commit
|
zsxwing
commented
Feb 15, 2017
retest this please |
SparkQA
commented
Feb 15, 2017
Test build #72898 has finished for PR 16932 at commit
|
SparkQA
commented
Feb 15, 2017
Test build #72906 has finished for PR 16932 at commit
|
brkyvz
commented
Feb 15, 2017
LGTM! |
SparkQA
commented
Feb 15, 2017
Test build #72954 has finished for PR 16932 at commit
|
zsxwing
commented
Feb 16, 2017
Thanks! Merging to master. |
## What changes were proposed in this pull request? SPARK-19464 removed support for Hadoop 2.5 and earlier, so we can do some cleanup for HDFSMetadataLog. This PR includes the following changes: - ~~Remove the workaround codes for HADOOP-10622.~~ Unfortunately, there is another issue [HADOOP-14084](https://issues.apache.org/jira/browse/HADOOP-14084) that prevents us from removing the workaround codes. - Remove unnecessary `writer: (T, OutputStream) => Unit` and just call `serialize` directly. - Remove catching FileNotFoundException. ## How was this patch tested? Jenkins Author: Shixiong Zhu <shixiong@databricks.com> Closes#16932 from zsxwing/metadata-cleanup. (cherry picked from commit 21b4ba2) Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
zsxwing
commented
Feb 16, 2017
Since this change is minor and safe, I also cherry-picked to 2.1 to avoid merge conflicts in future. |
srowen
commented
Feb 16, 2017
The final code change doesn't assume Hadoop 2.6 right? |
zsxwing
commented
Feb 16, 2017
Right. |
## What changes were proposed in this pull request? SPARK-19464 removed support for Hadoop 2.5 and earlier, so we can do some cleanup for HDFSMetadataLog. This PR includes the following changes: - ~~Remove the workaround codes for HADOOP-10622.~~ Unfortunately, there is another issue [HADOOP-14084](https://issues.apache.org/jira/browse/HADOOP-14084) that prevents us from removing the workaround codes. - Remove unnecessary `writer: (T, OutputStream) => Unit` and just call `serialize` directly. - Remove catching FileNotFoundException. ## How was this patch tested? Jenkins Author: Shixiong Zhu <shixiong@databricks.com> Closesapache#16932 from zsxwing/metadata-cleanup.
What changes were proposed in this pull request?
SPARK-19464 removed support for Hadoop 2.5 and earlier, so we can do some cleanup for HDFSMetadataLog.
This PR includes the following changes:
Remove the workaround codes for HADOOP-10622.Unfortunately, there is another issue HADOOP-14084 that prevents us from removing the workaround codes.writer: (T, OutputStream) => Unitand just callserializedirectly.How was this patch tested?
Jenkins