Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2313

Run-a-paragraph-synchronously response documented incorrectly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7.0
    • Fix Version/s: None
    • Component/s: documentation
    • Labels:
      None

      Description

      The documentation at https://zeppelin.apache.org/docs/0.7.0/rest-api/rest-notebook.html#run-a-paragraph-synchronously says the sample json error as

      {
       "status": "INTERNAL_SERVER_ERROR",
         "body": {
             "code": "ERROR",
             "type": "TEXT",
             "msg": "bash: -c: line 0: unexpected EOF while looking for matching ``'\nbash: -c: line 1: syntax error: unexpected end of file\nExitValue: 2"
         }
      }
      

      But it is actually coming like

      {
        "status": "OK",
        "body": {
          "code": "SUCCESS",
          "msg": [
            {
              "type": "TEXT",
              "data": "hello world"
            }
          ]
        }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MeethuMathew Meethu Mathew
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: