set filter method using config parameters of namenode