[jira] [Updated] (HIVE-6978) beeline always exits with 0 status, should exit with non-zero status on error

2014-08-31 Thread Ashutosh Chauhan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-6978:
---
   Resolution: Fixed
Fix Version/s: 0.14.0
   Status: Resolved  (was: Patch Available)

Committed to trunk. Thanks, Navis!

 beeline always exits with 0 status, should exit with non-zero status on error
 -

 Key: HIVE-6978
 URL: https://issues.apache.org/jira/browse/HIVE-6978
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Affects Versions: 0.12.0
Reporter: Gwen Shapira
Assignee: Navis
 Fix For: 0.14.0

 Attachments: HIVE-6978.1.patch.txt


 Was supposed to be fixed in Hive 0.12 (HIVE-4364). Doesn't look fixed from 
 here.
 [i@p sqoop]$ beeline -u 'jdbc:hive2://p:1/k;principal=hive/p@L' -e 
 select * from MEMBERS --outputformat=vertical
 scan complete in 3ms
 Connecting to jdbc:hive2://p:1/k;principal=hive/p@L
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/avro/avro-tools-1.7.5-cdh5.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
 explanation.
 SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 Connected to: Apache Hive (version 0.12.0-cdh5.0.0)
 Driver: Hive JDBC (version 0.12.0-cdh5.0.0)
 Transaction isolation: TRANSACTION_REPEATABLE_READ
 -hiveconf (No such file or directory)
 hive.aux.jars.path=[redacted]
 Error: Error while compiling statement: FAILED: SemanticException [Error 
 10001]: Line 1:14 Table not found 'MEMBERS' (state=42S02,code=10001)
 Beeline version 0.12.0-cdh5.0.0 by Apache Hive
 Closing: org.apache.hive.jdbc.HiveConnection
 [inter@p sqoop]$ echo $?
 0



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


[jira] [Updated] (HIVE-6978) beeline always exits with 0 status, should exit with non-zero status on error

2014-07-24 Thread Navis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Navis updated HIVE-6978:


Attachment: HIVE-6978.1.patch.txt

 beeline always exits with 0 status, should exit with non-zero status on error
 -

 Key: HIVE-6978
 URL: https://issues.apache.org/jira/browse/HIVE-6978
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Affects Versions: 0.12.0
Reporter: Gwen Shapira
 Attachments: HIVE-6978.1.patch.txt


 Was supposed to be fixed in Hive 0.12 (HIVE-4364). Doesn't look fixed from 
 here.
 [i@p sqoop]$ beeline -u 'jdbc:hive2://p:1/k;principal=hive/p@L' -e 
 select * from MEMBERS --outputformat=vertical
 scan complete in 3ms
 Connecting to jdbc:hive2://p:1/k;principal=hive/p@L
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/avro/avro-tools-1.7.5-cdh5.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
 explanation.
 SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 Connected to: Apache Hive (version 0.12.0-cdh5.0.0)
 Driver: Hive JDBC (version 0.12.0-cdh5.0.0)
 Transaction isolation: TRANSACTION_REPEATABLE_READ
 -hiveconf (No such file or directory)
 hive.aux.jars.path=[redacted]
 Error: Error while compiling statement: FAILED: SemanticException [Error 
 10001]: Line 1:14 Table not found 'MEMBERS' (state=42S02,code=10001)
 Beeline version 0.12.0-cdh5.0.0 by Apache Hive
 Closing: org.apache.hive.jdbc.HiveConnection
 [inter@p sqoop]$ echo $?
 0



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (HIVE-6978) beeline always exits with 0 status, should exit with non-zero status on error

2014-07-24 Thread Navis (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-6978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Navis updated HIVE-6978:


Assignee: Navis
  Status: Patch Available  (was: Open)

 beeline always exits with 0 status, should exit with non-zero status on error
 -

 Key: HIVE-6978
 URL: https://issues.apache.org/jira/browse/HIVE-6978
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Affects Versions: 0.12.0
Reporter: Gwen Shapira
Assignee: Navis
 Attachments: HIVE-6978.1.patch.txt


 Was supposed to be fixed in Hive 0.12 (HIVE-4364). Doesn't look fixed from 
 here.
 [i@p sqoop]$ beeline -u 'jdbc:hive2://p:1/k;principal=hive/p@L' -e 
 select * from MEMBERS --outputformat=vertical
 scan complete in 3ms
 Connecting to jdbc:hive2://p:1/k;principal=hive/p@L
 SLF4J: Class path contains multiple SLF4J bindings.
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/zookeeper/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: Found binding in 
 [jar:file:/opt/cloudera/parcels/CDH-5.0.0-1.cdh5.0.0.p0.47/lib/avro/avro-tools-1.7.5-cdh5.0.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
 SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an 
 explanation.
 SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
 Connected to: Apache Hive (version 0.12.0-cdh5.0.0)
 Driver: Hive JDBC (version 0.12.0-cdh5.0.0)
 Transaction isolation: TRANSACTION_REPEATABLE_READ
 -hiveconf (No such file or directory)
 hive.aux.jars.path=[redacted]
 Error: Error while compiling statement: FAILED: SemanticException [Error 
 10001]: Line 1:14 Table not found 'MEMBERS' (state=42S02,code=10001)
 Beeline version 0.12.0-cdh5.0.0 by Apache Hive
 Closing: org.apache.hive.jdbc.HiveConnection
 [inter@p sqoop]$ echo $?
 0



--
This message was sent by Atlassian JIRA
(v6.2#6252)