Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26152

Exclude javax.servlet:servlet-api in hbase-shaded-testing-util

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5
    • 2.5.0, 2.4.6
    • None
    • None

    Description

      [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
      

      The hadoop-common and hadoop-mapreduce-client-app dependencies are leaking javax.servlet:servlet-api:2.5.

      Attachments

        Issue Links

          Activity

            People

              psomogyi Peter Somogyi
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: