private void stopHadoopFsDaemons(ClassLoader ldr) throws Exception {
  Class<?> daemonCls=ldr.loadClass(HadoopClassLoader.CLS_DAEMON);
  Method m=daemonCls.getMethod("dequeueAndStopAll");
  m.invoke(null);
}

private void stopHadoopFsDaemons ( ClassLoader ldr ) throws Exception { Class < ? > daemonCls = ldr . loadClass ( HadoopClassLoader . CLS_DAEMON ) ; Method m = daemonCls . getMethod ( "dequeueAndStopAll" ) ; m . invoke ( null ) ; }
stops hadoop fs daemon threads .
