Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AMORO-1857]: Check short name for principal before call constructUgi…
…() (apache#1990) * [AMORO-1857] Fix If the kerberos account information filled in during catalog creation is abbreviated, it will cause the FileSystem to be unable to hit the cache, constantly create new FileSystem instances without being garbage collected, eventually leading to an out of memory error (apache#1857) * extract principal from username of ugi,and compare to krbPrincipal * [AMORO-1857] Fix If the kerberos account information filled in during catalog creation is abbreviated, it will cause the FileSystem to be unable to hit the cache, constantly create new FileSystem instances without being garbage collected, eventually leading to an out of memory error (apache#1857) * extract principal from username of ugi,and compare to krbPrincipal * [AMORO-1857] Fix If the kerberos account information filled in during catalog creation is abbreviated, it will cause the FileSystem to be unable to hit the cache, constantly create new FileSystem instances without being garbage collected, eventually leading to an out of memory error (apache#1857) * extract principal from username of ugi,and compare to krbPrincipal --------- Co-authored-by: 罗旭 <luo.xu@trs.com.cn> Co-authored-by: baiyangtx <xiangnebula@163.com>
- Loading branch information