Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1929

oozie jobs don't run on hcfs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • None

    Description

      I've tried oozie examples with GlusterFS as HCFS. If I run job under user oozie it works. If I run job under different user it doesn't work.

      I run job under user user1, he has root rights for everything in sudoers(because oozie switch user accounts in time of job processing) and then oozie creates directory ".staging" which has these permissions:
      oozie hadoop rwx------
      Users user1 and oozie are members of hadoop group. That's ok. Problem is that oozie changes permissions of this directory in time so it is accesible just for oozie. Even if I change permisions to:
      oozie hadoop rwxrwx---
      oozie changes it back.
      In HDFS it works differently because oozie is in Supergroup.
      I think this should be fixed in oozie and it has these solutions(and maybe many more):
      1) oozie will create this directory(or file and every other) with rights "rwx" for group
      2) if job starts by user1 then oozie doesn't do sudo t oozie, so directory and files are made with proper permissions

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkudlej Martin Kudlej
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: