Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.6.0
    • Fix Version/s: None
    • Component/s: con.oozie
    • Labels:
      None
    • Environment:

      CDH 5.2

      Description

      08/Nov/2014 05:21:38 -0800] resource DEBUG GET Got response: <workflow-app name="calculate-vi...
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Getting node with data - XML TAG: start LINK NAME: start WORKFLOW NAME:
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Getting node with data - XML TAG: action LINK NAME: calculate-visits-item_info WORKFLOW NAME:
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Getting node with data - XML TAG: action LINK NAME: add-partition-visits-item_info WORKFLOW NAME:
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Getting node with data - XML TAG: end LINK NAME: end WORKFLOW NAME:
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Finished resolving links for workflow
      [08/Nov/2014 05:21:39 -0800] workflows DEBUG Finished assigning properties to workflow
      [08/Nov/2014 05:21:39 -0800] models WARNING Workflow 0000010-141108151617388-oozie-oozi-W could not be converted to a graph: current transaction is aborted, commands ignored until end of transaction block

      [08/Nov/2014 05:21:39 -0800] middleware INFO Processing exception: current transaction is aborted, commands ignored until end of transaction block
      : Traceback (most recent call last):
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/views/dashboard.py", line 110, in decorate
      return view_func(request, *args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/views/dashboard.py", line 233, in list_oozie_workflow
      workflow_graph, full_node_list = Workflow.gen_status_graph_from_xml(request.user, oozie_workflow)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/models.py", line 554, in gen_status_graph_from_xml
      workflow.delete(skip_trash=True)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/models.py", line 136, in delete
      self.doc.all().delete()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 513, in delete
      collector.collect(del_query)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/deletion.py", line 151, in collect
      reverse_dependency=reverse_dependency)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/deletion.py", line 95, in add
      if not objs:
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 130, in _nonzero_
      iter(self).next()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 118, in _result_iter
      self._fill_cache()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 892, in _fill_cache
      self._result_cache.append(self._iter.next())
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 291, in iterator
      for row in compiler.results_iter():
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/sql/compiler.py", line 763, in results_iter
      for rows in self.execute_sql(MULTI):
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/sql/compiler.py", line 818, in execute_sql
      cursor.execute(sql, params)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
      return self.cursor.execute(query, args)
      DatabaseError: current transaction is aborted, commands ignored until end of transaction block

      [08/Nov/2014 05:21:39 -0800] base ERROR Internal Server Error: /oozie/list_oozie_workflow/0000010-141108151617388-oozie-oozi-W/
      Traceback (most recent call last):
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/core/handlers/base.py", line 111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/views/dashboard.py", line 110, in decorate
      return view_func(request, *args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/views/dashboard.py", line 233, in list_oozie_workflow
      workflow_graph, full_node_list = Workflow.gen_status_graph_from_xml(request.user, oozie_workflow)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/models.py", line 554, in gen_status_graph_from_xml
      workflow.delete(skip_trash=True)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/apps/oozie/src/oozie/models.py", line 136, in delete
      self.doc.all().delete()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 513, in delete
      collector.collect(del_query)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/deletion.py", line 151, in collect
      reverse_dependency=reverse_dependency)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/deletion.py", line 95, in add
      if not objs:
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 130, in _nonzero_
      iter(self).next()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 118, in _result_iter
      self._fill_cache()
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 892, in _fill_cache
      self._result_cache.append(self._iter.next())
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/query.py", line 291, in iterator
      for row in compiler.results_iter():
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/sql/compiler.py", line 763, in results_iter
      for rows in self.execute_sql(MULTI):
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/models/sql/compiler.py", line 818, in execute_sql
      cursor.execute(sql, params)
      File "/opt/cloudera/parcels/CDH-5.2.0-1.cdh5.2.0.p0.36/lib/hue/build/env/lib/python2.7/site-packages/Django-1.4.5-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
      return self.cursor.execute(query, args)
      DatabaseError: current transaction is aborted, commands ignored until end of transaction block

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              seregasheypak Sergey Sheypak
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: