Consistency where possible across extensions is definitely a welcomed improvement, but as you suggest would need to wait for a major release or until we have made some inroads with versioned components and/or an extension registry.
Would you like to capture your thoughts and maybe place 2.0.0 as a fix version on an issue? On Sun, Feb 5, 2017 at 7:06 AM, Andre <[email protected]> wrote: > devs, > > I was working on NIFI-940 when I noticed that PutFile and PutHDFS, while > similar in nature have different ways of handling some of its common > properties, more precisely, permissions (there may be others). > > While PutHDFS validates permissions via custom validators[1], PutFile will > only validate permissions within onTrigger and if invalid permissions are > configured, will just log an event.[1] > > I suppose that changing this behavior would break compatibility and will > have to wait for a major release, but would others agree this issue should > be addressed? > > Cheers > > > [1] > https://github.com/apache/nifi/blob/7f5eabd603bfc326dadc35590bbe69 > 304e8c90fa/nifi-nar-bundles/nifi-hadoop-bundle/nifi-hdfs- > processors/src/main/java/org/apache/nifi/processors/hadoop/ > PutHDFS.java#L145 > > [2] > https://github.com/apache/nifi/blob/master/nifi-nar- > bundles/nifi-standard-bundle/nifi-standard-processors/src/ > main/java/org/apache/nifi/processors/standard/PutFile.java#L263 >
