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

Spark data files are not available in interactive session

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 0.7.0
    • 0.9.0
    • Interpreter
    • None

    Description

      Files passed via the `files` parameter are not available from the main program in interactive mode. This is because livy runs the `fake_shell.py` interpreter in the root directory while yarn stages in a temp dir.  I have not checked whether batch programs suffer the same short coming.

      Potential Solutions

      1. Set CWD of `fake_shell.py` to yarn staging directory
      2. Create temporary working directory and copy necessary files from the `files` parameter

      Attachments

        Activity

          People

            Unassigned Unassigned
            dylan.wilder Dylan Patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: