You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:37:36 UTC

[jira] [Resolved] (SPARK-12214) Spark to provide an API to save user-defined metadata as part of Sequence File header

     [ https://issues.apache.org/jira/browse/SPARK-12214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-12214.
----------------------------------
    Resolution: Incomplete

> Spark to provide an API to save user-defined metadata as part of Sequence File header
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-12214
>                 URL: https://issues.apache.org/jira/browse/SPARK-12214
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 1.3.0, 1.4.0, 1.5.0
>            Reporter: Naveen Pishe
>            Priority: Major
>              Labels: Sequence, bulk-closed, header, metadata, sequencefile
>
> There is requirement to save "user-defined" Metadata as part of Sequence File "Header" using Spark. 
> To write a User-defined metadata as part of Sequence File using regular Hadoop API's I pass the metadata object to SequenceFile.Writer constructor which when creates a SequenceFile ensures the metadata is part of the sequence file header.
> Currently Spark's JavaPairRDD Api provides methods to save an RDD to an SequenceFile format, but I don't see any API which can either give the SequenceFile.writer or a method where in I can pass the user-defined metadata so as to be written as part of sequence file header.
> The enhancement request an API to implement the same



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org