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

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

                Author: ASF GitHub Bot
            Created on: 17/May/25 10:34
            Start Date: 17/May/25 10:34
    Worklog Time Spent: 10m 
      Work Description: hanicz opened a new pull request, #1047:
URL: https://github.com/apache/knox/pull/1047

   ## What changes were proposed in this pull request?
   
   Gateway log were filled with the below error during startup due to the pinot 
service xmls added in [KNOX-3139](https://github.com/apache/knox/pull/1034) I 
fixed the service and rewrite xmls and the errors are gone.
   
   ```
   ERROR knox.gateway 
(ServiceDefinitionsLoader.java:lambda$loadServiceDefinitions$1(92)) - Failed to 
unmarshall service definition file 
/Users/thanicz/dev/public/knox/install/knox-2.1.0-SNAPSHOT/data/services/pinot/1.3.0/service.xml
 file : javax.x
   ml.bind.UnmarshalException
    - with linked exception:
   [org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 6; The 
processing instruction target matching "[xX][mM][lL]" is not allowed.]
   javax.xml.bind.UnmarshalException: null 
   ```
   
   ## How was this patch tested?
   
   Unit tests, checked the gateway.log during startup
   




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

            Worklog Id:     (was: 969662)
    Remaining Estimate: 0h
            Time Spent: 10m

> Gateway startup errors due to pinot service XMLs
> ------------------------------------------------
>
>                 Key: KNOX-3152
>                 URL: https://issues.apache.org/jira/browse/KNOX-3152
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 2.2.0
>            Reporter: Tamás Hanicz
>            Assignee: Tamás Hanicz
>            Priority: Critical
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The gateway.log is filled with the below error during startup due to the 
> badly formatted Pinot service XMLs
> {code:java}
> ERROR knox.gateway 
> (ServiceDefinitionsLoader.java:lambda$loadServiceDefinitions$1(92)) - Failed 
> to unmarshall service definition file 
> /Users/thanicz/dev/public/knox/install/knox-2.1.0-SNAPSHOT/data/services/pinot/1.3.0/service.xml
>  file : javax.x
> ml.bind.UnmarshalException
>  - with linked exception:
> [org.xml.sax.SAXParseException; lineNumber: 20; columnNumber: 6; The 
> processing instruction target matching "[xX][mM][lL]" is not allowed.]
> javax.xml.bind.UnmarshalException: null {code}



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

Reply via email to