cndaimin opened a new pull request #3899: URL: https://github.com/apache/hadoop/pull/3899
HDFS EC adopts the last 4 bits of block ID to store the block index in EC block group. Therefore maximum blocks in EC block group is `2^4=16`, and which is defined here: `HdfsServerConstants#MAX_BLOCKS_IN_GROUP`. Currently there is no limitation or warning when adding a bad EC policy with `numDataUnits + numParityUnits > 16`. It only results in read/write error on EC file with bad EC policy. To users this is not very straightforward. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
