hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rushabh S Shah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15336) NPE for FsServerDefaults.getKeyProviderUri() for clientProtocol communication between 2.7 and 3.2
Date Thu, 29 Mar 2018 16:23:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-15336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16419283#comment-16419283
] 

Rushabh S Shah commented on HADOOP-15336:
-----------------------------------------

bq. In any case, I think this is worth committing.
Agree.

bq. Actually I would switch the null check by hasKeyProviderUri().
I don't think {{FSserverDefaults}} has {{hasKeyProviderUri}} method.
bq. Note that the reverse convert does actually check fs.hasKeyProviderUri().
Reverse is an object FSserverDefaultsProto, thats why it has {{hasKeyProviderUri}} method.
We can add {{hasKeyProviderUri}} method in {{FSserverDefaults}} and do null check in that
method.

> NPE for FsServerDefaults.getKeyProviderUri() for clientProtocol communication between
2.7 and 3.2
> -------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-15336
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15336
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 3.2.0
>            Reporter: Sherwood Zheng
>            Assignee: Sherwood Zheng
>            Priority: Major
>              Labels: backward-incompatible, common
>         Attachments: HADOOP-15336.000.patch, HADOOP-15336.001.patch
>
>
> KeyProviderUri is not available in 2.7 so when 2.7 clients contact with 3.2 services,
it cannot find the key provider URI and triggers a NullPointerException.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message