-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4617 prevent resource leaks for Closeables #402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
💔 -1 overall
This message was automatically generated. |
tez-tests/src/main/java/org/apache/tez/mapreduce/examples/RandomTextWriter.java
Show resolved
Hide resolved
tez-tests/src/main/java/org/apache/tez/mapreduce/examples/RandomWriter.java
Show resolved
Hide resolved
tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
Outdated
Show resolved
Hide resolved
|
thanks for this patch @dk2k, left some comments |
# Conflicts: # tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java
|
@abstractdog Please review, I fixed comments and merge conflict |
| long numBytesToWritePerMap = conf.getLong(BYTES_PER_MAP, | ||
| 1*1024*1024*1024); | ||
| 1 * 1024 * 1024 * 1024); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we need this line break here, it could be:
long numBytesToWritePerMap = conf.getLong(BYTES_PER_MAP, 1*1024*1024*1024);
the same applies to:
numBytesToWrite = conf.getLong(BYTES_PER_MAP, 1*1024*1024*1024);
thanks @dk2k , I left 1 more minor, otherwise it looks good to me +1 |
|
💔 -1 overall
This message was automatically generated. |
|
spotbugs is broken at the moment (TEZ-4669), there some checkstyle problems in the affected code, I would appreciate if you can handle those |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
No description provided.