: Nicholas Chammas; user@spark.apache.org
Subject: Re: Writing output of key-value Pair RDD
Thanks, I got the example below working. Though it writes both the keys and
values to the output file.
Is there any way to write just the values ?
--
Nick
String[] strings = { "Abcd&qu
lelize(Arrays.asList(strings))
.mapToPair(pairFunction)
.saveAsHadoopFile("s3://...", String.class, String.class,
RDDMultipleTextOutputFormat.class);
From: Nicholas Chammas
Sent: Wednesday, May 4, 2016 4:21:12 PM
To: Afshartous, Nick; user@sp
You're looking for this discussion:
http://stackoverflow.com/q/23995040/877069
Also, a simpler alternative with DataFrames:
https://github.com/apache/spark/pull/8375#issuecomment-202458325
On Wed, May 4, 2016 at 4:09 PM Afshartous, Nick
wrote:
> Hi,
>
>
> Is there any way to write out to S3 the