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

Move jruby jar so only on hbase-shell module classpath; currently globally available



    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: dependencies, jruby, shell
    • Labels:
    • Hadoop Flags:
      Incompatible change
    • Release Note:
      The JRuby jar is no longer automatically included in classpaths for HBase server processes nor clients. It is still included in the classpath for the HBase shell and for invocations of org.jruby.Main, which should cover HBase provided support scripts.


      A suggestion that came up out of internal issue (filed by Mr Jan Van Besien) was to move the scope of the jruby include down so it is only a dependency for the hbase-shell. jruby jar brings in a bunch of dependencies (joda time for example) which can clash with the includes of others. Our Sean suggests that could be good to shut down exploit possibilities if jruby was not globally available. Only downside I can think is that it may no longer be available to our bin/*rb scripts if we move the jar but perhaps these can be changed so they can find the ruby jar in new location.


        1. HBASE-15199-addendum.master.000.patch
          5 kB
          Xiang Li
        2. HBASE-15199.master.003.patch
          6 kB
          Xiang Li
        3. HBASE-15199.master.002.patch
          6 kB
          Xiang Li
        4. HBASE-15199.master.001.patch
          3 kB
          Xiang Li
        5. 15199.txt
          1 kB
          Michael Stack

          Issue Links



              • Assignee:
                xiangli Xiang Li
                stack Michael Stack
              • Votes:
                0 Vote for this issue
                8 Start watching this issue


                • Created: