[
https://issues.apache.org/jira/browse/MAPREDUCE-1415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842529#action_12842529
]
Amareshwari Sriramadasu commented on MAPREDUCE-1415:
----------------------------------------------------
Test failure TestBadRecords is not related to the patch.
The test failed with NoClassDefFoundError (MAPREDUCE-1275).
Stack trace for the failure :
{noformat}
java.lang.NoClassDefFoundError: org/apache/hadoop/io/SequenceFile$Reader
at
org.apache.hadoop.mapred.TestBadRecords.validateOutput(TestBadRecords.java:147)
at
org.apache.hadoop.mapred.TestBadRecords.runMapReduce(TestBadRecords.java:96)
at
org.apache.hadoop.mapred.TestBadRecords.testBadMapRed(TestBadRecords.java:213)
Caused by: java.lang.ClassNotFoundException:
org.apache.hadoop.io.SequenceFile$Reader
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Caused by: java.util.zip.ZipException: error reading zip file
at java.util.zip.ZipFile.read(Native Method)
at java.util.zip.ZipFile.access$1200(ZipFile.java:29)
at java.util.zip.ZipFile$ZipFileInputStream.read(ZipFile.java:447)
at java.util.zip.ZipFile$1.fill(ZipFile.java:230)
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141)
at sun.misc.Resource.getBytes(Resource.java:97)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:256)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
{noformat}
> With streaming jobs and LinuxTaskController, the localized streaming binary
> has 571 permissions instead of 570
> --------------------------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-1415
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1415
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: contrib/streaming, security
> Reporter: Vinod K V
> Assignee: Amareshwari Sriramadasu
> Fix For: 0.22.0
>
> Attachments: patch-1415-1.txt, patch-1415.txt
>
>
> After MAPREDUCE-856, all localized files are expected to have **0 permissions
> for the sake of security.
> This was found by Karam while testing LinuxTaskController functionality after
> MAPREDUCE-856.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.