jianghuazhu commented on pull request #3417: URL: https://github.com/apache/hadoop/pull/3417#issuecomment-920560953
@xinglin, can you help review? There are some spotbugs tips in jenkins, for example: `This code increments a volatile field. Increments of volatile fields aren't atomic. If more than one thread is incrementing the field at the same time, increments could be lost.` In response to this prompt, I created another jira to respond: https://issues.apache.org/jira/browse/HDFS-16228 Here are some phenomena in the debugging process. When numSpaceKeyDepth=2, numRanges=10 {INodeDirectory} "range key: [0, 16385]" {INodeDirectory} "range key: [1, 16385]" {INodeDirectory} "range key: [2, 16385]" {INodeDirectory} "range key: [3, 16385]" {INodeDirectory} "range key: [4, 16385]" {INodeDirectory} "range key: [5, 16385]" {INodeDirectory} "range key: [6, 16385]" {INodeDirectory} "range key: [7, 16385]" {INodeDirectory} "range key: [8, 16385]" {INodeDirectory} "range key: [9, 16385]" https://issues.apache.org/jira/secure/attachment/13033627/13033627_debug1.jpg When numSpaceKeyDepth=4, numRanges=10 {INodeDirectory} "range key: [0, 0, 0,16385]" {INodeDirectory} "range key: [1, 0, 0,16385]" {INodeDirectory} "range key: [2, 0, 0,16385]" {INodeDirectory} "range key: [3, 0, 0,16385]" {INodeDirectory} "range key: [4, 0, 0,16385]" {INodeDirectory} "range key: [5, 0, 0,16385]" {INodeDirectory} "range key: [6, 0, 0,16385]" {INodeDirectory} "range key: [7, 0, 0,16385]" {INodeDirectory} "range key: [8, 0, 0,16385]" {INodeDirectory} "range key: [9, 0, 0,16385]" https://issues.apache.org/jira/secure/attachment/13033628/13033628_debug2.jpg -- 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]
