You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Arpit Gupta (JIRA)" <ji...@apache.org> on 2013/10/05 04:45:42 UTC

[jira] [Updated] (MAPREDUCE-5565) job clean up fails on secure cluster as the file system is not created in the context of the ugi running the job

     [ https://issues.apache.org/jira/browse/MAPREDUCE-5565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Gupta updated MAPREDUCE-5565:
-----------------------------------

    Description: 
On secure clusters we see the following exceptions in the jt log

{code}
2013-10-04 04:52:31,753 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:tt/host@REALM cause:javax.security.sasl.SaslException: GSS
initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
{code}


And after the job finishes the staging dir is not cleaned up. While debugging with [~acmurthy] we determined that file system object needs to be created in the the context of the user who ran the job.

Job however successfully completes

  was:
On secure clusters we see the following exceptions in the jt log

{code}
2013-10-04 04:52:31,753 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:tt/host@REALM cause:javax.security.sasl.SaslException: GSS
initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
{code}


And after the job finishes the staging dir is not cleaned up. While debugging with [~acmurthy] we determined that file system object needs to be created in the the context of the user who ran the job.


> job clean up fails on secure cluster as the file system is not created in the context of the ugi running the job
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5565
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5565
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: jobtracker
>    Affects Versions: 1.2.1
>            Reporter: Arpit Gupta
>            Assignee: Arun C Murthy
>            Priority: Critical
>
> On secure clusters we see the following exceptions in the jt log
> {code}
> 2013-10-04 04:52:31,753 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:tt/host@REALM cause:javax.security.sasl.SaslException: GSS
> initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]
> {code}
> And after the job finishes the staging dir is not cleaned up. While debugging with [~acmurthy] we determined that file system object needs to be created in the the context of the user who ran the job.
> Job however successfully completes



--
This message was sent by Atlassian JIRA
(v6.1#6144)