George Klimov created ZEPPELIN-3713:
---------------------------------------

             Summary: Remove paragraph text and title from 
NotebookService.runParagraph
                 Key: ZEPPELIN-3713
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3713
             Project: Zeppelin
          Issue Type: Bug
          Components: zeppelin-server
    Affects Versions: 0.9.0
            Reporter: George Klimov
            Assignee: George Klimov


{{NotebookService.runParagraph}} have paragraph text and title as args, it 
seems to be unnecessary, because paragraph extracted from note already contains 
them. Also it might cause new bugs related to incorrect text/title passing.

For example, bug in NotebookRestApi.runParagraph():
{code:java}
@POST
@Path("job/{noteId}/{paragraphId}")
@ZeppelinApi
public Response runParagraph(@PathParam("noteId") String noteId,
@PathParam("paragraphId") String paragraphId, String message)
throws IOException, IllegalArgumentException {

...

notebookService.runParagraph(
    noteId, paragraphId, "", "", params,
    new HashMap<String, Object>(), false, getServiceContext(), new 
RestServiceCallback<>());
return new JsonResponse<>(Status.OK).build();
}
{code}
all paragraphs processing as blank.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to