Hi @ryu ,
We can trigger manual GC in datanode JVM application AFAIK. The best way to deal with long GC pauses is to allocate right amount of heap memory.
We recommend the formula of - 1gb heap per 1 million blocks. You can get the number of block count from NameNode Webui -> datanode (through ambari or CM).
Increase the heap and that should fix your issue.
Do check for "No GC detected" in Datanode logs, if you see those then it could be hardware problem triggering GC.
Does that answers your questions. Let me know
Regards,
Vipin