[ 
https://issues.apache.org/jira/browse/KNOX-3376?focusedWorklogId=1030053&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1030053
 ]

ASF GitHub Bot logged work on KNOX-3376:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jul/26 11:42
            Start Date: 13/Jul/26 11:42
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #1304:
URL: https://github.com/apache/knox/pull/1304#issuecomment-4957564612

   ## Test Results
   36 tests   36 ✅  3s ⏱️
    3 suites   0 💤
    3 files     0 ❌
   
   Results for commit 2af82295.
   
   
[test-results]:data:application/gzip;base64,H4sIADPPVGoC/12Myw7CIBBFf6Vh7QKhIPVnzHSEZGJbDI+V8d9FrNi6u+fc5DyYo8lGdu7koWMxU2pwzQES+WXFcqR66S9cYkb8Mze6F8ObcEDTTtgQfFhNyEsrvvcu+BG/XuVNrvK2hn6eKRVgApwRYlCjcah6ewKJUh3twEeOmguuhAHdg2bPFwN/78D/AAAA
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1030053)
    Time Spent: 20m  (was: 10m)

> Use DefultAliasService OOTB
> ---------------------------
>
>                 Key: KNOX-3376
>                 URL: https://issues.apache.org/jira/browse/KNOX-3376
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, the following config is set in {{gateway-site.xml}}:
> {noformat}
>     <property>
>         <name>gateway.service.alias.impl</name>
>         
> <value>org.apache.knox.gateway.services.security.impl.RemoteAliasService</value>
>     </property>
> {noformat}
> Since there is no other {{remote}} config defined, Knox falls back to 
> `ZooKeeper`. No ZK-related configs either -> just an unnecessary round in 
> remote alias provider every time that checks if remote exists (not) then turn 
> to local.
> Relevant logs:
> {noformat}
> 2026-07-10 22:14:45,225  INFO  knox.gateway 
> (AbstractServiceFactory.java:logServiceUsage(105)) - Using 
> org.apache.knox.gateway.services.security.impl.RemoteAliasService 
> implementation for AliasService
> 2026-07-10 22:14:45,227  INFO  knox.gateway 
> (RemoteAliasService.java:init(291)) - Remote Alias Service enabled
> 2026-07-10 22:14:45,228  WARN  knox.gateway 
> (ZookeeperRemoteAliasService.java:init(411)) - There is no registry client 
> defined for remote configuration monitoring.
> {noformat}
> Given all these, it doesn't make sense to default to the remote alias service 
> implementation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to