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

        Cheolsoo Park made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Cheolsoo Park [ cheolsoo ] Daniel Dai [ daijy ]
        Resolution Won't Fix [ 2 ]
        Cheolsoo Park made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Cheolsoo Park made changes -
        Attachment PIG-3560-2.patch [ 12612060 ]
        Cheolsoo Park made changes -
        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 (/tmp/tez), if multiple users submit Pig jobs, subsequent jobs fail with the following error:
        {code}
        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
        {code}
        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:
        {code}
        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
        {code}
        Cheolsoo Park made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Cheolsoo Park made changes -
        Field Original Value New Value
        Attachment PIG-3560-1.patch [ 12612018 ]
        Cheolsoo Park created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development