Pig
  1. Pig
  2. PIG-3446 Umbrella jira for Pig on Tez
  3. PIG-3560

UniqueTez staging dir should be used for different users

    Details

    • Type: Sub-task Sub-task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: tez-branch
    • Fix Version/s: tez-branch
    • Component/s: tez
    • Labels:
      None

      Description

      I discovered this bug while setting up a multi-user cluster. Since the staging dir for Pig jobs is always set to TEZ_AM_STAGING_DIR_DEFAULT (/tmp/tez), if multiple users submit Pig jobs, subsequent jobs fail with the following error:

      java.io.IOException: The ownership on the staging directory hdfs://10.170.21.33:9000/tmp/tez/staging is not as expected. It is owned by hadoop. The directory must be owned by the submitter cheolsoop or by cheolsoop
      
      1. PIG-3560-1.patch
        2 kB
        Cheolsoo Park
      2. PIG-3560-2.patch
        2 kB
        Cheolsoo Park

        Activity

          People

          • Assignee:
            Daniel Dai
            Reporter:
            Cheolsoo Park
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development