[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2014-11-01 Thread qiaohaijun (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14193053#comment-14193053
 ] 

qiaohaijun commented on HIVE-4172:
--

+1

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Fix For: 0.12.0
>
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-06-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690748#comment-13690748
 ] 

Hudson commented on HIVE-4172:
--

Integrated in Hive-trunk-hadoop2 #251 (See 
[https://builds.apache.org/job/Hive-trunk-hadoop2/251/])
HIVE-4172 : JDBC2 does not support VOID type (Navis via Ashutosh Chauhan) 
(Revision 1495273)

 Result = ABORTED
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1495273
Files : 
* /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveBaseResultSet.java
* /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveResultSetMetaData.java
* /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java
* /hive/trunk/jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedValueList.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyFactory.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyVoid.java
* /hive/trunk/service/if/TCLIService.thrift
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_types.h
* 
/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
* 
/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
* /hive/trunk/service/src/gen/thrift/gen-py/TCLIService/constants.py
* /hive/trunk/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
* /hive/trunk/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
* /hive/trunk/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
* /hive/trunk/service/src/java/org/apache/hive/service/cli/ColumnValue.java
* /hive/trunk/service/src/java/org/apache/hive/service/cli/Row.java
* /hive/trunk/service/src/java/org/apache/hive/service/cli/Type.java


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Fix For: 0.12.0
>
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-06-21 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690338#comment-13690338
 ] 

Hudson commented on HIVE-4172:
--

Integrated in Hive-trunk-h0.21 #2160 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/2160/])
HIVE-4172 : JDBC2 does not support VOID type (Navis via Ashutosh Chauhan) 
(Revision 1495273)

 Result = FAILURE
hashutosh : 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1495273
Files : 
* /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveBaseResultSet.java
* /hive/trunk/jdbc/src/java/org/apache/hive/jdbc/HiveResultSetMetaData.java
* /hive/trunk/jdbc/src/test/org/apache/hadoop/hive/jdbc/TestJdbcDriver.java
* /hive/trunk/jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedValueList.java
* 
/hive/trunk/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyFactory.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyVoid.java
* /hive/trunk/service/if/TCLIService.thrift
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_constants.cpp
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_types.cpp
* /hive/trunk/service/src/gen/thrift/gen-cpp/TCLIService_types.h
* 
/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TCLIServiceConstants.java
* 
/hive/trunk/service/src/gen/thrift/gen-javabean/org/apache/hive/service/cli/thrift/TTypeId.java
* /hive/trunk/service/src/gen/thrift/gen-py/TCLIService/constants.py
* /hive/trunk/service/src/gen/thrift/gen-py/TCLIService/ttypes.py
* /hive/trunk/service/src/gen/thrift/gen-rb/t_c_l_i_service_constants.rb
* /hive/trunk/service/src/gen/thrift/gen-rb/t_c_l_i_service_types.rb
* /hive/trunk/service/src/java/org/apache/hive/service/cli/ColumnValue.java
* /hive/trunk/service/src/java/org/apache/hive/service/cli/Row.java
* /hive/trunk/service/src/java/org/apache/hive/service/cli/Type.java


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Fix For: 0.12.0
>
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-06-20 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689357#comment-13689357
 ] 

Phabricator commented on HIVE-4172:
---

ashutoshc has accepted the revision "HIVE-4172 [jira] JDBC2 does not support 
VOID type".

  +1

REVISION DETAIL
  https://reviews.facebook.net/D9555

BRANCH
  HIVE-4172

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-06-20 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689075#comment-13689075
 ] 

Phabricator commented on HIVE-4172:
---

navis has commented on the revision "HIVE-4172 [jira] JDBC2 does not support 
VOID type".

INLINE COMMENTS
  jdbc/src/java/org/apache/hive/jdbc/HiveResultSetMetaData.java:119 It's 
constant value in serdeConstants, which cannot be changed.
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyVoid.java:23 There is 
LazyBinaryVoid, already. Shouldn't it be conform?
  service/src/java/org/apache/hive/service/cli/Type.java:30 Again, it's 
constant in serdeConstant.

REVISION DETAIL
  https://reviews.facebook.net/D9555

BRANCH
  HIVE-4172

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-06-19 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688295#comment-13688295
 ] 

Phabricator commented on HIVE-4172:
---

ashutoshc has requested changes to the revision "HIVE-4172 [jira] JDBC2 does 
not support VOID type".

  Few more places for changing void to null.

INLINE COMMENTS
  jdbc/src/java/org/apache/hive/jdbc/HiveResultSetMetaData.java:119 Shouldn't 
this be "null" ?
  serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyVoid.java:23 Shall we 
call this class LazyNull ?
  service/src/java/org/apache/hive/service/cli/Type.java:30 Shall we call this 
"NULL" ?

REVISION DETAIL
  https://reviews.facebook.net/D9555

