aboutsummaryrefslogtreecommitdiff
path: root/docs/configuration.md
diff options
context:
space:
mode:
authorKostas Sakellis <kostas@cloudera.com>2014-12-22 13:07:01 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-12-22 13:07:01 -0800
commit7c0ed13d298d9cf66842c667602e2dccb8f5605b (patch)
tree1bbe88dd2f6846b32b0b47ec7f7279b0655017c0 /docs/configuration.md
parentd62da642ace17b37283eab64149545723c8474a7 (diff)
downloadspark-7c0ed13d298d9cf66842c667602e2dccb8f5605b.tar.gz
spark-7c0ed13d298d9cf66842c667602e2dccb8f5605b.tar.bz2
spark-7c0ed13d298d9cf66842c667602e2dccb8f5605b.zip
[SPARK-4079] [CORE] Consolidates Errors if a CompressionCodec is not available
This commit consolidates some of the exceptions thrown if compression codecs are not available. If a bad configuration string was passed in, a ClassNotFoundException was through. Also, if Snappy was not available, it would throw an InvocationTargetException when the codec was being used (not when it was being initialized). Now, an IllegalArgumentException is thrown when a codec is not available at creation time - either because the class does not exist or the codec itself is not available in the system. This will allow us to have a better message and fail faster. Author: Kostas Sakellis <kostas@cloudera.com> Closes #3119 from ksakellis/kostas-spark-4079 and squashes the following commits: 9709c7c [Kostas Sakellis] Removed unnecessary Logging class 63bfdd0 [Kostas Sakellis] Removed isAvailable to preserve binary compatibility 1d0ef2f [Kostas Sakellis] [SPARK-4079] [CORE] Added more information to exception 64f3d27 [Kostas Sakellis] [SPARK-4079] [CORE] Code review feedback 52dfa8f [Kostas Sakellis] [SPARK-4079] [CORE] Default to LZF if Snappy not available
Diffstat (limited to 'docs/configuration.md')
0 files changed, 0 insertions, 0 deletions