Tried as hdfs user, but got same/similar error:
[hdfs@sandbox ~]$ hadoop jar /usr/hdp/2.2.0.0-2041/hadoop-mapreduce/hadoop-streaming-2.6.0.2.2.0.0-2041.jar -input mytestdir/mylocaldir -output myperloutdir -mapper /tmp/wc_mapper.pl -reducer /tmp/wc_reducer.pl -file /tmp/wc_mapper.pl -file /tmp/wc_reducer.pl
15/04/15 02:24:14 WARN streaming.StreamJob: -file option is deprecated, please use generic option -files instead.
packageJobJar: [/tmp/wc_mapper.pl, /tmp/wc_reducer.pl] [/usr/hdp/2.2.0.0-2041/hadoop-mapreduce/hadoop-streaming-2.6.0.2.2.0.0-2041.jar] /tmp/streamjob3380963315948835533.jar tmpDir=null
15/04/15 02:24:16 INFO impl.TimelineClientImpl: Timeline service address: http://sandbox.hortonworks.com:8188/ws/v1/timeline/
15/04/15 02:24:16 INFO client.RMProxy: Connecting to ResourceManager at sandbox.hortonworks.com/192.168.166.128:8050
15/04/15 02:24:16 INFO impl.TimelineClientImpl: Timeline service address: http://sandbox.hortonworks.com:8188/ws/v1/timeline/
15/04/15 02:24:16 INFO client.RMProxy: Connecting to ResourceManager at sandbox.hortonworks.com/192.168.166.128:8050
15/04/15 02:24:16 INFO mapred.FileInputFormat: Total input paths to process : 1
15/04/15 02:24:16 INFO mapreduce.JobSubmitter: number of splits:2
15/04/15 02:24:17 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1429062249944_0003
15/04/15 02:24:17 INFO impl.YarnClientImpl: Submitted application application_1429062249944_0003
15/04/15 02:24:17 INFO mapreduce.Job: The url to track the job: http://sandbox.hortonworks.com:8088/proxy/application_1429062249944_0003/
15/04/15 02:24:17 INFO mapreduce.Job: Running job: job_1429062249944_0003
15/04/15 02:24:22 INFO mapreduce.Job: Job job_1429062249944_0003 running in uber mode : false
15/04/15 02:24:22 INFO mapreduce.Job: map 0% reduce 0%
15/04/15 02:24:26 INFO mapreduce.Job: Task Id : attempt_1429062249944_0003_m_000001_0, Status : FAILED
Error: java.lang.RuntimeException: Error in configuring object
at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:109)
at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:75)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:133)
at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:446)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:163)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
…
Caused by: java.io.IOException: Cannot run program “/hadoop/yarn/local/usercache/hdfs/appcache/application_1429062249944_0003/container_1429062249944_0003_01_000003/./wc_mapper.pl”: error=13, Permission denied