Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-889

Problem deleting Oozie Workflow from HUE console

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: CDH 5.12.0
    • Fix Version/s: None
    • Component/s: Hue, Oozie
    • Labels:
    • Environment:
      Oracle Linux 7 x86_64

      Description

      Last week we upgraded CDH from 5.12 to 5.14.

      Before the upgrading we exported all Workflows to json files and, with our upgraded done, we tried to made some test imports.

      But, when we tried to delete it to do the "full import" from all the Workflows we found it:

      [01/Aug/2018 23:53:13 -0700] api2 ERROR Error running <function delete_document at 0x7fbfce53b9b0>
      Traceback (most recent call last):
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/api2.py", line 58, in decorator
      return func(*args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/build/env/lib/python2.7/site-packages/Django-1.6.10-py2.7.egg/django/views/decorators/http.py", line 41, in inner
      return func(request, *args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/api2.py", line 360, in delete_document
      document.trash()
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1259, in trash
      self.move(trash_dir, self.owner)
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1250, in move
      self.save()
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1210, in save
      self.validate()
      File "/opt/cloudera/parcels/CDH-5.14.2-1.cdh5.14.2.p0.3/lib/hue/desktop/core/src/desktop/models.py", line 1232, in validate
      (self.name, self.parent_directory.uuid))
      FilesystemException: Cannot save document test_parent under parent directory e2e170d8-efd2-447f-8347-45999125631d due to circular dependency

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              edvarga Eduardo Varga
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: