I have tried everthing, but I still got this. Finally, I tried jdk11 instead of jdk17, it worked all well. So this is a bug for jdk17 and hadoop 3.3.6.
btw, I have tried the networktoplogy, rack things and all the other solutions I can find in the internet.