You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2015/08/14 14:22:45 UTC

[jira] [Created] (MAPREDUCE-6452) LocalRunner with intermediate encrypt failing with NPE

Bibin A Chundatt created MAPREDUCE-6452:
-------------------------------------------

             Summary: LocalRunner with intermediate encrypt failing with NPE
                 Key: MAPREDUCE-6452
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6452
             Project: Hadoop Map/Reduce
          Issue Type: Bug
            Reporter: Bibin A Chundatt
            Priority: Minor



Enable the below properties try running mapreduce job

mapreduce.framework.name=local
mapreduce.job.encrypted-intermediate-data=true

{code}
2015-08-14 16:27:25,248 WARN  [Thread-21] mapred.LocalJobRunner (LocalJobRunner.java:run(561)) - job_local473843898_0001
java.lang.Exception: java.lang.NullPointerException
        at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:463)
        at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:523)
Caused by: java.lang.NullPointerException
        at org.apache.hadoop.crypto.CryptoOutputStream.<init>(CryptoOutputStream.java:92)
        at org.apache.hadoop.fs.crypto.CryptoFSDataOutputStream.<init>(CryptoFSDataOutputStream.java:31)
        at org.apache.hadoop.mapreduce.CryptoUtils.wrapIfNecessary(CryptoUtils.java:112)
        at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.sortAndSpill(MapTask.java:1611)
        at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:1492)
        at org.apache.hadoop.mapred.MapTask$NewOutputCollector.close(MapTask.java:723)
        at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
        at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
        at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:244)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

{code}





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)