You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "George Klimov (JIRA)" <ji...@apache.org> on 2018/08/14 17:20:00 UTC
[jira] [Created] (ZEPPELIN-3713) Remove paragraph text and title
from NotebookService.runParagraph
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)