Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9945 Coprocessor loading and execution improvements
  3. HBASE-9941

The context ClassLoader isn't set while calling into a coprocessor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.99.0
    • Coprocessors
    • None
    • Reviewed

    Description

      Whenever one of the methods of a coprocessor is invoked, the context ClassLoader isn't set to be the CoprocessorClassLoader. It's only set properly when calling the coprocessor's start method. This means that if the coprocessor code attempts to load classes using the context ClassLoader, it will fail to find the classes it's looking for.

      Attachments

        1. 9941.patch
          140 kB
          Andrew Kyle Purtell
        2. 9941.patch
          145 kB
          Andrew Kyle Purtell
        3. 9941.patch
          138 kB
          Andrew Kyle Purtell
        4. 9941.patch
          141 kB
          Andrew Kyle Purtell
        5. 9941.patch
          131 kB
          Andrew Kyle Purtell

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              tsuna Benoit Sigoure
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: