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

Minimize a number of hbase-client transitive dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.98.3
    • 1.0.0
    • Client
    • None
    • Reviewed
    • Removes some transitive dependencies from the hbase-client module.

    Description

      hbase-client has a number of transitive dependencies not needed for a client mode execution. In my test I've added the following exclusions:

      <exclusions>
                      <exclusion>
                  	   <groupId>com.sun.jersey</groupId>
                  	   <artifactId>jersey-server</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>com.sun.jersey</groupId>
                  	   <artifactId>jersey-core</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>com.sun.jersey</groupId>
                  	   <artifactId>jersey-json</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>com.sun.jersey.contribs</groupId>
                  	   <artifactId>jersey-guice</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>com.google.inject</groupId>
                  	   <artifactId>guice</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>com.google.inject.extensions</groupId>
                  	   <artifactId>guice-servlet</artifactId>            	
                  	</exclusion>    
                      <exclusion>
                  	   <groupId>org.mortbay.jetty</groupId>
                  	   <artifactId>jetty</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>org.mortbay.jetty</groupId>
                  	   <artifactId>jetty-util</artifactId>            	
                  	</exclusion>
                      <exclusion>
                  	   <groupId>commons-httpclient</groupId>
                  	   <artifactId>commons-httpclient</artifactId>            	
                  	</exclusion>
                 </exclusions>
      

      Proposal: add related exclusions to some of the dependencies hbase-client depends upon.

      Attachments

        1. hbase11412_2.patch
          3 kB
          Sergey Beryozkin
        2. hbase11412_3.patch
          3 kB
          Sergey Beryozkin
        3. hbase11412_4.patch
          3 kB
          Sergey Beryozkin
        4. hbase11412.txt
          3 kB
          Sergey Beryozkin

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: