[ https://issues.apache.org/jira/browse/HDFS-16268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chao Sun updated HDFS-16268: ---------------------------- Fix Version/s: 3.3.2 (was: 3.3.3) > Balancer stuck when moving striped blocks due to NPE > ---------------------------------------------------- > > Key: HDFS-16268 > URL: https://issues.apache.org/jira/browse/HDFS-16268 > Project: Hadoop HDFS > Issue Type: Bug > Components: balancer & mover, erasure-coding > Affects Versions: 3.2.2 > Reporter: Leon Gao > Assignee: Leon Gao > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0, 3.3.2, 3.2.4 > > Time Spent: 40m > Remaining Estimate: 0h > > {code:java} > 21/10/11 06:11:26 WARN balancer.Dispatcher: Dispatcher thread failed > java.lang.NullPointerException > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$PendingMove.markMovedIfGoodBlock(Dispatcher.java:289) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$PendingMove.chooseBlockAndProxy(Dispatcher.java:272) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$PendingMove.access$2500(Dispatcher.java:236) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$Source.chooseNextMove(Dispatcher.java:899) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$Source.dispatchBlocks(Dispatcher.java:958) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$Source.access$3300(Dispatcher.java:757) > at > org.apache.hadoop.hdfs.server.balancer.Dispatcher$2.run(Dispatcher.java:1226) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > {code} > Due to NPE in the middle, there will be pending moves left in the queue so > balancer will stuck forever. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org