Skip to content
Closed
Show file tree
Hide file tree
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
  • Loading branch information
kiszk committed Jul 27, 2018
commit 71374a838aa6db4f362ec3b76cf0729c84bc218f
6 changes: 4 additions & 2 deletions core/src/main/scala/org/apache/spark/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ package object spark {
val resourceStream = Thread.currentThread().getContextClassLoader.
getResourceAsStream("spark-version-info.properties")
if (resourceStream == null) {
throw new SparkException("Could not find spark-version-info.properties")
// throw new SparkException("Could not find spark-version-info.properties")
}

try {
Expand All @@ -74,7 +74,9 @@ package object spark {
)
} catch {
case e: Exception =>
throw new SparkException("Error loading properties from spark-version-info.properties", e)
val unknownProp = "<unknown>"
(unknownProp, unknownProp, unknownProp, unknownProp, unknownProp, unknownProp)
// throw new SparkException("Error loading properties from spark-version-info.properties", e)
} finally {
if (resourceStream != null) {
try {
Expand Down
Loading