-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16080. hadoop-aws does not work with hadoop-client-api #2522
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
Conversation
💔 -1 overall
This message was automatically generated. |
import java.util.concurrent.LinkedBlockingQueue; | ||
import java.util.concurrent.ThreadPoolExecutor; | ||
import java.util.concurrent.TimeUnit; | ||
import java.util.concurrent.*; |
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.
Wildcard should be avoided.
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.
oops will do - I forgot to set this up on my new laptop
Rethinking this, using String.format is slower than the template usages because it creates a string error message before checking the condition. Now I think we need to create our internal checkArgument/checkState/checkNotNull functions and it can be done in a separate JIRA. |
💔 -1 overall
This message was automatically generated. |
@sunchao Would you fix the findbugs warning or ignore it by adding an entry to the findbugs-exclude.xml? I'm +1 if that is addressed.
|
@aajisaka sure added to findbugs-exclude.xml - note that this PR doesn't touch anything on the method though. |
💔 -1 overall
This message was automatically generated. |
…#2510). Contributed by Chao Sun
eb08721
to
8600f19
Compare
💔 -1 overall
This message was automatically generated. |
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.
LGTM, +1. Thank you @sunchao
Backported https://issues.apache.org/jira/browse/HADOOP-17186 to fix the javadoc error in hadoop-aws module. |
Note: In branch-3.3, there is a findbugs warning in hadoop-cloud-storage-project/hadoop-cos. I'm going to cherry-pick HADOOP-17138 in #2538 to fix the warning. |
Thanks @aajisaka ! |
…buted by Chao Sun (apache#2522)
Contributed by Chao Sun. (Cherry-picked via PR #2575)
…e#2522) Contributed by Chao Sun. (Cherry-picked via PR apache#2575)
(This is a backport from #2510)
This does the following:
ListenableFuture
as well asListeningExecutorService
from public interfaces, so that modules such ashadoop-aws
andhadoop-aliyun
can consume the class from hadoop-client-api without running into Guava conflicts.