HBASE-26212 Expose configuration to enable/disable AuthUtil
commit6b5bd75e464cad550854a144d3b989b97961e95b
authorJosh Elser <elserj@apache.org>
Sat, 21 Aug 2021 19:57:06 +0000 (21 15:57 -0400)
committerJosh Elser <elserj@apache.org>
Sat, 21 Aug 2021 19:57:06 +0000 (21 15:57 -0400)
tree5e0169b4b516e82a23520899bde7a462a615f49b
parent6bb57017837233dc8a11faf36be977aeb48318d2
HBASE-26212 Expose configuration to enable/disable AuthUtil

In some situations, a caller may know that it is properly managing the
Kerberos ticket to talk to HBase. In these situations, it's possible
that AuthUtil still tries to do renewals, but just fails repeatedly to
do so. Give a configuration flag for such clients to be able to tell
AuthUtil to simply stop trying.

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Closes #3609
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
hbase-common/src/main/java/org/apache/hadoop/hbase/AuthUtil.java