!1439 support querying hudi tables configured with kerberos
Merge pull request !1439 from 建康/master
This commit is contained in:
commit
6ff4d8264c
|
|
@ -257,7 +257,7 @@ public class BackgroundHiveSplitLoader
|
|||
ListenableFuture<?> future;
|
||||
taskExecutionLock.readLock().lock();
|
||||
try {
|
||||
future = loadSplits();
|
||||
future = hdfsEnvironment.doAs(hdfsContext.getIdentity().getUser(), () -> loadSplits());
|
||||
}
|
||||
catch (Exception e) {
|
||||
if (e instanceof IOException) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue