[ https://issues.apache.org/jira/browse/YARN-8253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16466903#comment-16466903 ]
Charan Hebri commented on YARN-8253: ------------------------------------ [~rohithsharma] I can provide a fix if you haven't started. > 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: Rohith Sharma K S > Priority: Major > > 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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org