I'm trying to send out .avro files from my local NiFi machine to remote HDFS server on which there's LDAP authentication established. I tried to use PutHDFS processor with core-site and hdfs-site configuration files but encountered an error:
ERROR [Timer-Driven Process Thread-9] o.apache.nifi.processors.hadoop.PutHDFS PutHDFS[id=123] Failed to write to HDFS due to org.apache.nifi.processor.exception.ProcessException: IOException thrown from PutHDFS[id=123]: org.apache.hadoop.security.AccessControlException: Permission denied: user=root, access=EXECUTE, inode="/data/123":hdpatom:hdfs:drwxr-x---
NiFi is running on local machine as root, and it's not integrated with LDAP.
Is there a way to send the file to remote HDFS using NiFi?