Have you tried the following (sc is SparkContext)?

sc.hadoopConfiguration.setInt("parquet.block.size", BLOCK_SIZE)

On Thu, Jan 28, 2016 at 9:16 AM, ubet <uli.bet...@sonra.io> wrote:

> Can I set the Parquet block size (parquet.block.size) in spark-sql. We are
> loading about 80 table partitions in parallel on 1.5.2 and run OOM.
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Parquet-block-size-from-spark-sql-cli-tp26097.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
>
>

Reply via email to