You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Mike Percy (JIRA)" <ji...@apache.org> on 2013/04/29 09:50:17 UTC

[jira] [Updated] (FLUME-2027) Check for default replication fails on federated cluster in hdfs sink

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

Mike Percy updated FLUME-2027:
------------------------------

    Attachment: FLUME-2027.patch

This fix requires kicking the Hadoop version up to 1.1.0
                
> Check for default replication fails on federated cluster in hdfs sink
> ---------------------------------------------------------------------
>
>                 Key: FLUME-2027
>                 URL: https://issues.apache.org/jira/browse/FLUME-2027
>             Project: Flume
>          Issue Type: Bug
>            Reporter: Mike Percy
>            Assignee: Mike Percy
>         Attachments: FLUME-2027.patch
>
>
> Seeing the following exception when calling fs.getDefaultReplication() on a federated fs:
> {noformat}
> 13/04/26 08:52:12 ERROR hdfs.HDFSEventSink: process failed
> org.apache.hadoop.fs.viewfs.NotInMountpointException:
> getDefaultReplication on empty path is invalid
>         at org.apache.hadoop.fs.viewfs.ViewFileSystem.getDefaultReplication(ViewFileSystem.java:509)
>         at org.apache.flume.sink.hdfs.AbstractHDFSWriter.getFsDesiredReplication(AbstractHDFSWriter.java:104)
>         at org.apache.flume.sink.hdfs.AbstractHDFSWriter.isUnderReplicated(AbstractHDFSWriter.java:73)
>         at org.apache.flume.sink.hdfs.BucketWriter.shouldRotate(BucketWriter.java:486)
>         at org.apache.flume.sink.hdfs.BucketWriter.append(BucketWriter.java:421)
>         at org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:392)
>         at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68)
>         at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147)
>         at java.lang.Thread.run(Thread.java:722)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira