Uploaded image for project: 'Livy (READ-ONLY)'
  1. Livy (READ-ONLY)
  2. LIVY-269

SparkRInterpreter hangs forever on executing `x[`

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.3
    • Component/s: Interpreter
    • Labels:
      None

      Description

      I also noticed that since the R interpreter is not using eval(), R interpreter will hang forever if it executes an incomplete statement. e.g. `x[`.

      hyunwoo cho commented that we can fix it using

      tryCatch({eval(parse(text="yyy"))},error = function(e) {print("----LIVY_ERROR----")})
      

        Attachments

          Activity

            People

            • Assignee:
              tc0312 Alex Man
              Reporter:
              tc0312 Alex Man
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: