-
Notifications
You must be signed in to change notification settings - Fork 3.7k
fix the bug that 'username' in broker load is invalid #3237
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
| } | ||
| } else { | ||
| throw new BrokerException(TBrokerOperationStatusCode.INVALID_ARGUMENT, | ||
| "invalid authentication."); |
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.
We need to determine whether the authentication method exists
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.
The authentication has been checked before, so this is redundant here.
|
|
||
| conf.set(FS_HDFS_IMPL_DISABLE_CACHE, "true"); | ||
| FileSystem dfsFileSystem = FileSystem.get(pathUri.getUri(), conf); | ||
| FileSystem dfsFileSystem = null; |
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.
Is this method compatible with versions of hdfs?
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.
The version 2.7.3 of package hadoop-common including this method is the same as package hadoop-hdfs.
|
Please change to an understandable title |
fix bug in issue #3234