private static File igniteHadoopConfig(String igniteHome){
  Path path=Paths.get(igniteHome,"modules","hadoop","config");
  if (!Files.exists(path))   path=Paths.get(igniteHome,"config","hadoop");
  if (Files.exists(path))   return path.toFile();
 else   return new File(igniteHome,"docs");
}

private static File igniteHadoopConfig ( String igniteHome ) { Path path = Paths . get ( igniteHome , "modules" , "hadoop" , "config" ) ; if ( ! Files . exists ( path ) ) path = Paths . get ( igniteHome , "config" , "hadoop" ) ; if ( Files . exists ( path ) ) return path . toFile ( ) ; else return new File ( igniteHome , "docs" ) ; }
get ignite hadoop config directory .
