Apache S4
  1. Apache S4
  2. S4-61

Threads running the PEs don't have a Context Class Loader

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0
    • Fix Version/s: 0.5.0
    • Labels:
      None

      Description

      HBase/Hadoop tries to load some classes through the current thread's context class loader. This is not set to the S4RLoader, so it defaults to the thread parent's classLoader, which can't find the required classes.

        Activity

        Hide
        Daniel Gómez Ferro added a comment -

        In this patch we set the contextClassLoader when we start the Stream.

        Show
        Daniel Gómez Ferro added a comment - In this patch we set the contextClassLoader when we start the Stream.
        Hide
        Matthieu Morel added a comment -

        +1 definitely needed

        Thanks for the contribution!

        I'll integrate as soon as possible.

        Show
        Matthieu Morel added a comment - +1 definitely needed Thanks for the contribution! I'll integrate as soon as possible.
        Hide
        Matthieu Morel added a comment -
        Show
        Matthieu Morel added a comment - Incorporated patch and merged into piper branch in commit: https://git-wip-us.apache.org/repos/asf?p=incubator-s4.git;a=commit;h=3da0170c25a02923d8d51488bcfda54abdf772c4

          People

          • Assignee:
            Matthieu Morel
            Reporter:
            Daniel Gómez Ferro
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development