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

2011-01-15 Thread Apache Hudson Server
See 

--
[...truncated 24515 lines...]
[junit] PREHOOK: Input: default@testhivejdbcdriverview
[junit] PREHOOK: Output: default@testhivejdbcdriverview
[junit] POSTHOOK: query: drop view testHiveJdbcDriverView
[junit] POSTHOOK: type: DROPVIEW
[junit] POSTHOOK: Input: default@testhivejdbcdriverview
[junit] POSTHOOK: Output: default@testhivejdbcdriverview
[junit] OK
[junit] PREHOOK: query: create view testHiveJdbcDriverView comment 'Simple 
view' as select * from testHiveJdbcDriverTable
[junit] PREHOOK: type: CREATEVIEW
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-01-15_11-10-48_869_4770481205834447959/-mr-1
[junit] POSTHOOK: query: create view testHiveJdbcDriverView comment 'Simple 
view' as select * from testHiveJdbcDriverTable
[junit] POSTHOOK: type: CREATEVIEW
[junit] POSTHOOK: Output: default@testHiveJdbcDriverView
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-01-15_11-10-48_869_4770481205834447959/-mr-1
[junit] OK
[junit] PREHOOK: query: select c1, c2, c3, c4, c5 as a, c6, c7, c8, c9, 
c10, c11, c12, c1*2, sentences(null, null, null) as b from testDataTypeTable 
limit 1
[junit] PREHOOK: type: QUERY
[junit] PREHOOK: Input: default@testdatatypetable@dt=20090619
[junit] PREHOOK: Output: 
file:/tmp/hudson/hive_2011-01-15_11-10-48_898_8335693208673389672/-mr-1
[junit] Total MapReduce jobs = 1
[junit] Launching Job 1 out of 1
[junit] Number of reduce tasks is set to 0 since there's no reduce operator
[junit] Job running in-process (local Hadoop)
[junit] 2011-01-15 11:10:51,726 null map = 100%,  reduce = 0%
[junit] Ended Job = job_local_0001
[junit] POSTHOOK: query: select c1, c2, c3, c4, c5 as a, c6, c7, c8, c9, 
c10, c11, c12, c1*2, sentences(null, null, null) as b from testDataTypeTable 
limit 1
[junit] POSTHOOK: type: QUERY
[junit] POSTHOOK: Input: default@testdatatypetable@dt=20090619
[junit] POSTHOOK: Output: 
file:/tmp/hudson/hive_2011-01-15_11-10-48_898_8335693208673389672/-mr-1
[junit] OK
[junit] PREHOOK: query: drop table testHiveJdbcDriverTable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivejdbcdrivertable
[junit] PREHOOK: Output: default@testhivejdbcdrivertable
[junit] POSTHOOK: query: drop table testHiveJdbcDriverTable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivejdbcdrivertable
[junit] POSTHOOK: Output: default@testhivejdbcdrivertable
[junit] OK
[junit] PREHOOK: query: drop table testHiveJdbcDriverPartitionedTable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testhivejdbcdriverpartitionedtable
[junit] PREHOOK: Output: default@testhivejdbcdriverpartitionedtable
[junit] POSTHOOK: query: drop table testHiveJdbcDriverPartitionedTable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testhivejdbcdriverpartitionedtable
[junit] POSTHOOK: Output: default@testhivejdbcdriverpartitionedtable
[junit] OK
[junit] PREHOOK: query: drop table testDataTypeTable
[junit] PREHOOK: type: DROPTABLE
[junit] PREHOOK: Input: default@testdatatypetable
[junit] PREHOOK: Output: default@testdatatypetable
[junit] POSTHOOK: query: drop table testDataTypeTable
[junit] POSTHOOK: type: DROPTABLE
[junit] POSTHOOK: Input: default@testdatatypetable
[junit] POSTHOOK: Output: default@testdatatypetable
[junit] OK
[junit] Hive history 
file=
[junit] Hive history 
file=
[junit] PREHOOK: query: drop table testHiveJdbcDriverTable
[junit] PREHOOK: type: DROPTABLE
[junit] POSTHOOK: query: drop table testHiveJdbcDriverTable
[junit] POSTHOOK: type: DROPTABLE
[junit] OK
[junit] PREHOOK: query: create table testHiveJdbcDriverTable (key int 
comment 'the key', value string) comment 'Simple table'
[junit] PREHOOK: type: CREATETABLE
[junit] POSTHOOK: query: create table testHiveJdbcDriverTable (key int 
comment 'the key', value string) comment 'Simple table'
[junit] POSTHOOK: type: CREATETABLE
[junit] POSTHOOK: Output: default@testHiveJdbcDriverTable
[junit] OK
[junit] PREHOOK: query: load data local inpath 
'
 into table testHiveJdbcDriverTable
[junit] PREHOOK: type: LOAD
[junit] Copying data from 

[junit] Loading data to table testhivejdbcdrivertable
[junit] POSTHOOK: query: load data local inpath 
'

[jira] Commented: (HIVE-1915) authorization on database level is broken.

2011-01-15 Thread He Yongqiang (JIRA)

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

He Yongqiang commented on HIVE-1915:


@Carl, this is the link to review board request: 
https://reviews.apache.org/r/327/

Please review.

> authorization on database level is broken.
> --
>
> Key: HIVE-1915
> URL: https://issues.apache.org/jira/browse/HIVE-1915
> Project: Hive
>  Issue Type: Bug
>  Components: Metastore, Security
>Reporter: He Yongqiang
>Assignee: He Yongqiang
> Attachments: HIVE-1915.1.patch
>
>
> CREATE DATABASE IF NOT EXISTS test_db COMMENT 'Hive test database';
> SHOW DATABASES;
> grant `drop` on DATABASE test_db to user hive_test_user;
> grant `select` on DATABASE test_db to user hive_test_user;
> show grant user hive_test_user on DATABASE test_db;
> DROP DATABASE IF EXISTS test_db;
> will fail.

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



[jira] Commented: (HIVE-1917) CTAS (create-table-as-select) throws exception when showing results

2011-01-15 Thread Namit Jain (JIRA)

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

Namit Jain commented on HIVE-1917:
--

+1

> CTAS (create-table-as-select) throws exception when showing results
> ---
>
> Key: HIVE-1917
> URL: https://issues.apache.org/jira/browse/HIVE-1917
> Project: Hive
>  Issue Type: Bug
>Reporter: Ning Zhang
>Assignee: Ning Zhang
> Attachments: HIVE-1917.patch
>
>
> CTAS throws an exception in CliDriver when showing results at the end of a 
> query. CTAS should not show results because it is not a 'select' query or 
> 'desc'/explain etc. It should be the same as create table/view/index and 
> insert overwrite statements. 

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