hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3924) Multi-byte id in HdfsVolumeId
Date Thu, 13 Sep 2012 17:24:08 GMT

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

Aaron T. Myers commented on HDFS-3924:
--------------------------------------

Hey Andrew, this does indeed increase the size of the valid range of unique volume identifiers
by interpreting the bytes on the wire as ints instead of bytes, but to make this identifier
truly opaque, I think we should not interpret the byte[] sent at all. Instead, HdfsVolumeId
should store and compare the values in the byte array directly.
                
> Multi-byte id in HdfsVolumeId
> -----------------------------
>
>                 Key: HDFS-3924
>                 URL: https://issues.apache.org/jira/browse/HDFS-3924
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs client
>    Affects Versions: 2.0.3-alpha
>            Reporter: Andrew Wang
>            Assignee: Andrew Wang
>         Attachments: hdfs-3924-1.patch
>
>
> Currently, the {{id}} in {{HdfsVolumeId}} is just a single byte. It'd be nice to make
this larger, for situations where there's a large number of disks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message