Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: backlog
-
Fix Version/s: 2.0.0-beta
-
Component/s: None
-
Labels:None
-
Target Version:
Description
There is a fairly subtle bug in the Shell application's handling of error states in subprocesses. To reproduce:
1. Unset JAVA_HOME in the webserver running Hue
2. Start Hue with this modified environment.
3. Click the button in the top bar to launch a Pig shell a few times.
Most of the time, the proper output, "Error: JAVA_HOME is not set" is displayed, along with a notification that the process has exited, "[Process completed]".
However, occasionally only the notification is displayed, which is bad. Worse, there are some times when it appears to hang, and nothing happens.