[ https://issues.apache.org/jira/browse/HDFS-8191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhe Zhang updated HDFS-8191: ---------------------------- Attachment: HDFS-8191.001.patch Thanks Andrew for the review! Yes a unit test is a good idea. It turns out I need to refactor {{TestSimulatedFSDataset}} quite a bit to inject simulated books with negative block IDs. But I think the added {{negativeBlkID}} will be useful in the future as well. Both Jenkins failures pass locally. > Fix byte to integer casting in SimulatedFSDataset#simulatedByte > --------------------------------------------------------------- > > Key: HDFS-8191 > URL: https://issues.apache.org/jira/browse/HDFS-8191 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Zhe Zhang > Assignee: Zhe Zhang > Priority: Minor > Attachments: HDFS-8191.000.patch, HDFS-8191.001.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)