[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:
Thomas Graves 2014-03-12 11:25:41 -07:00 committed by Aaron Davidson
parent c8c59b326e
commit b5162f4426

View file

@ -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
}
}