You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Ruslan Dautkhanov (JIRA)" <ji...@apache.org> on 2017/04/24 03:49:04 UTC
[jira] [Created] (ZEPPELIN-2444) when timeout reached, change
"Paragraph received a SIGTERM. ExitValue: 143" to a more user-friendly
message
Ruslan Dautkhanov created ZEPPELIN-2444:
-------------------------------------------
Summary: when timeout reached, change "Paragraph received a SIGTERM. ExitValue: 143" to a more user-friendly message
Key: ZEPPELIN-2444
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2444
Project: Zeppelin
Issue Type: Improvement
Affects Versions: 0.7.1, 0.7.0, 0.8.0
Reporter: Ruslan Dautkhanov
By default %sh has 1 minute (60 seconds) timeout to run a command.
If timeout reached, command aborted with error `Paragraph received a SIGTERM. ExitValue: 143`.
Exception stack in log file:
{noformat}
ERROR [2017-04-23 21:31:17,578] ({pool-2-thread-3} ShellInterpreter.java[interpret]:97) - Can not run hadoop fs -put /vol/srcfile /user/rdautkha/dstfile
org.apache.commons.exec.ExecuteException: Process exited with an error: 143 (Exit value: 143)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153)
at org.apache.zeppelin.shell.ShellInterpreter.interpret(ShellInterpreter.java:91)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:495)
at org.apache.zeppelin.scheduler.Job.run(Job.java:181)
at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
{noformat}
Please change
error message {quote}Paragraph received a SIGTERM. ExitValue: 143{quote}
to {quote}Timeout of 60 secounds to run %sh paragraph reach. Operation aborted{quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)