Changed YARN_APP_CONTAINER_LOG_DIR to a default value when the property YARN_APP_CONTAINER_LOG_DIR is not available (tipically with CDHv4)