Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-758

Java API should be able to connect to existing session

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.0, 0.7.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:

      Description

      The current Java client automatically creates a new session upon connection, unless an uri with a session is passed (i.e. passing http://localhost:8999/sessions/3 as URI will attach to session 3). This is not documented at all and I think it should be documented more explicitly. Also I purpose to add a method to LivyClientBuilder in order to explicitly set the session id to be used, without removing the actual solution that can still be used anyway. If the session id is set both in the property and the URI, an exception will be thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tmnd91 Antonio Murgia
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4h
                  4h
                  Remaining:
                  Time Spent - 40m Remaining Estimate - 3h 20m
                  3h 20m
                  Logged:
                  Time Spent - 40m Remaining Estimate - 3h 20m
                  40m