sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergio Peña (JIRA) <>
Subject [jira] [Created] (SENTRY-2069) HDFS kerberos timeout tests take 7+ minutes to finish
Date Wed, 22 Nov 2017 19:10:00 GMT
Sergio Peña created SENTRY-2069:

             Summary: HDFS kerberos timeout tests take 7+ minutes to finish
                 Key: SENTRY-2069
             Project: Sentry
          Issue Type: Test
          Components: Sentry
            Reporter: Sergio Peña

While taking a look at the time spent on the sentry tests, I found that the HDFS timeout tests
take 7+ minutes to finish:
[INFO] Running org.apache.sentry.hdfs.TestKrbConnectionTimeout
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 449.31 s - in org.apache.sentry.hdfs.TestKrbConnectionTimeout

I see that the test sleeps for 400s before attempting to reconnect to HDFS.
  public void testConnectionAfterTicketTimeout() throws Exception {

1. I think we could reduce the ticket renewal time to speed the test case (See MiniKdc.MAX_RENEWABLE_LIFETIME).
2. The test case is not verifying the renewal was done. How can we verify this renewal is
correct? There is some code on the to renew the ticket, but
that is never triggered when I was doing tests.

We should improve this test case to speed the test and check that the renewal is working.

This message was sent by Atlassian JIRA

View raw message