Below error might be encountered while querying data from HDFS environment
Error Stack:
============
<CausedBy> TIBCO-BW-CORE-500051: Activity [HiveQueryNameNode2] fault.
<CausedBy> com.tibco.bw.palette.hadoop.runtime.exception.HadoopException: Error Occurred: java.lang.IndexOutOfBoundsException: start 0, end 8192, s.length() 8191
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:512)
============
The issue is more likely caused by the Hive returned result set containing the unicode character that occupies 1 to 4 bytes which resulted in the error to store the bytes to the buffer array.