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

Cannot run paragraph via API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • rest-api
    • None

    Description

      NPE when running curl command after init:

      Request:

      curl -i -X POST http://localhost:8080/api/notebook/run/2D6M5CB83/20180119-153031_1637783067
      

      Response:

      HTTP/1.1 500 Request failed.
      

       
      Logs:

      ERROR [2018-01-24 15:34:28,603] ({qtp2028017635-16} Job.java[run]:188) - Job failed
      java.lang.NullPointerException
      	at org.apache.zeppelin.notebook.Paragraph.jobRun(Paragraph.java:380)
      	at org.apache.zeppelin.scheduler.Job.run(Job.java:186)
      	at org.apache.zeppelin.rest.NotebookRestApi.runParagraphSynchronously(NotebookRestApi.java:800)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      

      How to reproduce:
      1. Checkout latest master (commit c9df68cf5c0f0e9e)
      2. Build Zep (mvn clean package -DskipTests)
      3. Start Zep
      4. Run curl command in shell

      Attachments

        Issue Links

          Activity

            People

              nelsonc Nelson Costa
              nelsonc Nelson Costa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: