Janus Chow created HDDS-6497:
--------------------------------
Summary: S3gateway throw exception when checking jmx or prom pages
from browser
Key: HDDS-6497
URL: https://issues.apache.org/jira/browse/HDDS-6497
Project: Apache Ozone
Issue Type: Improvement
Reporter: Janus Chow
Assignee: Janus Chow
When checking the JMX or Prometheus or other pages of S3g from browser, the
following error was throw from S3g. (From docker container, might be different
from local service)
{code:java}
2022-03-23 15:32:57,281 [qtp124888672-18] INFO ozone.OmUtils:
ozone.om.internal.service.id is not defined, falling back to
ozone.om.service.ids to find serviceID for OzoneManager if it is HA enabled
cluster
2022-03-23 15:32:57,282 [qtp124888672-18] INFO ozone.OmUtils: No OzoneManager
ServiceID configured.
Mar 23, 2022 3:32:57 PM org.glassfish.jersey.internal.Errors logErrors
WARNING: The following warnings have been detected: WARNING: Unknown HK2
failure detected:
MultiException stack 1 of 1
javax.ws.rs.WebApplicationException: User doesn't have the right to access this
resource.{code}
The reason for this issue is when trying to send request from browser, the
browser will send another request like "http://localhost:9878/favicon.ico",
which would be treated as a request to bucket of "favicon.ico", as a result a
new OzoneClient was to inject for this request.
This ticket is to fix this issue.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]