[jira] [Updated] (HIVE-3058) hive.transform.escape.input breaks tab delimited data

2012-05-27 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-3058:
-

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed. Thanks Kevin

 hive.transform.escape.input breaks tab delimited data
 -

 Key: HIVE-3058
 URL: https://issues.apache.org/jira/browse/HIVE-3058
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Attachments: HIVE-3058.1.patch.txt


 With the hive.transform.escape.input set, all tabs going into a script, 
 including those used to separate columns are escaped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (HIVE-2540) LATERAL VIEW with EXPLODE produces ConcurrentModificationException

2012-05-27 Thread Namit Jain (JIRA)

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

Namit Jain resolved HIVE-2540.
--

  Resolution: Fixed
Hadoop Flags: Reviewed

Committed. Thanks Navis

 LATERAL VIEW with EXPLODE produces ConcurrentModificationException
 --

 Key: HIVE-2540
 URL: https://issues.apache.org/jira/browse/HIVE-2540
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.7.1, 0.9.0
Reporter: David Phillips
Assignee: Navis
 Attachments: HIVE-2540.D2805.1.patch, HIVE-2540.D2805.2.patch, 
 HIVE-2540.D2805.3.patch


 The following produces {{ConcurrentModificationException}} on the {{for}} 
 loop inside EXPLODE:
 {code}
 create table foo as select array(1, 2) a from src limit 1;
 select a, x.b from foo lateral view explode(a) x as b;
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Build failed in Jenkins: Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false #29

2012-05-27 Thread Apache Jenkins Server
See 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/

--
[...truncated 10107 lines...]
 [echo] Project: odbc
 [copy] Warning: 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/odbc/src/conf
 does not exist.

ivy-resolve-test:
 [echo] Project: odbc

ivy-retrieve-test:
 [echo] Project: odbc

compile-test:
 [echo] Project: odbc

create-dirs:
 [echo] Project: serde
 [copy] Warning: 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/serde/src/test/resources
 does not exist.

init:
 [echo] Project: serde

ivy-init-settings:
 [echo] Project: serde

ivy-resolve:
 [echo] Project: serde
[ivy:resolve] :: loading settings :: file = 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/ivy/ivysettings.xml
[ivy:report] Processing 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/resolution-cache/org.apache.hive-hive-serde-default.xml
 to 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/report/org.apache.hive-hive-serde-default.html

ivy-retrieve:
 [echo] Project: serde

dynamic-serde:

compile:
 [echo] Project: serde

ivy-resolve-test:
 [echo] Project: serde

ivy-retrieve-test:
 [echo] Project: serde

compile-test:
 [echo] Project: serde
[javac] Compiling 26 source files to 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/serde/test/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

create-dirs:
 [echo] Project: service
 [copy] Warning: 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/service/src/test/resources
 does not exist.

init:
 [echo] Project: service

ivy-init-settings:
 [echo] Project: service

ivy-resolve:
 [echo] Project: service
[ivy:resolve] :: loading settings :: file = 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/ivy/ivysettings.xml
[ivy:report] Processing 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/resolution-cache/org.apache.hive-hive-service-default.xml
 to 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/report/org.apache.hive-hive-service-default.html

ivy-retrieve:
 [echo] Project: service

compile:
 [echo] Project: service

ivy-resolve-test:
 [echo] Project: service

ivy-retrieve-test:
 [echo] Project: service

compile-test:
 [echo] Project: service
[javac] Compiling 2 source files to 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/service/test/classes

test:
 [echo] Project: hive

test-shims:
 [echo] Project: hive

test-conditions:
 [echo] Project: shims

gen-test:
 [echo] Project: shims

create-dirs:
 [echo] Project: shims
 [copy] Warning: 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/shims/src/test/resources
 does not exist.

init:
 [echo] Project: shims

ivy-init-settings:
 [echo] Project: shims

ivy-resolve:
 [echo] Project: shims
[ivy:resolve] :: loading settings :: file = 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/ivy/ivysettings.xml
[ivy:report] Processing 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/resolution-cache/org.apache.hive-hive-shims-default.xml
 to 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/ivy/report/org.apache.hive-hive-shims-default.html

