[SPARK-1233] Fix running hadoop 0.23 due to java.lang.NoSuchFieldException: DEFAULT_M...
...APREDUCE_APPLICATION_CLASSPATH Author: Thomas Graves <tgraves@apache.org> Closes #129 from tgravescs/SPARK-1233 and squashes the following commits: 85ff5a6 [Thomas Graves] Fix running hadoop 0.23 due to java.lang.NoSuchFieldException: DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH
This commit is contained in:
parent
c8c59b326e
commit
b5162f4426
|
@ -404,6 +404,7 @@ object ClientBase {
|
|||
field.get(null).asInstanceOf[Array[String]]
|
||||
} catch {
|
||||
case err: NoSuchFieldError => null
|
||||
case err: NoSuchFieldException => null
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -422,6 +423,7 @@ object ClientBase {
|
|||
}
|
||||
} catch {
|
||||
case err: NoSuchFieldError => null
|
||||
case err: NoSuchFieldException => null
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue