[
https://issues.apache.org/jira/browse/HDFS-3924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Wang updated HDFS-3924:
------------------------------
Attachment: hdfs-3924-1.patch
Patch changing the {{byte}} to an {{int}}, which should be sufficient for any
realistic number of disks per machine. Also fixed a typo.
I didn't manually test with >127 storage locations, but I ran the existing
BlockStorage tests (which passed), and the ids printed in the output looked
sane.
> 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 more than 255 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