hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira Ajisaka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-7077) Pipe mapreduce job fails with Permission denied for jobTokenPassword
Date Thu, 12 Apr 2018 01:02:00 GMT

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

Akira Ajisaka updated MAPREDUCE-7077:
-------------------------------------
            Assignee: Akira Ajisaka
    Target Version/s: 3.2.0, 3.1.1
              Status: Patch Available  (was: Open)

> Pipe mapreduce job fails with Permission denied for jobTokenPassword
> --------------------------------------------------------------------
>
>                 Key: MAPREDUCE-7077
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7077
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Yesha Vora
>            Assignee: Akira Ajisaka
>            Priority: Major
>         Attachments: MAPREDUCE-7077.01.patch
>
>
> Steps:
> Launch wordcount example with pipe
> {code}
> /usr/hdp/current/hadoop-client/bin/hadoop pipes "-Dhadoop.pipes.java.recordreader=true"
"-Dhadoop.pipes.java.recordwriter=true" -input pipeInput -output pipeOutput -program bin/wordcount{code}
> The application fails with below stacktrace
> {code:title=AM}
> attempt_1517534613368_0041_r_000000_2 is : 0.0
> 2018-02-02 02:40:51,071 ERROR [IPC Server handler 16 on 43391] org.apache.hadoop.mapred.TaskAttemptListenerImpl:
Task: attempt_1517534613368_0041_r_000000_2 - exited : java.io.FileNotFoundException: /grid/0/hadoop/yarn/local/usercache/hrt_qa/appcache/application_1517534613368_0041/jobTokenPassword
(Permission denied)
>  at java.io.FileOutputStream.open0(Native Method)
>  at java.io.FileOutputStream.open(FileOutputStream.java:270)
>  at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
>  at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:236)
>  at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:219)
>  at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:318)
>  at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:307)
>  at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:338)
>  at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.<init>(ChecksumFileSystem.java:401)
>  at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:464)
>  at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:443)
>  at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1169)
>  at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1149)
>  at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1038)
>  at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1026)
>  at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:703)
>  at org.apache.hadoop.mapred.pipes.Application.writePasswordToLocalFile(Application.java:173)
>  at org.apache.hadoop.mapred.pipes.Application.<init>(Application.java:109)
>  at org.apache.hadoop.mapred.pipes.PipesReducer.startApplication(PipesReducer.java:87)
>  at org.apache.hadoop.mapred.pipes.PipesReducer.reduce(PipesReducer.java:65)
>  at org.apache.hadoop.mapred.pipes.PipesReducer.reduce(PipesReducer.java:38)
>  at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:445)
>  at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:393)
>  at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:174)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:422)
>  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1965)
>  at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:168)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message