Github user JoshRosen commented on the pull request: https://github.com/apache/spark/pull/4292#issuecomment-72603547 For example: ```scala 15/02/02 22:49:12 INFO SparkILoop: Created spark context.. Spark context available as sc. scala> import org.apache.hadoop.mapred.{FileInputFormat, InputFormat, JobConf, SequenceFileInputFormat, TextInputFormat} import org.apache.hadoop.mapred.{FileInputFormat, InputFormat, JobConf, SequenceFileInputFormat, TextInputFormat} scala> import org.apache.hadoop.conf.Configuration import org.apache.hadoop.conf.Configuration scala> val conf = new Configuration() conf: org.apache.hadoop.conf.Configuration = Configuration: core-default.xml, core-site.xml, mapred-default.xml, mapred-site.xml scala> val jobConf = new JobConf(conf) jobConf: org.apache.hadoop.mapred.JobConf = Configuration: core-default.xml, core-site.xml, mapred-default.xml, mapred-site.xml scala> jobConf.getInt("myInt", 0) res3: Int = 0 scala> conf.setInt("myInt", 1) scala> jobConf.getInt("myInt", 0) res5: Int = 0 ```
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org