Removed dependency to the FileUtils.canExecute method, which is not supported in cdhv4
Changed YARN_APP_CONTAINER_LOG_DIR to a default value