[
https://issues.apache.org/jira/browse/SPARK-18017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15602917#comment-15602917
]
Sean Owen commented on SPARK-18017:
-----------------------------------
You need to set it with --conf, not programmatically, I'd imagine.
> Changing Hadoop parameter through
> sparkSession.sparkContext.hadoopConfiguration doesn't work
> --------------------------------------------------------------------------------------------
>
> Key: SPARK-18017
> URL: https://issues.apache.org/jira/browse/SPARK-18017
> Project: Spark
> Issue Type: Bug
> Affects Versions: 2.0.0
> Environment: Scala version 2.11.8; Java 1.8.0_91;
> com.databricks:spark-csv_2.11:1.2.0
> Reporter: Yuehua Zhang
>
> My Spark job tries to read csv files on S3. I need to control the number of
> partitions created so I set Hadoop parameter fs.s3n.block.size. However, it
> stopped working after we upgrade Spark from 1.6.1 to 2.0.0. Not sure if it is
> related to https://issues.apache.org/jira/browse/SPARK-15991.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]