Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-558

Shell hangs if odd error case is encountered

    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

      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.

        Attachments

          Activity

            People

            • Assignee:
              aditya Aditya Acharya
              Reporter:
              aditya Aditya Acharya
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: