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

Need to change owner name and group name in putHdfs using NIFI?

Highlighted

Need to change owner name and group name in putHdfs using NIFI?

Explorer

Hi all,

I tried to change owner and group name,

but it shows following error.

7026-nifi2.png

7027-nifi.png

help me to solve this issue.

thanks in advance.

3 REPLIES 3
Highlighted

Re: Need to change owner name and group name in putHdfs using NIFI?

Expert Contributor

@Saleema A

Which user are you using to run NiFi? You have to ensure that user has HDFS super user privileges. ie try changing the user permissions on that folder on command line via (hdfs dfs -chown test:test /tmp/a29)

Re: Need to change owner name and group name in putHdfs using NIFI?

Explorer

Thanks @mliem

But how to set user in Nifi 0.6. In main panel user menu not having any add buttons. sorry for late replay

Highlighted

Re: Need to change owner name and group name in putHdfs using NIFI?

In this case it is based off the operating system user that started NiFi, not the user that is accessing the NiFi UI... if you started NiFi as root, then root is attempting to access HDFS.

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