Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.0
-
None
Description
HdfsBolt.makeNewWriter() returns an AbstractHDFSWriter instead of an interface. AbstractHDFSWriter is public but its constructor is package-private so it can't actually be subclassed unless your class is in the org.apache.storm.hdfs.common package. I subclassed HDFSWriter but it required some workarounds.
Also AbstractHDFSWriter.offset is package-private and write() is final, so there is no way for a subclass to control or update the offset after doWrite()