Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Seeing the following exception when calling fs.getDefaultReplication() on a federated fs:
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)
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-8422 Deprecate FileSystem#getDefault* and getServerDefault methods that don't take a Path argument
- Closed
-
HBASE-6067 HBase won't start when hbase.rootdir uses ViewFileSystem
- Closed
- links to