[
https://issues.apache.org/jira/browse/HDDS-2321?focusedWorklogId=337100&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-337100
]
ASF GitHub Bot logged work on HDDS-2321:
----------------------------------------
Author: ASF GitHub Bot
Created on: 31/Oct/19 23:47
Start Date: 31/Oct/19 23:47
Worklog Time Spent: 10m
Work Description: xiaoyuyao commented on pull request #110: HDDS-2321.
Ozone Block Token verify should not apply to all datanode …
URL: https://github.com/apache/hadoop-ozone/pull/110
## What changes were proposed in this pull request?
* Change the TokenVerifier interface to check the command type and the block
id.
* Token verification based on token encode in the command done inside
HddsDispatcher.
* Remove the Grpc Client/Server CredentialInterceptor as it cannot fit into
Ratis commands.
* Added more unit test coverage on the Tokenverifier.
*
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2321
## How was this patch tested?
Added Unit test testBlockTokenVerifier()
Update Unit test in TestSecureContainerServer.java
ozone secure smoke test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 337100)
Remaining Estimate: 0h
Time Spent: 10m
> Ozone Block Token verify should not apply to all datanode cmd
> -------------------------------------------------------------
>
> Key: HDDS-2321
> URL: https://issues.apache.org/jira/browse/HDDS-2321
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Affects Versions: 0.4.1
> Reporter: Nilotpal Nandi
> Assignee: Xiaoyu Yao
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> DN container protocol has cmd send from SCM or other DN, which do not bear OM
> block token like OM client. We should restrict the OM Block token check only
> for those issued from OM client.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]