Github user dossett commented on the pull request:

    https://github.com/apache/storm/pull/1044#issuecomment-198393099
  
    @arunmahadevan Writers should never be writing to the same file.  
`getBasePathForNextFile` will increment the rotation value before opening the 
file.  File name also includes `System.currentTimeMillis()` which should 
further prevent conflict.
    
    There's also a unit test that attempts to validate this by writing two 
different schemas and confirming that two files are created: 
https://github.com/dossett/storm/blob/STORM-1494/external/storm-hdfs/src/test/java/org/apache/storm/hdfs/bolt/AvroGenericRecordBoltTest.java#L156-L168



---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to