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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • dependencies, jruby, shell
    • None
    • Incompatible change
    • 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.

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: