thanks for sharing, my case is diffrent from yours, i have set hive.server2.enable.doAs into false in hive-site.xml, then that 101 error code disappeared.
2014-04-24 9:26 GMT+08:00 Madhu <ma...@madhu.com>: > I have seen a similar error message when connecting to Hive through JDBC. > This is just a guess on my part, but check your query. The error occurs if > you have a select that includes a null literal with an alias like this: > > select a, b, null as c, d from foo > > In my case, rewriting the query to use an empty string or other literal > instead of null worked: > > select a, b, '' as c, d from foo > > I think the problem is the lack of type information when supplying a null > literal. > > > > -- > View this message in context: > http://apache-spark-developers-list.1001551.n3.nabble.com/get-101-error-code-when-running-select-query-tp6377p6382.html > Sent from the Apache Spark Developers List mailing list archive at > Nabble.com. >