Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NIFI : MultiDirectories for ListHDFS

Re: NIFI : MultiDirectories for ListHDFS


@Bryan Bende, in the same way with routeOnAttribute processor, it is possible to regular expression.

In my dataflow listHDFS send flowfile to routeOnAttribute and i need check all subpath list above to route correctly all files in deleteHDFS.

At this moment for each directory I need to create an attribute to match a subpath of directory, so in my case I have created 35 attributes.

13725-attribute-routeonattribute.jpgattribute-routeonattribute.jpg(62.3 kB)


Re: NIFI : MultiDirectories for ListHDFS

Can you use the "matches" function in expression language?

It should allow any regular expression:

Don't have an account?
Coming from Hortonworks? Activate your account here