Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-20981

Provide mechanism for automatic resolution of libraries used by Java embeds

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      One of the common uses of embedded Java, Python, or C++ is as a bridge to functionality provided in an external library. However, ensuring that the library in question is properly installed on all HPCC nodes can be error-prone and time-consuming, as it usually requires operations staff to make changes to the boot image or similar.

      We could simplify this process by adding support for adding dependency information to a workunit via the manifest file (for example, by attaching a .pom file) then using a standard mechanism (appropriate for the language in question) to resolve/cache those dependencies on any HPCC machine that needs them.

      For Java, this would probably mean using Maven, for Javascript it would be npm, and for Python it would be pip (etc)

      For security reasons we would want to ensure that any libraries that got installed this way were only for the current user, and that we can fully control the source repository where desirable.

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: