forcedotcom/phoenix — pull request #558 by preillyme (2013-11-15 10:03:50+00:00)
Title: fix for java.lang.NullPointerException

This is a fix for:
java.lang.NullPointerException
at java.io.StringReader.(StringReader.java:33)
at com.salesforce.phoenix.parse.SQLParser.(SQLParser.java:62)
at com.salesforce.phoenix.jdbc.PhoenixStatement$PhoenixStatementParser.(PhoenixStatement.java:926)
at com.salesforce.phoenix.jdbc.PhoenixStatement.parseStatement(PhoenixStatement.java:1003)
at com.salesforce.phoenix.jdbc.PhoenixPreparedStatement.(PhoenixPreparedStatement.java:84)
at com.salesforce.phoenix.jdbc.PhoenixConnection.prepareStatement(PhoenixConnection.java:403)
at com.salesforce.phoenix.map.reduce.MapReduceJob$PhoenixMapper.setup(MapReduceJob.java:98)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:363)
at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:396)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1232)
at org.apache.hadoop.mapred.Child.main(Child.java:249)