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

Ashvin commented on HDFS-14390:
-------------------------------

Thanks for reviewing [~daryn]. 
I posted a new patch, [^HDFS-14390.005.patch]. This patch does not include 
{{FSTreeWalk}} changes as they are not needed for fixing the issue.

Regarding test verification, the current test is not creating any files. This 
is because in absence of the kerberos annotation, 
{{TestSecureAliasMap.testSecureConnectionToAliasMap}} will fail to create 
{{BlockAliasMap.Reader reader}} and the test will fail with the following 
error. Accordingly I think the unit test is reliably verifying the connection. 
I am inclining towards not complicating the unit test with alias map creation 
details.

{{java.io.IOException: Unable to retrieve InMemoryAliasMap for block pool id 
BP-1267604097-10.84.180.32-1555451080089}}{{ }}{{at   
org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.InMemoryLevelDBAliasMapClient.getAliasMap(InMemoryLevelDBAliasMapClient.java:173)}}{{at
   
org.apache.hadoop.hdfs.server.common.blockaliasmap.impl.InMemoryLevelDBAliasMapClient.getReader(InMemoryLevelDBAliasMapClient.java:180)}}{{at
   
org.apache.hadoop.hdfs.server.aliasmap.TestSecureAliasMap.testSecureConnectionToAliasMap(TestSecureAliasMap.java:198)}}
 

> Provide kerberos support for AliasMap service used by Provided storage
> ----------------------------------------------------------------------
>
>                 Key: HDFS-14390
>                 URL: https://issues.apache.org/jira/browse/HDFS-14390
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Ashvin
>            Assignee: Ashvin
>            Priority: Major
>         Attachments: HDFS-14390.001.patch, HDFS-14390.002.patch, 
> HDFS-14390.003.patch, HDFS-14390.004.patch, HDFS-14390.005.patch
>
>
> With {{PROVIDED}} storage (-HDFS-9806)-, HDFS can address data stored in 
> external storage systems. This feature is not supported in a secure HDFS 
> cluster. The {{AliasMap}} service does not support kerberos, and as a result 
> the cluster nodes will fail to communicate with it. This JIRA is to enable 
> kerberos support for the {{AliasMap}} service.



--
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