Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/1222#issuecomment-55832295
  
    Finally got around to this. Let me know what you think of the approach.
    
    Note about the approach: adding a header to the files is not optimal 
because it makes it harder for any code that is not Spark to read the file. If 
that's something that we want to support, some public API might need to be 
added.
    
    An alternative approach would be to have a small metadata file saved 
side-by-side with the event log. This, I think, is actually worse than the log 
directory, because the inode for the small file would contain block data for 
it, which probably would end up being larger than the inode data for the empty 
nodes currently used by the directory-based approach.



---
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.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to