[ 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