ivy-retrieve:
 [echo] Project: shims

compile:
 [echo] Project: shims
 [echo] Building shims 0.20

build_shims:
 [echo] Project: shims
 [echo] Compiling 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/shims/src/common/java;/home/jenkins/jenkins-slave/workspace/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/hive/shims/src/0.20/java
 against hadoop 0.20.2 
(https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/29/artifact/hive/build/hadoopcore/hadoop-0.20.2)

ivy-init-settings:
 [echo] Project: shims

ivy-resolve-hadoop-shim:
 [echo] Project: shims
[ivy:resolve] :: loading settings :: file = 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/ws/hive/ivy/ivysettings.xml

ivy-retrieve-hadoop-shim:
 [echo] Project: shims
 [echo] Building shims 0.20S

build_shims:
 [echo] Project: shims
 [echo] Compiling 

[jira] [Commented] (HIVE-3053) Hive stopped working when new updates were installed

2012-05-27 Thread Vikas Deshpande (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284198#comment-13284198
 ] 

Vikas Deshpande commented on HIVE-3053:
---

Hi Edward,

Thanks for the response. The problem was actually that the patch took longer 
than normal to update on all the nodes of the cluster and hence was not working 
fine. It works now though it still shows hive-log4j.properties not found.

Thanks,
Vikas

 Hive stopped working when new updates were installed
 

 Key: HIVE-3053
 URL: https://issues.apache.org/jira/browse/HIVE-3053
 Project: Hive
  Issue Type: Bug
  Components: Configuration
Affects Versions: 0.7.1
 Environment: Hadoop on Ubuntu 10 LTS; Hive 0.7.1
Reporter: Vikas Deshpande
  Labels: hadoop, patch

 After a recent update (using only cloudera's patches/releases), the hive 
 command and hive prompt stopped working. It throws these (java) errors 
 instead:
 log4j:ERROR Could not find value for key log4j.appender.NullAppender
 log4j:ERROR Could not instantiate appender named NullAppender.
 hive-log4j.properties not found
 Hive history file=/location/job_id.txt
 12/05/25 09:56:56 INFO exec.HiveHistory: Hive history 
 file=/location/job_id.txt
 I am not sure how to proceed with root cause. Could somebody please check on 
 this as soon as possible?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-3058) hive.transform.escape.input breaks tab delimited data

2012-05-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284201#comment-13284201
 ] 

Hudson commented on HIVE-3058:
--

Integrated in Hive-trunk-h0.21 #1452 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1452/])
HIVE-3058 hive.transform.escape.input breaks tab delimited data
(Kevin Wilfong via namit) (Revision 1343033)

 Result = FAILURE
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1343033
Files : 
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/HiveUtils.java
* /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
* /hive/trunk/ql/src/test/queries/clientpositive/newline.q
* /hive/trunk/ql/src/test/results/clientpositive/newline.q.out


 hive.transform.escape.input breaks tab delimited data
 -

 Key: HIVE-3058
 URL: https://issues.apache.org/jira/browse/HIVE-3058
 Project: Hive
  Issue Type: Bug
Reporter: Kevin Wilfong
Assignee: Kevin Wilfong
 Attachments: HIVE-3058.1.patch.txt


 With the hive.transform.escape.input set, all tabs going into a script, 
 including those used to separate columns are escaped.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Hive-trunk-h0.21 - Build # 1452 - Failure

2012-05-27 Thread Apache Jenkins Server
Changes for Build #1452
[namit] HIVE-3058 hive.transform.escape.input breaks tab delimited data
(Kevin Wilfong via namit)




1 tests failed.
REGRESSION:  
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1

Error Message:
Unexpected exception See build/ql/tmp/hive.log, or try ant test ... 
-Dtest.silent=false to get more logs.

Stack Trace:
junit.framework.AssertionFailedError: Unexpected exception
See build/ql/tmp/hive.log, or try ant test ... -Dtest.silent=false to get 
more logs.
at junit.framework.Assert.fail(Assert.java:50)
at 
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_script_broken_pipe1(TestNegativeCliDriver.java:10596)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)




The Apache Jenkins build system has built Hive-trunk-h0.21 (build #1452)

Status: Failure

Check console output at https://builds.apache.org/job/Hive-trunk-h0.21/1452/ to 
view the results.

[jira] [Resolved] (HIVE-3053) Hive stopped working when new updates were installed

2012-05-27 Thread Edward Capriolo (JIRA)

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

Edward Capriolo resolved HIVE-3053.
---

Resolution: Invalid

 Hive stopped working when new updates were installed
 

 Key: HIVE-3053
 URL: https://issues.apache.org/jira/browse/HIVE-3053
 Project: Hive
  Issue Type: Bug
  Components: Configuration
Affects Versions: 0.7.1
 Environment: Hadoop on Ubuntu 10 LTS; Hive 0.7.1
Reporter: Vikas Deshpande
  Labels: hadoop, patch

 After a recent update (using only cloudera's patches/releases), the hive 
 command and hive prompt stopped working. It throws these (java) errors 
 instead:
 log4j:ERROR Could not find value for key log4j.appender.NullAppender
 log4j:ERROR Could not instantiate appender named NullAppender.
 hive-log4j.properties not found
 Hive history file=/location/job_id.txt
 12/05/25 09:56:56 INFO exec.HiveHistory: Hive history 
 file=/location/job_id.txt
 I am not sure how to proceed with root cause. Could somebody please check on 
 this as soon as possible?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Build failed in Jenkins: Hive-0.9.1-SNAPSHOT-h0.21 #29

2012-05-27 Thread Apache Jenkins Server
See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/29/

--
[...truncated 36481 lines...]
[junit] POSTHOOK: query: select count(1) as cnt from testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2012-05-27_15-52-14_447_997091441146852779/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/29/artifact/hive/build/service/tmp/hive_job_log_hudson_201205271552_474019747.txt
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] Copying file: 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/ws/hive/data/files/kv1.txt
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: load data local inpath 
'https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/ws/hive/data/files/kv1.txt'
 into table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] Copying data from 
https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/ws/hive/data/files/kv1.txt
[junit] Loading data to table default.testhivedrivertable
[junit] POSTHOOK: query: load data local inpath 
'https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/ws/hive/data/files/kv1.txt'
 into table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: select * from testhivedrivertable limit 10
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2012-05-27_15-52-18_809_7222391568671088575/-mr-1
[junit] POSTHOOK: query: select * from testhivedrivertable limit 10
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2012-05-27_15-52-18_809_7222391568671088575/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/29/artifact/hive/build/service/tmp/hive_job_log_hudson_201205271552_1647068310.txt
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testhivedrivertable (num int)
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: create table testhivedrivertable (num int)
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivedrivertable
[junit] PREHOOK: Output: default@testhivedrivertable
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivedrivertable
[junit] POSTHOOK: Output: default@testhivedrivertable
[junit] OK
[junit] Hive history 
file=https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/29/artifact/hive/build/service/tmp/hive_job_log_hudson_201205271552_2122561943.txt
[junit] Hive history 
file=https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/29/artifact/hive/build/service/tmp/hive_job_log_hudson_201205271552_1566148364.txt
[junit] PREHOOK: query: drop table testhivedrivertable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testhivedrivertable
[junit] POSTHOOK: type: 

Hive-trunk-h0.21 - Build # 1453 - Fixed

2012-05-27 Thread Apache Jenkins Server
Changes for Build #1452
[namit] HIVE-3058 hive.transform.escape.input breaks tab delimited data
(Kevin Wilfong via namit)


Changes for Build #1453
[namit] HIVE-2540 LATERAL VIEW with EXPLODE produces 
ConcurrentModificationException
(Navis via namit)




All tests passed

The Apache Jenkins build system has built Hive-trunk-h0.21 (build #1453)

Status: Fixed

Check console output at https://builds.apache.org/job/Hive-trunk-h0.21/1453/ to 
view the results.

[jira] [Commented] (HIVE-2540) LATERAL VIEW with EXPLODE produces ConcurrentModificationException

2012-05-27 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284255#comment-13284255
 ] 

Hudson commented on HIVE-2540:
--

