Github user mateiz commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1843#discussion_r16693014
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/SparkHdfsLR.scala ---
    @@ -70,7 +70,7 @@ object SparkHdfsLR {
     
         val sparkConf = new SparkConf().setAppName("SparkHdfsLR")
         val inputPath = args(0)
    -    val conf = SparkHadoopUtil.get.newConfiguration()
    +    val conf = SparkHadoopUtil.get.newConfiguration(sparkConf)
    --- End diff --
    
    IMO this should not even be using SparkHadoopUtil, as mentioned above; it 
should just create a `new Configuration`. It's okay if it doesn't get the 
`spark.hadoop.*` properties, after all you're doing this before initializing a 
SparkContext.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to