Uploaded image for project: 'JS - JS7 JobScheduler Engine'
  1. JS - JS7 JobScheduler Engine
  2. JS-2229

Add Graal Polyglot cache directory to Agent

    XMLWordPrintable

Details

    • Feature
    • Status: In Progress (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • 2.8.2
    • JS7 Agent
    • None

    Description

      Current Situation

      • The Graal Polyglot interface is supported by JITL-759.
      • For a number of supported guest languages such as Python the Graal requires a chache directory to store modules and related files.

      Desired Behavior

      • The graal-polyglot-cache sub-directory is added to the Agent's <agent-data>/work directory.
        • Creating the sub-directory
          • The Agent Start Script (agent.sh, agent.cmd) considers creating the related sub-directory.
        • Permissions for the sub-directory
          • The sub-directory is writeable for the Agent's run-time account.
      • The Agent Start Scripts for Unix and Windows
        • set the following Java system properties:
          -Dpolyglot.engine.userResourceCache=${AGENT_WORK}/graal-polyglot-cache
          -Dpolyglot.engine.WarnInterpreterOnly=false
          

      Attachments

        Issue Links

          Activity

            People

              oh Oliver Haufe
              ap Andreas Püschel
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: