GitHub user Susmit07 closed the discussion with a comment: Issue while reading 
hdfs file post Kerberos Authn

you are correct

Since Futures run on a separate thread pool, wrapping the Future itself inside 
a ugi.doAs block does not guarantee that the UGI credentials will propagate to 
the thread executing the Future. Instead, we can run the entire Future logic 
synchronously within the ugi.doAs block, and then wrap the result in a Future 
afterwards, which worked

GitHub link: 
https://github.com/apache/pekko-connectors/discussions/858#discussioncomment-10873090

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to