Github user YolandaMDavis commented on a diff in the pull request:
https://github.com/apache/nifi/pull/843#discussion_r74617540
--- Diff:
nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs-processors/src/main/java/org/apache/nifi/processors/hadoop/AbstractHadoopProcessor.java
---
@@ -90,20 +90,55 @@ public String toString() {
}
}
+ // validator to ensure that valid EL expressions are used in the
directory property
+ static final Validator PATH_WITH_EL_VALIDATOR = new Validator() {
--- End diff --
Wondering if this could be in the standard validators class instead?
There's an ATTRIBUTE_EXPRESSION_LANGUAGE_VALIDATOR that's unused but looks
very similar, just doesn't have the non empty requirement. Seems like a few
tweaks could make it more generic with broad application. Thoughts?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---