You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2017/02/22 00:26:44 UTC

[jira] [Created] (ZEPPELIN-2146) Enhance the error message when "top" or similar commands are executed via zeppelin notebook.

Yesha Vora created ZEPPELIN-2146:
------------------------------------

             Summary: Enhance the error message when "top" or similar commands are executed via zeppelin notebook.
                 Key: ZEPPELIN-2146
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2146
             Project: Zeppelin
          Issue Type: Bug
            Reporter: Yesha Vora


*+Steps to reproduce:+*
Create a notebook as below.
{code:title=para1}
%sh
echo $PATH
echo $USER
=========output=========
/usr/sbin:/sbin:/usr/lib/ambari-server/*:/sbin:/usr/sbin:/bin:/usr/bin:/var/lib/ambari-agent
zeppelin
{code}

{code:title=para2}
%sh
echo $TERM
top
===========output=============
dumb
TERM environment variable not set.
ExitValue: 1{code}

If "top" command can not be managed via zeppelin notebook, it should throw proper error such as "Top command not supported via zeppelin notebook".
Currently it complains TERM env variable is not set but as seen above TERM env var is set to "dumb".The existing error message is not proper and does not reveal root cause of the failure.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)