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 "Ewan Higgs (JIRA)" <ji...@apache.org> on 2017/03/01 13:49:45 UTC

[jira] [Updated] (HDFS-6708) StorageType should be encoded in the block token

     [ https://issues.apache.org/jira/browse/HDFS-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ewan Higgs updated HDFS-6708:
-----------------------------
    Attachment: HDFS-6708.0004.patch

Attaching a patch that allows the token check to pass if any of the StorageTypes on the DN are available. This is because a Datanode with only SSD only needs to satisfy the SSD part of the request; not SSD and DISK since the other DNs need to handle the DISK replicas.

This will be more obviously required when we check StorageIDs in HDFS-9807.

> StorageType should be encoded in the block token
> ------------------------------------------------
>
>                 Key: HDFS-6708
>                 URL: https://issues.apache.org/jira/browse/HDFS-6708
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>    Affects Versions: 2.4.1
>            Reporter: Arpit Agarwal
>            Assignee: Ewan Higgs
>             Fix For: 3.0.0-alpha3
>
>         Attachments: HDFS-6708.0001.patch, HDFS-6708.0002.patch, HDFS-6708.0003.patch, HDFS-6708.0004.patch
>
>
> HDFS-6702 is adding support for file creation based on StorageType.
> The block token is used as a tamper-proof channel for communicating block parameters from the NN to the DN during block creation. The StorageType should be included in this block token.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org