Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.6.0
-
None
-
None
Description
I wonder whether handling of 'children' in FSDataset is thread-safe.
Exception in thread "org.apache.hadoop.dfs.DataNode$DataXceiveServer@19b04e2" java.lang.NullPointerException
at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
at org.apache.hadoop.dfs.FSDataset$FSDir.checkDirTree(FSDataset.java:162)
at org.apache.hadoop.dfs.FSDataset$FSVolume.checkDirs(FSDataset.java:238)
at org.apache.hadoop.dfs.FSDataset$FSVolumeSet.checkDirs(FSDataset.java:326)
at org.apache.hadoop.dfs.FSDataset.checkDataDir(FSDataset.java:522)
at org.apache.hadoop.dfs.DataNode$DataXceiveServer.run(DataNode.java:472)
at java.lang.Thread.run(Thread.java:595)