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 :
Code should be modified accordingly to include sqoop command result also correctly to be fetched.