You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Patcharee Thongtra <Pa...@uni.no> on 2015/11/26 13:50:26 UTC

custom inputformat recordreader

Hi,

In python how to use inputformat/custom recordreader?

Thanks,
Patcharee


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


Re: custom inputformat recordreader

Posted by Ted Yu <yu...@gmail.com>.
Please take a look at:
python//pyspark/tests.py

There're examples using sc.hadoopFile() and sc.newAPIHadoopRDD()

Cheers

On Thu, Nov 26, 2015 at 4:50 AM, Patcharee Thongtra <
Patcharee.Thongtra@uni.no> wrote:

> Hi,
>
> In python how to use inputformat/custom recordreader?
>
> Thanks,
> Patcharee
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>