Integrated in Hive-trunk-h0.21 #1453 (See 
[https://builds.apache.org/job/Hive-trunk-h0.21/1453/])
HIVE-2540 LATERAL VIEW with EXPLODE produces ConcurrentModificationException
(Navis via namit) (Revision 1343036)

 Result = SUCCESS
namit : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVNview=revrev=1343036
Files : 
* /hive/trunk/ql/src/test/queries/clientpositive/udf_explode.q
* /hive/trunk/ql/src/test/queries/clientpositive/udtf_explode.q
* /hive/trunk/ql/src/test/results/clientpositive/udf_explode.q.out
* /hive/trunk/ql/src/test/results/clientpositive/udtf_explode.q.out
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyArray.java
* /hive/trunk/serde/src/java/org/apache/hadoop/hive/serde2/lazy/LazyMap.java


 LATERAL VIEW with EXPLODE produces ConcurrentModificationException
 --

 Key: HIVE-2540
 URL: https://issues.apache.org/jira/browse/HIVE-2540
 Project: Hive
  Issue Type: Bug
  Components: Query Processor
Affects Versions: 0.7.1, 0.9.0
Reporter: David Phillips
Assignee: Navis
 Attachments: HIVE-2540.D2805.1.patch, HIVE-2540.D2805.2.patch, 
 HIVE-2540.D2805.3.patch


 The following produces {{ConcurrentModificationException}} on the {{for}} 
 loop inside EXPLODE:
 {code}
 create table foo as select array(1, 2) a from src limit 1;
 select a, x.b from foo lateral view explode(a) x as b;
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Namit Jain (JIRA)

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

Namit Jain reassigned HIVE-3059:


Assignee: Namit Jain

 revert HIVE-2703
 

 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Namit Jain (JIRA)
Namit Jain created HIVE-3059:


 Summary: revert HIVE-2703
 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284274#comment-13284274
 ] 

Namit Jain commented on HIVE-3059:
--

This is creating a problem for non-string partition columns

 revert HIVE-2703
 

 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-3059:
-

Status: Patch Available  (was: Open)

 revert HIVE-2703
 

 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3059.1.patch




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Kevin Wilfong (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284276#comment-13284276
 ] 

Kevin Wilfong commented on HIVE-3059:
-

+1 The patch looks good.  Thanks for adding the additional test case.

We should reopen HIVE-2703 as well.

 revert HIVE-2703
 

 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3059.1.patch




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-2703) ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type

2012-05-27 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-2703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284277#comment-13284277
 ] 

Namit Jain commented on HIVE-2703:
--

Re-opening.

See https://issues.apache.org/jira/browse/HIVE-3059 for details.

 ResultSetMetaData.getColumnType() always returns VARCHAR(string) for 
 partition columns irrespective of partition column type
 

 Key: HIVE-2703
 URL: https://issues.apache.org/jira/browse/HIVE-2703
 Project: Hive
  Issue Type: Bug
  Components: JDBC
Affects Versions: 0.8.0
Reporter: Mythili Gopalakrishnan
Assignee: tamtam180
Priority: Critical
 Attachments: HIVE-2703.D2829.1.patch


 ResultSetMetaData.getColumnType() always returns VARCHAR(string) as column 
 type, no matter what the column type is for the partition column.
 However DatabaseMetadata.getColumnType() returns correct type. 
 Create a table with a partition column having a type other than string, you 
 will see that ResultSet.getColumnType() always returns string as the type for 
 int or boolean or float columns...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-3059) revert HIVE-2703

2012-05-27 Thread Namit Jain (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284278#comment-13284278
 ] 

Namit Jain commented on HIVE-3059:
--

done

 revert HIVE-2703
 

 Key: HIVE-3059
 URL: https://issues.apache.org/jira/browse/HIVE-3059
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Namit Jain
 Attachments: hive.3059.1.patch




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2703) ResultSetMetaData.getColumnType() always returns VARCHAR(string) for partition columns irrespective of partition column type

2012-05-27 Thread Namit Jain (JIRA)

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

Namit Jain updated HIVE-2703:
-

Status: Open  (was: Patch Available)

 ResultSetMetaData.getColumnType() always returns VARCHAR(string) for 
 partition columns irrespective of partition column type
 

 Key: HIVE-2703
 URL: https://issues.apache.org/jira/browse/HIVE-2703
 Project: Hive
  Issue Type: Bug
  Components: JDBC
