Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
revert strip prefix spark.hadoop
  • Loading branch information
juliuszsompolski committed Feb 27, 2018
commit b37f24f372bb45ff9b8380222e0eb7e6d8819e58
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ private[sql] class SessionState(
private[sql] object SessionState {
def newHadoopConf(hadoopConf: Configuration, sqlConf: SQLConf): Configuration = {
val newHadoopConf = new Configuration(hadoopConf)
sqlConf.getAllConfs.foreach { case (k, v) =>
if (v ne null) newHadoopConf.set(k, v.stripPrefix("spark.hadoop"))
}
sqlConf.getAllConfs.foreach { case (k, v) => if (v ne null) newHadoopConf.set(k, v) }
newHadoopConf
}
}
Expand Down