[
https://issues.apache.org/jira/browse/KNOX-1245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680300#comment-16680300
]
Kevin Risden commented on KNOX-1245:
------------------------------------
Talked with [~smore] and he confirmed he thinks this is the same as KNOX-1557.
> Failed to edit workflow from Ambari workflow Manager while accessing Ambari
> UI over Knox
> ----------------------------------------------------------------------------------------
>
> Key: KNOX-1245
> URL: https://issues.apache.org/jira/browse/KNOX-1245
> Project: Apache Knox
> Issue Type: Bug
> Affects Versions: 0.14.0
> Reporter: Raghavender Rao Guruvannagari
> Priority: Major
>
> 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}
> ==> 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}
> ==> 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
(v7.6.3#76005)