Build failed in Hudson: Hive-trunk-h0.20 #514

2011-01-28 Thread Apache Hudson Server
See https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/514/

--
[...truncated 7232 lines...]
create-dirs:

init:

compile:
 [echo] Compiling: anttasks
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ant/build.xml:40:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
 [echo] Compiling: anttasks
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ant/build.xml:40:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

jar:

init:

install-hadoopcore:

install-hadoopcore-default:

ivy-init-dirs:

ivy-download:
  [get] Getting: 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  [get] To: 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/build/ivy/lib/ivy-2.1.0.jar
  [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
:: loading settings :: file = 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: 
org.apache.hadoop.hive#contrib;work...@vesta.apache.org
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 736ms :: artifacts dl 0ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   1   |   0   |   0   |   0   ||   1   |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#contrib
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 1 already retrieved (0kB/1ms)

install-hadoopcore-internal:

setup:

compile:
 [echo] Compiling: hbase-handler
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/build-common.xml:283:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

jar:
 [echo] Jar: hbase-handler

test:

test-shims:

test-conditions:

gen-test:

create-dirs:

compile-ant-tasks:

create-dirs:

init:

compile:
 [echo] Compiling: anttasks
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ant/build.xml:40:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

deploy-ant-tasks:

create-dirs:

init:

compile:
 [echo] Compiling: anttasks
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ant/build.xml:40:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

jar:

init:

compile:

ivy-init-dirs:

ivy-download:
  [get] Getting: 
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
  [get] To: 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/build/ivy/lib/ivy-2.1.0.jar
  [get] Not modified - so not downloaded

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
:: loading settings :: file = 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/ivy/ivysettings.xml
[ivy:retrieve] :: resolving dependencies :: 
org.apache.hadoop.hive#shims;work...@vesta.apache.org
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  found hadoop#core;0.20.0 in hadoop-source
[ivy:retrieve]  found hadoop#core;0.20.3-CDH3-SNAPSHOT in hadoop-source
[ivy:retrieve] :: resolution report :: resolve 1962ms :: artifacts dl 1ms
-
|  |modules||   artifacts   |
|   conf   | number| search|dwnlded|evicted|| number|dwnlded|
-
|  default |   2   |   0   |   0   |   0   ||   2   |   0   |
-
[ivy:retrieve] :: retrieving :: org.apache.hadoop.hive#shims
[ivy:retrieve]  confs: [default]
[ivy:retrieve]  0 artifacts copied, 2 already retrieved (0kB/1ms)

install-hadoopcore-internal:

build_shims:
 [echo] Compiling shims against hadoop 0.20.0 
(https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/build/hadoopcore/hadoop-0.20.0)
[javac] 
https://hudson.apache.org/hudson/job/Hive-trunk-h0.20/ws/hive/shims/build.xml:53:
 warning: 'includeantruntime' was not set, defaulting to 
build.sysclasspath=last; set to false for repeatable builds

ivy-init-dirs:

ivy-download:
   

[jira] Updated: (HIVE-1346) Table column name changed to _col1,_col2 ..._coln when where clause used in the select quert statement

2011-01-28 Thread Arvind Prabhakar (JIRA)

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

Arvind Prabhakar updated HIVE-1346:
---

Status: Open  (was: Patch Available)

 Table column name changed to _col1,_col2 ..._coln when where clause used in 
 the select quert statement
 --

 Key: HIVE-1346
 URL: https://issues.apache.org/jira/browse/HIVE-1346
 Project: Hive
  Issue Type: Bug
  Components: Clients
Affects Versions: 0.6.0, 0.5.0
 Environment: ubuntu8.04, jdk-6,hive-0.5.0, hadoop-0.20.1
Reporter: Sunil Kumar
Assignee: Sunil Kumar
Priority: Minor
 Attachments: HIVE-1346-with-regenerated-outfiles.patch, 
 HIVE-1346_patch.patch, HIVE-1346_patch.patch, HIVE-1346_patch.patch


 when where clause used in the hive query hive -ResultSetMetaData  does not 
 give original table column name. While when where clause not used 
 ResultSetMetaData  gives original table column names. I have used following 
 code:-
 String tableName = user;
   String sql = select * from  + tableName +  where 
 id=1;
   result = stmt.executeQuery(sql);
   ResultSetMetaData metaData = result.getMetaData();
   int columnCount = metaData.getColumnCount();
   for (int i = 1; i = columnCount; i++) {
   System.out.println(Column name:  + 
 metaData.getColumnName(i));
   }
 executing above code i got following result:-
 Column name:_col1
 Column name:_col2
 while original user table columns names were (id,name).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Assigned: (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2011-01-28 Thread He Yongqiang (JIRA)

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

He Yongqiang reassigned HIVE-1935:
--

Assignee: He Yongqiang

 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2011-01-28 Thread He Yongqiang (JIRA)

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

He Yongqiang updated HIVE-1935:
---

Attachment: HIVE-1935.1.patch

There are basically 2 lines of change. Mostly are overwrite of test files.

 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2011-01-28 Thread He Yongqiang (JIRA)

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

He Yongqiang updated HIVE-1935:
---

Status: Patch Available  (was: Open)

 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Created: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Namit Jain (JIRA)
hive.semantic.analyzer.hook cannot have multiple values
---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0


It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2011-01-28 Thread He Yongqiang (JIRA)

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

He Yongqiang updated HIVE-1935:
---

Status: Open  (was: Patch Available)

 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1936:
---

That's what I'm planning to do. Do you have any better idea or concern?

 hive.semantic.analyzer.hook cannot have multiple values
 ---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0


 It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HIVE-1935) set hive.security.authorization.createtable.owner.grants to null by default

2011-01-28 Thread Carl Steinbach (JIRA)

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

Carl Steinbach commented on HIVE-1935:
--

This patch changes the default value of 
hive.security.authorization.createtable.owner.grants
from All to null, which means that by default users will not have the ability 
to access tables
that they have created, right?

If that's the case then I think you should really fix the underlying problem in 
HiveConf instead
of working around it by creating a default setting that virtually everyone will 
end up having
to reset in hive-site.xml


 set hive.security.authorization.createtable.owner.grants to null by default
 ---

 Key: HIVE-1935
 URL: https://issues.apache.org/jira/browse/HIVE-1935
 Project: Hive
  Issue Type: Bug
Reporter: He Yongqiang
Assignee: He Yongqiang
 Attachments: HIVE-1935.1.patch


 It seems an empty setting in hive-size.xml does not overwrite hive-default.xml

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Ashutosh Chauhan (JIRA)

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

Ashutosh Chauhan commented on HIVE-1936:


Not really. I was just wondering why would you want to do it in a series of 
hooks, rather then doing all of it in one hook, because it seems list must all 
always be complete and hooks in that list aren't going to be optional. 
Regardless of that, I had the similar requirement and what I had done was to 
have a top level hook, which keeps a list of hook with it and invokes an 
appropriate hook depending on the parse tree and context. Depending on what you 
are trying to achieve that may or may not work in your case. I can point you to 
code for it, in case you want to take a look.  

 hive.semantic.analyzer.hook cannot have multiple values
 ---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0


 It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Siying Dong (JIRA)

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

Siying Dong commented on HIVE-1936:
---

Ashutosh, your codes will be definitely helpful. But we anyway are not doing a 
complicated feature. If there is not real concern about it, we might just go 
ahead and implement it as always applying them one by one in the order.

 hive.semantic.analyzer.hook cannot have multiple values
 ---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0


 It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Review Request: HIVE-1235: use Ivy for fetching HBase dependencies

2011-01-28 Thread John Sichi

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/367/
---

Review request for hive.


Summary
---

review request from JVS


This addresses bug HIVE-1235.
https://issues.apache.org/jira/browse/HIVE-1235


Diffs
-

  http://svn.apache.org/repos/asf/hive/trunk/build-common.xml 1063501 
  http://svn.apache.org/repos/asf/hive/trunk/build.xml 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java
 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/hbase-handler/src/test/org/apache/hadoop/hive/hbase/HBaseTestSetup.java
 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/hbase-handler/src/test/queries/hbase_bulk.m
 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/hbase-handler/src/test/results/hbase_bulk.m.out
 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/hbase-handler/src/test/results/hbase_stats.q.out
 1063501 
  http://svn.apache.org/repos/asf/hive/trunk/ivy/ivysettings.xml 1063501 
  http://svn.apache.org/repos/asf/hive/trunk/ivy/libraries.properties 1063501 
  http://svn.apache.org/repos/asf/hive/trunk/lib/hbase-0.20.3-test.jar UNKNOWN 
  http://svn.apache.org/repos/asf/hive/trunk/lib/hbase-0.20.3.jar UNKNOWN 
  http://svn.apache.org/repos/asf/hive/trunk/lib/zookeeper-3.2.2.jar UNKNOWN 
  http://svn.apache.org/repos/asf/hive/trunk/ql/build.xml 1063501 
  http://svn.apache.org/repos/asf/hive/trunk/ql/ivy.xml 1063501 
  
http://svn.apache.org/repos/asf/hive/trunk/ql/src/test/org/apache/hadoop/hive/ql/QTestUtil.java
 1063501 

Diff: https://reviews.apache.org/r/367/diff


Testing
---


Thanks,

John



[jira] Updated: (HIVE-1235) use Ivy for fetching HBase dependencies

2011-01-28 Thread John Sichi (JIRA)

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

John Sichi updated HIVE-1235:
-

Fix Version/s: 0.7.0
   Status: Patch Available  (was: In Progress)

Review board:

https://reviews.apache.org/r/367/

Note this also makes the hbase-handler build non-conditional since we've 
dropped support for pre-0.20.


 use Ivy for fetching HBase dependencies
 ---

 Key: HIVE-1235
 URL: https://issues.apache.org/jira/browse/HIVE-1235
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Affects Versions: 0.6.0
Reporter: John Sichi
Assignee: John Sichi
 Fix For: 0.7.0

 Attachments: HIVE-1235.1.patch, HIVE-1235.2.patch


 For now I just checked in the .jars under hbase-handler/lib to avoid having 
 to pull down the huge tarballs.  If individual jars were available 
 (HBASE-1933), we could use Ivy to pull those.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (HIVE-1235) use Ivy for fetching HBase dependencies

2011-01-28 Thread John Sichi (JIRA)

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

John Sichi commented on HIVE-1235:
--

Would be nice to get this one in for 0.7.


 use Ivy for fetching HBase dependencies
 ---

 Key: HIVE-1235
 URL: https://issues.apache.org/jira/browse/HIVE-1235
 Project: Hive
  Issue Type: Improvement
  Components: HBase Handler
Affects Versions: 0.6.0
Reporter: John Sichi
Assignee: John Sichi
 Fix For: 0.7.0

 Attachments: HIVE-1235.1.patch, HIVE-1235.2.patch


 For now I just checked in the .jars under hbase-handler/lib to avoid having 
 to pull down the huge tarballs.  If individual jars were available 
 (HBASE-1933), we could use Ivy to pull those.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Siying Dong (JIRA)

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

Siying Dong updated HIVE-1936:
--

Attachment: HIVE-1936.1.patch

1. separate different semantic anlaysis hooks by commas
2. add unit tests to it
3. AbstractSemanticAnalyzerHook.preAnalyze() returns ASTNode object but caller 
doesn't consume it. It doesn't make sense to me. I fix by replacing tree by the 
returned value.

Still running test suites.

 hive.semantic.analyzer.hook cannot have multiple values
 ---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0

 Attachments: HIVE-1936.1.patch


 It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (HIVE-1936) hive.semantic.analyzer.hook cannot have multiple values

2011-01-28 Thread Siying Dong (JIRA)

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

Siying Dong updated HIVE-1936:
--

Status: Patch Available  (was: Open)

Still running test suites.

 hive.semantic.analyzer.hook cannot have multiple values
 ---

 Key: HIVE-1936
 URL: https://issues.apache.org/jira/browse/HIVE-1936
 Project: Hive
  Issue Type: Bug
Reporter: Namit Jain
Assignee: Siying Dong
 Fix For: 0.7.0

 Attachments: HIVE-1936.1.patch


 It should support comma separated values like hive pre/post execution hooks

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.