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

branch-1.1 source assembly contains spurious hbase-shaded-client and hbase-shaded-server modules

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      if you build a source assembly according to the book:

      mvn clean install -DskipTests assembly:single -Dassembly.file=hbase-assembly/src/main/assembly/src.xml -Prelease

      Then the resultant artifact has an extra set of the shaded modules at the top level (in addition to the ones in the hbase-shaded module)

      $ ls -lah hbase-1.1.2/
      total 608
      drwxr-xr-x  32 busbey  staff   1.1K Aug 30 17:14 .
      drwxr-xr-x   3 busbey  staff   102B Aug 30 17:14 ..
      -rw-r--r--   1 busbey  staff   162K Aug 30 16:42 CHANGES.txt
      -rw-r--r--   1 busbey  staff    36K Aug 30 16:15 LICENSE.txt
      -rw-r--r--   1 busbey  staff   1.5K Aug 30 16:15 NOTICE.txt
      -rw-r--r--   1 busbey  staff   1.4K Aug 30 16:15 README.txt
      drwxr-xr-x  31 busbey  staff   1.0K Aug 30 16:42 bin
      drwxr-xr-x   9 busbey  staff   306B Aug 30 16:42 conf
      drwxr-xr-x  24 busbey  staff   816B Aug 30 16:42 dev-support
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:56 hbase-annotations
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:58 hbase-assembly
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:56 hbase-checkstyle
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-client
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:56 hbase-common
      drwxr-xr-x   5 busbey  staff   170B Aug 30 16:58 hbase-examples
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-hadoop-compat
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-hadoop2-compat
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:58 hbase-it
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-prefix-tree
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:56 hbase-procedure
      drwxr-xr-x   5 busbey  staff   170B Aug 30 16:56 hbase-protocol
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:56 hbase-resource-bundle
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-rest
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-server
      drwxr-xr-x   5 busbey  staff   170B Aug 30 16:42 hbase-shaded
      drwxr-xr-x   3 busbey  staff   102B Aug 30 16:42 hbase-shaded-client
      drwxr-xr-x   3 busbey  staff   102B Aug 30 16:42 hbase-shaded-server
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:58 hbase-shell
      drwxr-xr-x   3 busbey  staff   102B Aug 30 16:57 hbase-testing-util
      drwxr-xr-x   4 busbey  staff   136B Aug 30 16:57 hbase-thrift
      -rw-r--r--   1 busbey  staff    94K Aug 30 16:42 pom.xml
      drwxr-xr-x   3 busbey  staff   102B Aug 30 16:15 src
      $ diff -r hbase-1.1.2/hbase-shaded-client hbase-1.1.2/hbase-shaded/hbase-shaded-client
      Only in hbase-1.1.2/hbase-shaded/hbase-shaded-client: target
      $ diff -r hbase-1.1.2/hbase-shaded-server hbase-1.1.2/hbase-shaded/hbase-shaded-server
      Only in hbase-1.1.2/hbase-shaded/hbase-shaded-server: target
      

      they're the same as the correct ones and they don't build by default since the top level pom doesn't mention them.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              busbey Sean Busbey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: