Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HDFS-10285
-
None
Description
File which has zero block should be ignored in SPS. Currently it is throwing NPE in StoragePolicySatisfier thread.
2017-05-06 23:29:04,735 [StoragePolicySatisfier] ERROR namenode.StoragePolicySatisfier (StoragePolicySatisfier.java:run(278)) - StoragePolicySatisfier thread received runtime exception. Stopping Storage policy satisfier work java.lang.NullPointerException at org.apache.hadoop.hdfs.server.namenode.StoragePolicySatisfier.analyseBlocksStorageMovementsAndAssignToDN(StoragePolicySatisfier.java:292) at org.apache.hadoop.hdfs.server.namenode.StoragePolicySatisfier.run(StoragePolicySatisfier.java:233) at java.lang.Thread.run(Thread.java:745)