Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 713 Bytes

HDFS-14216.md

File metadata and controls

18 lines (11 loc) · 713 Bytes

HDFS-14216

Scenario

HDFS-14216
  1. Client want to write, but it gives some exclude DN.
  2. When NN is handing the request, DN shutdown and remove the DN from cluster.
  3. So NN get null value, but it still add null value to a set(code#3).
  4. Following code will use the null value and exception happens.

Trigger analysis

  1. Actually, due to the exclude node is defined by client, we can give the wrong host name(e.g. the host is not in cluster), and this bug can also be triggered. Our UT trigger this bug in such way.