bugfix for HIVE-2942: substr on string containing UTF-8 characters
produces StringIndexOutOfBoundsException

see issue: https://github.com/dianping/cosmos-hive/issues/24
Merge pull request #5 from zhuguangbin/cosmos-hadoop-0.9.0

bugfix for HIVE-2942: substr on string containing UTF-8 characters produces StringIndexOutOfBoundsException