[jira] [Updated] (AMBARI-25424) Failed to edit workflow from Ambari workflow Manager while accessing Ambari UI over Knox

2022-11-17 Thread Zhiguo Wu (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhiguo Wu updated AMBARI-25424:
---
Fix Version/s: 2.8.0

> Failed to edit workflow from Ambari workflow Manager while accessing Ambari 
> UI over Knox
> 
>
> Key: AMBARI-25424
> URL: https://issues.apache.org/jira/browse/AMBARI-25424
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: 2.7.3
>Reporter: amarnath reddy pappu
>Priority: Major
>  Labels: pull-request-available
> Fix For: 2.8.0
>
>  Time Spent: 50m
>  Remaining Estimate: 0h
>
> Ambari workflow manager view is accessed over knox, editing the workflow from 
> the view will fail as knox fails to identify/parse the xml format.
> Exception in knox logs
> {code:java|bgColor=#f5f5f5}
> ==> gateway.log <==
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,543 ERROR hadoop.gateway 
> (GatewayFilter.java:doFilter(141)) - Gateway processing failed: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
>   at 
> com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
>   at 
> com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:599)
>   at 
> com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:520)
>   at 
> com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleUnexpectedValue(ReaderBasedJsonParser.java:1379)
>   at 
> com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:669)
>   at 
> org.apache.hadoop.gateway.filter.rewrite.impl.json.JsonFilterReader.read(JsonFilterReader.java:89)
>   at 
> org.apache.hadoop.gateway.filter.rewrite.impl.json.JsonUrlRewriteFilterReader.read(JsonUrlRewriteFilterReader.java:32)
>   at 
> org.apache.commons.io.input.ReaderInputStream.fillBuffer(ReaderInputStream.java:198)
>   at 
> org.apache.commons.io.input.ReaderInputStream.read(ReaderInputStream.java:242)
> {code}
> {code:java|bgColor=#f5f5f5}
> ==> gateway-audit.log <==
> 18/03/28 10:16:25 
> ||6e7f841c-3aa9-4d8f-a71f-bfbc6138dedf|audit|10.200.4.250|AMBARI|anonymous|||access|uri|/gateway/ui/ambari/api/v1/views/WORKFLOW_MANAGER/versions/1.0.0/instances/wfm/resources/proxy/readWorkflow?workflowPath=/user/admin/workflow.xml&jobType=WORKFLOW|failure|
> {code}



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

-
To unsubscribe, e-mail: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org



[jira] [Updated] (AMBARI-25424) Failed to edit workflow from Ambari workflow Manager while accessing Ambari UI over Knox

2019-12-06 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/AMBARI-25424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated AMBARI-25424:

Labels: pull-request-available  (was: )

> Failed to edit workflow from Ambari workflow Manager while accessing Ambari 
> UI over Knox
> 
>
> Key: AMBARI-25424
> URL: https://issues.apache.org/jira/browse/AMBARI-25424
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: 2.7.3
>Reporter: amarnath reddy pappu
>Priority: Major
>  Labels: pull-request-available
>
> Ambari workflow manager view is accessed over knox, editing the workflow from 
> the view will fail as knox fails to identify/parse the xml format.
> Exception in knox logs
> {code:java|bgColor=#f5f5f5}
> ==> gateway.log <==
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,542 ERROR hadoop.gateway 
> (AbstractGatewayFilter.java:doFilter(63)) - Failed to execute filter: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> 2018-03-28 10:16:25,543 ERROR hadoop.gateway 
> (GatewayFilter.java:doFilter(141)) - Gateway processing failed: 
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
> com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' 
> (code 60)): expected a valid value (number, String, array, object, 'true', 
> 'false' or 'null')
>  at [Source: java.io.InputStreamReader@254359d8; line: 1, column: 2]
>   at 
> com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1369)
>   at 
> com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:599)
>   at 
> com.fasterxml.jackson.core.base.ParserMinimalBase._reportUnexpectedChar(ParserMinimalBase.java:520)
>   at 
> com.fasterxml.jackson.core.json.ReaderBasedJsonParser._handleUnexpectedValue(ReaderBasedJsonParser.java:1379)
>   at 
> com.fasterxml.jackson.core.json.ReaderBasedJsonParser.nextToken(ReaderBasedJsonParser.java:669)
>   at 
> org.apache.hadoop.gateway.filter.rewrite.impl.json.JsonFilterReader.read(JsonFilterReader.java:89)
>   at 
> org.apache.hadoop.gateway.filter.rewrite.impl.json.JsonUrlRewriteFilterReader.read(JsonUrlRewriteFilterReader.java:32)
>   at 
> org.apache.commons.io.input.ReaderInputStream.fillBuffer(ReaderInputStream.java:198)
>   at 
> org.apache.commons.io.input.ReaderInputStream.read(ReaderInputStream.java:242)
> {code}
> {code:java|bgColor=#f5f5f5}
> ==> gateway-audit.log <==
> 18/03/28 10:16:25 
> ||6e7f841c-3aa9-4d8f-a71f-bfbc6138dedf|audit|10.200.4.250|AMBARI|anonymous|||access|uri|/gateway/ui/ambari/api/v1/views/WORKFLOW_MANAGER/versions/1.0.0/instances/wfm/resources/proxy/readWorkflow?workflowPath=/user/admin/workflow.xml&jobType=WORKFLOW|failure|
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)