Affects Versions: 0.8.0
Reporter: Mythili Gopalakrishnan
Assignee: tamtam180
Priority: Critical
 Attachments: HIVE-2703.D2829.1.patch


 ResultSetMetaData.getColumnType() always returns VARCHAR(string) as column 
 type, no matter what the column type is for the partition column.
 However DatabaseMetadata.getColumnType() returns correct type. 
 Create a table with a partition column having a type other than string, you 
 will see that ResultSet.getColumnType() always returns string as the type for 
 int or boolean or float columns...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




Is hive-0.9.0 is compatible with hadoo-2.0.0..?

2012-05-27 Thread rohithsharma
Hi All,

  Can I run Hive-0.9.0 with hadoop-2.0.0..? 

 

Regards

Rohith Sharma K S



[jira] [Created] (HIVE-3060) ClassNotFoundError while executing the getClusterStatus API

2012-05-27 Thread Kristam Subba Swathi (JIRA)
Kristam Subba Swathi created HIVE-3060:
--

 Summary: ClassNotFoundError while executing the getClusterStatus 
API
 Key: HIVE-3060
 URL: https://issues.apache.org/jira/browse/HIVE-3060
 Project: Hive
  Issue Type: Bug
  Components: Shims
Affects Versions: 0.9.0
Reporter: Kristam Subba Swathi


Please find the exception trace

{noformat}
Exception in thread pool-1-thread-3 java.lang.NoClassDefFoundError: 
org/apache/hadoop/mapred/JobTracker$State
at 
org.apache.hadoop.hive.shims.Hadoop20SShims$2.clinit(Hadoop20SShims.java:35)
at 
org.apache.hadoop.hive.shims.Hadoop20SShims.getJobTrackerState(Hadoop20SShims.java:35)
at 
org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.getClusterStatus(HiveServer.java:244)
at 
org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:749)
at 
org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:737)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
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)
Caused by: java.lang.ClassNotFoundException: 
org.apache.hadoop.mapred.JobTracker$State
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

{noformat}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (HIVE-3060) ClassNotFoundError while executing the getClusterStatus API

2012-05-27 Thread rohithsharma (JIRA)

[ 
https://issues.apache.org/jira/browse/HIVE-3060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13284296#comment-13284296
 ] 

rohithsharma commented on HIVE-3060:


This exception is thrown when Hive-0.9.0 is deployed with Hadoop-X.0.0 where X 
 0. 

Reason for above exception,
Hive loads 0.20,0.20S and 0.23 version of hadoopshims. We get hadoop 
version from classpath VersionInfo.getVersion() is 2.0.0-SNAPSHOT. But 
returning 0.20S if X  0. 

Correct me If I am wrong,
As hadoop-0.23 name is same as hadoop-2.0.0, hive should support for 
hadoop-2.0.0. i.e we need to add haddop shims for hadoop-2.0.0.

 ClassNotFoundError while executing the getClusterStatus API
 ---

 Key: HIVE-3060
 URL: https://issues.apache.org/jira/browse/HIVE-3060
 Project: Hive
  Issue Type: Bug
  Components: Shims
Affects Versions: 0.9.0
Reporter: Kristam Subba Swathi

 Please find the exception trace
 
 {noformat}
 Exception in thread pool-1-thread-3 java.lang.NoClassDefFoundError: 
 org/apache/hadoop/mapred/JobTracker$State
   at 
 org.apache.hadoop.hive.shims.Hadoop20SShims$2.clinit(Hadoop20SShims.java:35)
   at 
 org.apache.hadoop.hive.shims.Hadoop20SShims.getJobTrackerState(Hadoop20SShims.java:35)
   at 
 org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.getClusterStatus(HiveServer.java:244)
   at 
 org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:749)
   at 
 org.apache.hadoop.hive.service.ThriftHive$Processor$getClusterStatus.getResult(ThriftHive.java:737)
   at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
   at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
   at 
 org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
   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)
 Caused by: java.lang.ClassNotFoundException: 
 org.apache.hadoop.mapred.JobTracker$State
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira