title: Difference between String.getBytes() and Bytes.toBytes(String data)
body: <p>I'm writing a Hadoop/HBase job. I needed to transform a Java <code>String</code> into a byte array. Is there any differences between Java's <code>String.getBytes()</code> and Hadoop's <code>Bytes.toBytes()</code>?</p>