hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1650195 - /hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/
Date Wed, 07 Jan 2015 22:57:07 GMT
Author: brock
Date: Wed Jan  7 22:57:07 2015
New Revision: 1650195

URL: http://svn.apache.org/r1650195
Log:
HIVE-9283 - Improve encryption related test cases (Dong Chen via Brock)

Modified:
    hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
    hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_with_different_encryption_keys.q
    hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_load_data_to_encrypted_tables.q
    hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
    hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q?rev=1650195&r1=1650194&r2=1650195&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
(original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_unencrypted_tbl.q
Wed Jan  7 22:57:07 2015
@@ -1,9 +1,9 @@
 --SORT_QUERY_RESULTS
 
 DROP TABLE IF EXISTS encrypted_table;
-CREATE TABLE encrypted_table (key INT, value STRING) LOCATION '/user/hive/warehouse/default/encrypted_table';
+CREATE TABLE encrypted_table (key INT, value STRING) LOCATION '/build/ql/test/data/warehouse/default/encrypted_table';
 CRYPTO CREATE_KEY --keyName key_128 --bitLength 128;
-CRYPTO CREATE_ZONE --keyName key_128 --path /user/hive/warehouse/default/encrypted_table;
+CRYPTO CREATE_ZONE --keyName key_128 --path /build/ql/test/data/warehouse/default/encrypted_table;
 
 INSERT OVERWRITE TABLE encrypted_table SELECT * FROM src;
 

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_with_different_encryption_keys.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_with_different_encryption_keys.q?rev=1650195&r1=1650194&r2=1650195&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_with_different_encryption_keys.q
(original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_join_with_different_encryption_keys.q
Wed Jan  7 22:57:07 2015
@@ -2,14 +2,14 @@
 
 -- Java JCE must be installed in order to hava a key length of 256 bits
 DROP TABLE IF EXISTS table_key_1;
-CREATE TABLE table_key_1 (key INT, value STRING) LOCATION '/user/hive/warehouse/table_key_1';
+CREATE TABLE table_key_1 (key INT, value STRING) LOCATION '/build/ql/test/data/warehouse/table_key_1';
 CRYPTO CREATE_KEY --keyName key_1 --bitLength 128;
-CRYPTO CREATE_ZONE --keyName key_1 --path /user/hive/warehouse/table_key_1;
+CRYPTO CREATE_ZONE --keyName key_1 --path /build/ql/test/data/warehouse/table_key_1;
 
 DROP TABLE IF EXISTS table_key_2;
-CREATE TABLE table_key_2 (key INT, value STRING) LOCATION '/user/hive/warehouse/table_key_2';
+CREATE TABLE table_key_2 (key INT, value STRING) LOCATION '/build/ql/test/data/warehouse/table_key_2';
 CRYPTO CREATE_KEY --keyName key_2 --bitLength 256;
-CRYPTO CREATE_ZONE --keyName key_2 --path /user/hive/warehouse/table_key_2;
+CRYPTO CREATE_ZONE --keyName key_2 --path /build/ql/test/data/warehouse/table_key_2;
 
 INSERT OVERWRITE TABLE table_key_1 SELECT * FROM src;
 INSERT OVERWRITE TABLE table_key_2 SELECT * FROM src;

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_load_data_to_encrypted_tables.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_load_data_to_encrypted_tables.q?rev=1650195&r1=1650194&r2=1650195&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_load_data_to_encrypted_tables.q
(original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_load_data_to_encrypted_tables.q
Wed Jan  7 22:57:07 2015
@@ -1,9 +1,9 @@
 DROP TABLE IF EXISTS encrypted_table;
 
-CREATE TABLE encrypted_table (key STRING, value STRING) LOCATION '/user/hive/warehouse/encrypted_table';
+CREATE TABLE encrypted_table (key STRING, value STRING) LOCATION '/build/ql/test/data/warehouse/encrypted_table';
 
 crypto create_key --keyName key1;
-crypto create_zone --keyName key1 --path /user/hive/warehouse/encrypted_table;
+crypto create_zone --keyName key1 --path /build/ql/test/data/warehouse/encrypted_table;
 
 -- Test loading data from the local filesystem;
 LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' OVERWRITE INTO TABLE encrypted_table;

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q?rev=1650195&r1=1650194&r2=1650195&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
(original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_encrypted_tbl.q
Wed Jan  7 22:57:07 2015
@@ -1,14 +1,14 @@
 -- SORT_QUERY_RESULTS
 
 DROP TABLE IF EXISTS encrypted_table;
-CREATE TABLE encrypted_table (key INT, value STRING) LOCATION '/user/hive/warehouse/default/encrypted_table';
+CREATE TABLE encrypted_table (key INT, value STRING) LOCATION '/build/ql/test/data/warehouse/default/encrypted_table';
 
 CRYPTO CREATE_KEY --keyName key_128 --bitLength 128;
-CRYPTO CREATE_ZONE --keyName key_128 --path /user/hive/warehouse/default/encrypted_table;
+CRYPTO CREATE_ZONE --keyName key_128 --path /build/ql/test/data/warehouse/default/encrypted_table;
 
 LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' INTO TABLE encrypted_table;
 
-dfs -chmod -R 555 /user/hive/warehouse/default/encrypted_table;
+dfs -chmod -R 555 /build/ql/test/data/warehouse/default/encrypted_table;
 
 SELECT count(*) FROM encrypted_table;
 

Modified: hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q
URL: http://svn.apache.org/viewvc/hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q?rev=1650195&r1=1650194&r2=1650195&view=diff
==============================================================================
--- hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q
(original)
+++ hive/branches/HIVE-8065/ql/src/test/queries/clientpositive/encryption_select_read_only_unencrypted_tbl.q
Wed Jan  7 22:57:07 2015
@@ -1,11 +1,11 @@
 -- SORT_QUERY_RESULTS
 
 DROP TABLE IF EXISTS unencrypted_table;
-CREATE TABLE unencrypted_table(key INT, value STRING) LOCATION '/user/hive/warehouse/default/unencrypted_table';
+CREATE TABLE unencrypted_table(key INT, value STRING) LOCATION '/build/ql/test/data/warehouse/default/unencrypted_table';
 
 LOAD DATA LOCAL INPATH '../../data/files/kv1.txt' INTO TABLE unencrypted_table;
 
-dfs -chmod -R 555 /user/hive/warehouse/default/unencrypted_table;
+dfs -chmod -R 555 /build/ql/test/data/warehouse/default/unencrypted_table;
 
 SELECT count(*) FROM unencrypted_table;
 



Mime
View raw message