Not necessarily. 

> On Mar 15, 2016, at 7:16 PM, JoneZhang <joyoungzh...@gmail.com> wrote:
> 
> Step1
>        List<String> items = new ArrayList<String>();items.addAll(XXX);
>        javaSparkContext.parallelize(items).saveAsTextFile(output);
> Step2
>        final List<String> items2 = ctx.textFile(output).collect();
> 
> Does items and items2 has the same order?
> 
> 
> Besh wishes.
> Thanks.
> 
> 
> 
> --
> View this message in context: 
> http://apache-spark-user-list.1001560.n3.nabble.com/Does-parallelize-and-collect-preserve-the-original-order-of-list-tp26512.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
> For additional commands, e-mail: user-h...@spark.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to