Github user edi-bice commented on a diff in the pull request:
https://github.com/apache/incubator-samoa/pull/48#discussion_r56008845
--- Diff:
samoa-api/src/main/java/org/apache/samoa/moa/streams/AvroFileStream.java ---
@@ -140,7 +140,8 @@ protected boolean readNextInstanceFromFile() {
public void prepareForUseImpl(TaskMonitor monitor, ObjectRepository
repository) {
super.prepareForUseImpl(monitor, repository);
String filePath = this.avroFileOption.getFile().getAbsolutePath();
- this.fileSource.init(filePath, AvroFileStream.AVRO_FILE_EXTENSION);
+ //this.fileSource.init(filePath, AvroFileStream.AVRO_FILE_EXTENSION);
+ this.fileSource.init(filePath, null);
--- End diff --
My Avro files do not have extensions. I realize this is not my personal
software but it did happen to me and it can happen to others. Why require an
extension at all?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---