[ https://issues.apache.org/jira/browse/HDFS-12872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277463#comment-16277463 ]
Uma Maheswara Rao G commented on HDFS-12872: -------------------------------------------- HI [~xiaochen], Thanks for working on it. I think it make sense to set blocktocken at group level to use for calculating DN. {code} sb.setBlockToken(blockTokenSecretManager.generateToken( + NameNode.getRemoteUser().getShortUserName(), + internalBlock, EnumSet.of(mode), b.getStorageTypes(), + b.getStorageIDs())); {code} Isn't this code common to else part now? should we remove else part code and make this set for block irrespective of isStriped ? > EC Checksum broken when BlockAccessToken is enabled > --------------------------------------------------- > > Key: HDFS-12872 > URL: https://issues.apache.org/jira/browse/HDFS-12872 > Project: Hadoop HDFS > Issue Type: Bug > Components: erasure-coding > Reporter: Xiao Chen > Assignee: Xiao Chen > Priority: Critical > Labels: hdfs-ec-3.0-must-do > Attachments: HDFS-12872.01.patch, HDFS-12872.repro.patch > > > It appears {{hdfs ec -checksum}} doesn't work when block access token is > enabled. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org