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

Íñigo Goiri commented on HADOOP-15336:
--------------------------------------

{quote}
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.
{quote}

True, not PB here.
I'm OK with leaving the null check as it is right now; no need to add the new 
method.

Given the discussion and  [^HADOOP-15336.001.patch]: +1
I'm removing the compatibility flag too.

> 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: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to