[
https://issues.apache.org/jira/browse/KNOX-2214?focusedWorklogId=383867&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-383867
]
ASF GitHub Bot logged work on KNOX-2214:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Feb/20 23:02
Start Date: 07/Feb/20 23:02
Worklog Time Spent: 10m
Work Description: risdenk commented on pull request #257: KNOX-2214 -
Periodic job to evict expired tokens
URL: https://github.com/apache/knox/pull/257#discussion_r376646938
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/config/impl/GatewayConfigImpl.java
##########
@@ -245,6 +245,9 @@
private static final String
CLOUDERA_MANAGER_ADVANCED_SERVICE_DISCOVERY_CONF_MONITOR_INTERVAL =
GATEWAY_CONFIG_FILE_PREFIX +
".cloudera.manager.advanced.service.discovery.config.monitor.interval";
private static final long
DEFAULT_CLOUDERA_MANAGER_ADVANCED_SERVICE_DISCOVERY_CONF_MONITOR_INTERVAL =
30000L;
+ private static final String KNOX_TOKEN_EVICTION_INTERVAL =
GATEWAY_CONFIG_FILE_PREFIX + "knox.token.eviction.interval";
Review comment:
missing dot on before `knox`. all other configs have
`GATEWAY_CONFIG_FILE_PREFIX + ".abcdef"`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 383867)
Time Spent: 0.5h (was: 20m)
> Reaping of expired Knox tokens
> ------------------------------
>
> Key: KNOX-2214
> URL: https://issues.apache.org/jira/browse/KNOX-2214
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.4.0
> Reporter: Philip Zampino
> Assignee: Sandeep More
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When the TokenStateService is employed, if Knox-issued tokens aren't
> explicitly cancelled, then they remain in the persistent store forever. The
> TokenStateService should maintain a thread that removes expired tokens.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)