You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Peter Somogyi (Jira)" <ji...@apache.org> on 2021/08/02 12:17:00 UTC

[jira] [Updated] (HBASE-26152) Exclude javax.servlet:servlet-api in hbase-shaded-testing-util

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

Peter Somogyi updated HBASE-26152:
----------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Merged to branch-2 and branch-2.4. Thanks for the review [~apurtell].

> Exclude javax.servlet:servlet-api in hbase-shaded-testing-util
> --------------------------------------------------------------
>
>                 Key: HBASE-26152
>                 URL: https://issues.apache.org/jira/browse/HBASE-26152
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5
>            Reporter: Andrew Kyle Purtell
>            Assignee: Peter Somogyi
>            Priority: Major
>             Fix For: 2.5.0, 2.4.6
>
>
> {noformat}
> [INFO] -------------------------------------------------------
> [INFO]  T E S T S
> [INFO] -------------------------------------------------------
> [INFO] Running org.apache.hbase.shaded.TestShadedHBaseTestingUtility
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 19.515 s <<< FAILURE! - in org.apache.hbase.shaded.TestShadedHBaseTestingUtility
> [ERROR] org.apache.hbase.shaded.TestShadedHBaseTestingUtility  Time elapsed: 19.513 s  <<< ERROR!
> java.io.IOException: Shutting down
> 	at org.apache.hbase.shaded.TestShadedHBaseTestingUtility.setUp(TestShadedHBaseTestingUtility.java:47)
> Caused by: java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterMultiple exceptions
> 	at org.apache.hbase.shaded.TestShadedHBaseTestingUtility.setUp(TestShadedHBaseTestingUtility.java:47)
> Caused by: java.io.IOException: Problem starting http server
> 	at org.apache.hbase.shaded.TestShadedHBaseTestingUtility.setUp(TestShadedHBaseTestingUtility.java:47)
> Caused by: org.apache.hbase.thirdparty.org.eclipse.jetty.util.MultiException: Multiple exceptions
> 	at org.apache.hbase.shaded.TestShadedHBaseTestingUtility.setUp(TestShadedHBaseTestingUtility.java:47)
> Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.createFilter(Ljava/lang/Class;)Ljavax/servlet/Filter;
> 	at org.apache.hbase.shaded.TestShadedHBaseTestingUtility.setUp(TestShadedHBaseTestingUtility.java:47)
> [INFO] 
> [INFO] Results:
> [INFO] 
> [ERROR] Errors: 
> [ERROR]   TestShadedHBaseTestingUtility.setUp:47 ยป IO Shutting down
> [INFO] 
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
> {noformat}
> The hadoop-common and hadoop-mapreduce-client-app dependencies are leaking javax.servlet:servlet-api:2.5.



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