Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-1273

ProgramClassLoader getResource doesn't work correctly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.1, 2.6.0
    • Fix Version/s: 3.1.0
    • Component/s: App Fabric
    • Labels:
      None
    • Rank:
      1|hzylwv:

      Description

      The current implementation will always return the resource as get from the system classloader, unfiltered.

      E.g. if the user uses his own version of snappy library, every Snappy classes will be loaded from the program class loader (which is correct), however, if he does getResource through the program class loader, the resource returned is always from the cdap system class loader, which can be of different snappy version than the user program is using.

        Attachments

          Activity

            People

            • Assignee:
              sree Sreevatsan Raman
              Reporter:
              terence Terence Yim
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: