Eungsop Yoo created HDFS-16198: ---------------------------------- Summary: Short circuit read leaks Slot objects when InvalidToken exception is thrown Key: HDFS-16198 URL: https://issues.apache.org/jira/browse/HDFS-16198 Project: Hadoop HDFS Issue Type: Bug Reporter: Eungsop Yoo
In secure mode, 'dfs.block.access.token.enable' should be set 'true'. With this configuration SecretManager.InvalidToken exception may be thrown if the access token expires when we do short circuit reads. It doesn't matter because the failed reads will be retried. But it causes the leakage of ShortCircuitShm.Slot objects. We found this problem in our secure HBase clusters. The fix is trivial. Just free the slot when InvalidToken exception is thrown. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org