Skip to content

[Thought] Using Volumes for java actions #35

Open

Description

@kameshsampath

currently Java action jars are stored in couch DB and the streamed to the JarLoader while invocation. @gorkem is working to refactor that approach to save load and invocation time.

One of the thought is define a m2 kind of lay out and Java Action pick the jar from it instead of streaming. It could be modelled around GlusterFS and PV.

Activity

  1. changed the title [-][Question] Using Volumes for java actions[/-] [+][Thought] Using Volumes for java actions[/+] on Apr 18, 2018
  2. rabbah commented on Apr 18, 2018

    @rabbah
    Member

    Volumes? As in mounted file system from the host?

  3. kameshsampath commented on Apr 18, 2018

    @kameshsampath
    Author

    yes @rabbah something like that, we an use PV as well but @gorkem felt its take a bit of time loading PV, so thinking of some way like GlusterFS kind of things.

    My thoughts around proposing this idea were:

    • help big SI adopt OW with option that they connect their existing maven repos to the volumes
    • wsk create (java action) does not need to store the jar binary in couchdb instead it can point to maven GAV
    • when invoking action the maven GAV could be used to add that jar alone to CP and invoke it.
  4. 223311 commented on Jan 2, 2019

    @223311

    I need to access config file from host when calling action(Java action) by openwhisk .
    But am unable to read from host(showing file not found exception).
    So for that i need to add volume when docker java8action image/container bootup.
    How i will add that volume info..
    Please suggest..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions