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.

HBase User Impersonation

Highlighted

HBase User Impersonation

New Contributor

I have a program for bulk loading of data to HBase using creation of HFile , for which I have used configureIncrementalLoad () of HFileOutputFormat2 . But , this HFile is created using 'hbase' user, I want this user to be actual user , who is running the java program.

Any suggestions on it ? I have researched about hadoop.proxyusers.hbase related properties, but little confused regarding the same.

1 REPLY 1

Re: HBase User Impersonation

I would be very surprised to hear that the file is initially created on HDFS as any user other than the one running your process.

How did you launch your program and what user were you when you ran it? Can you please share the details on the output of this program and the permissions/location you see on the HFiles?