Uploaded image for project: 'Hue'
  1. Hue
  2. HUE-2092

[liboozie] Jar files not in workspace should not be deleted at submittion

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.7.0
    • Component/s: con.oozie
    • Labels:
      None

      Description

      We're trying to submit a workflow but are getting an Internal Server Error.

      This is from the logs:

      [22/Apr/2014 16:28:58 +0200] base ERROR Internal Server Error: /oozie/submit_workflow/17
      Traceback (most recent call last):
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/build/env/lib/python2.6/site-packages/Django-1.4.5-py2.6.egg/django/core/handlers/base.py", line 111, in get_response
      response = callback(request, *callback_args, **callback_kwargs)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/apps/oozie/src/oozie/decorators.py", line 52, in decorate
      return view_func(request, *args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/apps/oozie/src/oozie/views/editor.py", line 335, in submit_workflow
      job_id = _submit_workflow(request.user, request.fs, request.jt, workflow, mapping)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/apps/oozie/src/oozie/views/editor.py", line 356, in _submit_workflow
      job_id = submission.run()
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/desktop/libs/liboozie/src/liboozie/submittion.py", line 79, in run
      deployment_dir = self.deploy()
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/desktop/libs/liboozie/src/liboozie/submittion.py", line 144, in deploy
      self._do_as(self.user.username , self._copy_files, deployment_dir, oozie_xml)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/desktop/libs/liboozie/src/liboozie/submittion.py", line 281, in _do_as
      return fn(*args, **kwargs)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/desktop/libs/liboozie/src/liboozie/submittion.py", line 275, in _copy_files
      self.fs.copyfile(jar_file, jar_lib_path)
      File "/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 482, in copyfile
      raise IOError(errno.INVAL, _("Copy src '%s' is a directory") % src)
      AttributeError: 'module' object has no attribute 'INVAL'

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                romain Romain Rigaux
                Reporter:
                lars_francke Lars Francke
              • Votes:
                3 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: