{"push_id":1225546489,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"40cfc5a408de49214ab77d31273afde7188a4cea","before":"211e55d0146696a88ae1915fce2687e2d4da9771","commits":[{"sha":"40cfc5a408de49214ab77d31273afde7188a4cea","author":{"name":"Jeff Zhang","email":"8540ccd5710ce8e6da3f6c1c8189a4ef2fa98c60@apache.org"},"message":"ZEPPELIN-1225. Errors before the last shell command are ignored\n\n### What is this PR for?\nThe problem is that command \"bash -c <shell scripts>\" will always return 0 as long as the last line of shell script run correctly. e.g the following command will run correctly without any error message.\n```\nhello\npwd\n```\nThis PR will redirect stderr and stdout to the same place, and will display both the stderr and stdout to frontend just like what user see in the native shell terminal. So the output of above command will be as following\n```\nbash: hello: command not found\n/Users/jzhang/github/zeppelin\n```\n\n### What type of PR is it?\n[Bug Fix]\n\n### What is the Jira issue?\n* https://issues.apache.org/jira/browse/ZEPPELIN-1225\n\n### How should this be tested?\nUnit test is added and also manually verify it on zeppelin notebook.\n\n### Screenshots (if appropriate)\n\n### Questions:\n* Does the licenses files need update? No\n* Is there breaking changes for older versions? No\n* Does this needs documentation? No\n\nAuthor: Jeff Zhang <zjffdu@apache.org>\n\nThis patch had conflicts when merged, resolved by\nCommitter: Lee moon soo <moon@apache.org>\n\nCloses #1215 from zjffdu/ZEPPELIN-1225 and squashes the following commits:\n\naa87b66 [Jeff Zhang] should clear executors after shell execution is completed\n0266c71 [Jeff Zhang] ZEPPELIN-1225. Errors before the last shell command are ignored","distinct":true,"url":"https://api.github.com/repos/apache/zeppelin/commits/40cfc5a408de49214ab77d31273afde7188a4cea"}]}
{"actor":{"display_login":"asfgit"}}