Cluster state often in yellow: data node and master are running but failed to ping each other

Found the reason, it's a bug of ES 5.1.1.
Hope anyone else can get there easily.