You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Charan Hebri (JIRA)" <ji...@apache.org> on 2018/05/08 05:51:00 UTC

[jira] [Updated] (YARN-8253) HTTPS Ats v2 api call fails with "bad HTTP parsed"

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

Charan Hebri updated YARN-8253:
-------------------------------
    Attachment: YARN-8253.01.patch

> HTTPS Ats v2 api call fails with "bad HTTP parsed"
> --------------------------------------------------
>
>                 Key: YARN-8253
>                 URL: https://issues.apache.org/jira/browse/YARN-8253
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: ATSv2
>    Affects Versions: 3.1.0
>            Reporter: Yesha Vora
>            Assignee: Charan Hebri
>            Priority: Major
>         Attachments: YARN-8253.01.patch
>
>
> When Yarn http policy is set to Https_only, ATS v2 should use HTTPS address.
> Here, ATS v2 call is failing with below error.
> {code:java}
> [hrt_qa@xxx root]$ curl -i -k -s -1 -H 'Content-Type: application/json' -H 'Accept: application/json' --negotiate -u: 'https://xxx:8199/ws/v2/timeline/apps/application_1525238789838_0003/entities/COMPONENT_INSTANCE?fields=ALL'
> [hrt_qa@xxx root]$ echo $?
> 35{code}
> {code:java|title=Ats v2}
> 2018-05-02 05:45:40,427 WARN  http.HttpParser (HttpParser.java:<init>(1832)) - Illegal character 0x16 in state=START for buffer HeapByteBuffer@dba438[p=1,l=222,c=8192,r=221]={\x16<<<\x03\x01\x00\xD9\x01\x00\x00\xD5\x03\x03;X\xEd\xD1orq...\x01\x05\x01\x06\x01\x02\x01\x04\x02\x05\x02\x06\x02\x02\x02>>>\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00}
> 2018-05-02 05:45:40,428 WARN  http.HttpParser (HttpParser.java:parseNext(1435)) - bad HTTP parsed: 400 Illegal character 0x16 for HttpChannelOverHttp@2efbda6c{r=0,c=false,a=IDLE,uri=null}{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org