You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Chris Trezzo (JIRA)" <ji...@apache.org> on 2016/02/01 22:38:40 UTC
[jira] [Commented] (HDFS-9730) Storage ID update does not happen
when there is a layout change
[ https://issues.apache.org/jira/browse/HDFS-9730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127085#comment-15127085 ]
Chris Trezzo commented on HDFS-9730:
------------------------------------
Thanks [~kihwal] for the catch. I am not quite sure I understand why the current unit tests are actually passing. It seems as though both testUpgradeFrom22via26FixesStorageIDs and testUpgradeFrom22FixesStorageIDs should be failing with the current trunk. Investigating this.
> Storage ID update does not happen when there is a layout change
> ---------------------------------------------------------------
>
> Key: HDFS-9730
> URL: https://issues.apache.org/jira/browse/HDFS-9730
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Kihwal Lee
>
> HDFS-9654 will cause test failures when we increment the datanode layout version next time.
> {noformat}
> TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22via26FixesStorageIDs
> TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22FixesStorageIDs
> {noformat}
> This is because createStorageID() is no longer called when it goes through the layout upgrade path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)