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

[hbase-thirdparty] Builds without a `clean` phase fail on hbase-shaded-jetty

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: thirdparty-3.4.0
    • Component/s: thirdparty
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In 3.4.0-rc1 that Duo Zhang created, I noticed that builds of the project failed on hbase-shaded-jetty when I did not include clean in my build command.

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  3.604 s
      [INFO] Finished at: 2020-08-11T14:38:45-04:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (default) on project hbase-shaded-jetty: Error creating shaded jar: duplicate entry: META-INF/services/org.apache.hbase.thirdparty.org.eclipse.jetty.http.HttpFieldPreEncoder -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

      Poking around, it appears that this is actually to do with the creating of the shaded source jar.

        Attachments

          Activity

            People

            • Assignee:
              elserj Josh Elser
              Reporter:
              elserj Josh Elser

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment