[ https://issues.apache.org/jira/browse/HADOOP-4941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12660203#action_12660203 ]
Tsz Wo (Nicholas), SZE commented on HADOOP-4941: ------------------------------------------------ > I got a compile error > src/contrib/streaming/src/java/org/apache/hadoop/streaming/StreamUtil.java. > fs.getLength(p) should be changed to {fs.getFileStatus(p).getLen();}} Is it already in 4941_20081224.patch? I tried "ant tar". Everything can be compiled. I tested the patch in my machine. Only TestMapReduceLocal failed. See HADOOP-4907. > Remove getBlockSize(Path f), getLength(Path f) and getReplication(Path src) > --------------------------------------------------------------------------- > > Key: HADOOP-4941 > URL: https://issues.apache.org/jira/browse/HADOOP-4941 > Project: Hadoop Core > Issue Type: Sub-task > Components: fs > Reporter: Tsz Wo (Nicholas), SZE > Assignee: Tsz Wo (Nicholas), SZE > Attachments: 4941_20081224.patch > > > Remove the following > - public long getBlockSize(Path f) throws IOException > - public long getLength(Path f) throws IOException > - public short getReplication(Path src) throws IOException -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.