BRANCH
  HIVE-4172

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Affects Versions: 0.11.0
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch, HIVE-4172.D9555.4.patch, HIVE-4172.D9555.5.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-04-07 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625174#comment-13625174
 ] 

Prasad Mujumdar commented on HIVE-4172:
---

[~navis] HiveServer thrift code was generated using 0.9.

[~ashutoshc] are you referring to the hive_service/* files ? I guess those 
should be excluded from the patch since they are not generated by 
TCLIService.thrift

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-04-07 Thread Navis (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625080#comment-13625080
 ] 

Navis commented on HIVE-4172:
-

Yes, I've seen HIVE-4300 and thought something is wrong in my system cause I 
don't know anything on thrift or other languages(Was hiveserver2 built on other 
version of thrift?).

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-04-07 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624945#comment-13624945
 ] 

Ashutosh Chauhan commented on HIVE-4172:


There are unrelated diffs in generated thrift code. [~navis] you are likely 
hitting into HIVE-4300 Would you like to take a look at that one first?

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch, 
> HIVE-4172.D9555.3.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-04-06 Thread Ashutosh Chauhan (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624498#comment-13624498
 ] 

Ashutosh Chauhan commented on HIVE-4172:


Sorry..patch has gone stale. Can you rebase it.

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-04-06 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13624496#comment-13624496
 ] 

Phabricator commented on HIVE-4172:
---

ashutoshc has accepted the revision "HIVE-4172 [jira] JDBC2 does not support 
VOID type".

  +1 will commit if tests pass.

REVISION DETAIL
  https://reviews.facebook.net/D9555

BRANCH
  HIVE-4172

ARCANIST PROJECT
  hive

To: JIRA, ashutoshc, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-23 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611776#comment-13611776
 ] 

Prasad Mujumdar commented on HIVE-4172:
---

Thanks for addressing the comments!

+1 (non-binding)


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch, HIVE-4172.D9555.2.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-23 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611654#comment-13611654
 ] 

Phabricator commented on HIVE-4172:
---

navis has commented on the revision "HIVE-4172 [jira] JDBC2 does not support 
VOID type".

INLINE COMMENTS
  jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java:815 Yes. it would 
have been better if fixed like this(same code with test in TestJDBCDriver)
  service/src/java/org/apache/hive/service/cli/Type.java:129 Just for sure. 
Exception would be better (IllegalArguementException?)

REVISION DETAIL
  https://reviews.facebook.net/D9555

To: JIRA, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-22 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611276#comment-13611276
 ] 

Prasad Mujumdar commented on HIVE-4172:
---

[~navis] I added a couple of minor comments on review request.
Overall looks good to me.


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-22 Thread Phabricator (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13611275#comment-13611275
 ] 

Phabricator commented on HIVE-4172:
---

prasadm has commented on the revision "HIVE-4172 [jira] JDBC2 does not support 
VOID type".

  +1 (non-binding)
  Overall the patch look fine. The change in 
TestJdbcDriver2:testDescribeTable() is already fixed on trunk.

INLINE COMMENTS
  jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java:815 This is already 
fixed as HIVE-4188
  service/src/java/org/apache/hive/service/cli/Type.java:129 Now that the patch 
adds a VOID type  and name for user defined type fixed, do we still need this 
check ?

REVISION DETAIL
  https://reviews.facebook.net/D9555

To: JIRA, navis
Cc: prasadm


> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
> Attachments: HIVE-4172.D9555.1.patch
>
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-17 Thread Navis (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13604837#comment-13604837
 ] 

Navis commented on HIVE-4172:
-

I've been using patched version and it's working well. Code review is pended 
cause there is some thrift version issue related to 
https://issues.apache.org/jira/browse/THRIFT-1757.

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2, JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>  Labels: HiveServer2
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (HIVE-4172) JDBC2 does not support VOID type

2013-03-14 Thread Prasad Mujumdar (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-4172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602330#comment-13602330
 ] 

Prasad Mujumdar commented on HIVE-4172:
---

I guess the NullPointerException is due to null type name in the Type enum, but 
then HiveServer2 needs to handle VOID type.
[~navis] Please feel free to assign it to me if you are not planning work on 
this.

> JDBC2 does not support VOID type
> 
>
> Key: HIVE-4172
> URL: https://issues.apache.org/jira/browse/HIVE-4172
> Project: Hive
>  Issue Type: Improvement
>  Components: JDBC
>Reporter: Navis
>Assignee: Navis
>Priority: Minor
>
> In beeline, "select key, null from src" fails with exception,
> {noformat}
> org.apache.hive.service.cli.HiveSQLException: Error running query: 
> java.lang.NullPointerException
>   at 
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:112)
>   at 
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:166)
>   at 
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:148)
>   at 
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:183)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1133)
>   at 
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1118)
>   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>   at 
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:39)
>   at 
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>   at java.lang.Thread.run(Thread.java:662)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira