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

Robert Kanter updated HADOOP-10075:
-----------------------------------
    Attachment: HADOOP-10075.006.patch

The 006 patch fixes some checkstyle and unit tests, including the 
{{hadoop-yarn-server-timelineservice-hbase-tests}} module.  The problem is that 
we have ATS classes from Hadoop 3, mixed with Hadoop 2.5.1 for everything else. 
 This means that the ATS is running with HttpServer2 from Hadoop 2.5.1, with 
Jetty 6, not Jetty 9.  To deal with this, I made two changes:
# Added some Jetty 9 dependencies to the module as there is some ATS code that 
directly uses it (e.g. logging)
# Moved a single {{HttpServer2}} call in an ATS class into it's own method so 
that a test could overwrite it to do nothing during the test.  Otherwise, you 
get a {{MethodNotFoundException}}.  This doesn't affect the normal operation of 
the class, just during this test.

> Update jetty dependency to version 9
> ------------------------------------
>
>                 Key: HADOOP-10075
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10075
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.2.0, 2.6.0
>            Reporter: Robert Rati
>            Assignee: Robert Kanter
>         Attachments: HADOOP-10075-002-wip.patch, HADOOP-10075.003.patch, 
> HADOOP-10075.004.patch, HADOOP-10075.005.patch, HADOOP-10075.006.patch, 
> HADOOP-10075.patch
>
>
> Jetty6 is no longer maintained.  Update the dependency to jetty9.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to