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
Next Next commit
Update SparkHadoopUtil.scala
added comment with jira number
  • Loading branch information
agsachin authored Aug 21, 2016
commit 9765dc9f85bb145cf22df4c5a05a6de6f7d88f61
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class SparkHadoopUtil extends Logging {
if (key.startsWith("spark.hadoop.")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment above does not apply for the whole loop anymore and should be moved to this if statement

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

hadoopConf.set(key.substring("spark.hadoop.".length), value)
}
// fix added for SPARK-13979
// Copy any "fs.swift2d.foo=bar" or "fs.swift.foo=bar" properties into conf
else if (key.startsWith("fs.swift")){
hadoopConf.set(key, value)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's swift2d? It's not the swift client in hadoop-openstack, which is fs.swift

Copy link
Contributor Author

@agsachin agsachin Aug 21, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

swift2d is used when u are using Stocator --> https://github.com/SparkTC/stocator. now I have updated for hadoop-openstack also

Expand Down