private static boolean couldBeYarnConfigurationPath ( final String path ) { return path . contains ( "conf" ) || path . contains ( "etc" ) || path . contains ( HadoopEnvironment . HADOOP_CONF_DIR ) ; }
The oracle that tells us whether a given path could be a YARN configuration path .