spark-instrumented-optimizer/common
Sean Owen 1840852841 [SPARK-13823][CORE][STREAMING][SQL] Always specify Charset in String <-> byte[] conversions (and remaining Coverity items)
## What changes were proposed in this pull request?

- Fixes calls to `new String(byte[])` or `String.getBytes()` that rely on platform default encoding, to use UTF-8
- Same for `InputStreamReader` and `OutputStreamWriter` constructors
- Standardizes on UTF-8 everywhere
- Standardizes specifying the encoding with `StandardCharsets.UTF-8`, not the Guava constant or "UTF-8" (which means handling `UnuspportedEncodingException`)
- (also addresses the other remaining Coverity scan issues, which are pretty trivial; these are separated into commit 1deecd8d9c )

## How was this patch tested?

Jenkins tests

Author: Sean Owen <sowen@cloudera.com>

Closes #11657 from srowen/SPARK-13823.
2016-03-13 21:03:49 -07:00
..
network-common [SPARK-13823][CORE][STREAMING][SQL] Always specify Charset in String <-> byte[] conversions (and remaining Coverity items) 2016-03-13 21:03:49 -07:00
network-shuffle [SPARK-13823][CORE][STREAMING][SQL] Always specify Charset in String <-> byte[] conversions (and remaining Coverity items) 2016-03-13 21:03:49 -07:00
network-yarn [SPARK-13529][BUILD] Move network/* modules into common/network-* 2016-02-28 17:25:07 -08:00
sketch [MINOR][SQL] Fix modifier order. 2016-02-26 17:11:19 +00:00
tags [SPARK-13548][BUILD] Move tags and unsafe modules into common 2016-03-01 15:39:13 -08:00
unsafe [SPARK-13823][CORE][STREAMING][SQL] Always specify Charset in String <-> byte[] conversions (and remaining Coverity items) 2016-03-13 21:03:49 -07:00