Improved zlib error message
Improved zlib error message

Sometimes writing to compressed files can result in an unhelpful error message:
"zlib deflate failed:"
Which does not contain details because a message field is not given to us by zlib in all
cases. This patch addresses one of those cases mentioned in the zlib documentation, namely
when the output buffer is too small to hold the compressed input.

Change-Id: I4aa53083f79caf424c47ed6978789ad09ac82b63
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5159
Reviewed-by: Victor Bittorf <7b0a82a581d2903422f8daab53468fd68be74b9a@cloudera.com>
Tested-by: jenkins

michaelhkw/incubator-impala,cloudera/Impala,cloudera/Impala,michaelhkw/incubator-impala,cloudera/Impala,michaelhkw/incubator-impala,cloudera/Impala,cloudera/Impala,michaelhkw/incubator-impala,michaelhkw/incubator-impala,michaelhkw/incubator-impala,cloudera/Impala,cloudera/Impala,michaelhkw/incubator-impala