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

[sqoop] [editor] Hue showing Sqoop command as running even when its finished.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.9.0
    • Component/s: app.editor
    • Labels:
      None

      Description

      Problem statement : HUE DOESN'T UPDATE THE CORRECT STATUS FOR SQOOP JOBS .The Command was ran successfully and job was succcedded, but in Hue UI its showing as running still:

      Root cause :  in code : oozie_batch.py we check for [`RESULTS_PATTERN_GENERIC`|https://github.com/cloudera/hue/blob/c04d89a2770aeb884f44e6b0dff018ec8c22349d/desktop/libs/notebook/src/notebook/connectors/oozie_batch.py#L49]

       But this check wont hit as Sqoop's end command is : 
      Invocation of Sqoop command completed
       

      but hue expects : 

      Invocation of Main class completed

      Code should be modified accordingly to include sqoop command result also correctly to be fetched.

        Attachments

          Activity

            People

            • Assignee:
              asnaik Akhil S Naik
              Reporter:
              asnaik Akhil S Naik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: