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

László Bodor updated HIVE-26615:
--------------------------------
    Description: 
https://github.com/apache/hive/blob/eb860203fcdc126788e62e932b40a5f3ff944458/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java#L255-L261

we set it to MR and then check if it's tez, which is already confusing
{code}
        setClusterType(MiniClusterType.MR);
        setFsType(QTestMiniClusters.FsType.ENCRYPTED_HDFS); // override default 
FsType.HDFS
        if (getClusterType() == MiniClusterType.TEZ) {
          setHiveConfDir("data/conf/tez");
        } else {
          setHiveConfDir("data/conf");
        }
{code}

testing with:
{code}
mvn test -Dtest.output.overwrite=true -Pitests,iceberg -Denforcer.skip=true -pl 
itests/qtest -pl itests/util -Dtest=TestEncryptedHDFSCliDriver 
-Dqfile=encryption_join_with_different_encryption_keys.q,encryption_select_read_only_encrypted_tbl.q,encryption_ctas.q,encryption_drop_partition.q,encryption_drop_table.q,encryption_drop_table_in_encrypted_db.q,encryption_insert_partition_static.q,encryption_join_unencrypted_tbl.q
{code}

  was:
https://github.com/apache/hive/blob/eb860203fcdc126788e62e932b40a5f3ff944458/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java#L255-L261

we set it to MR and then check if it's tez, which is already confusing
{code}
        setClusterType(MiniClusterType.MR);
        setFsType(QTestMiniClusters.FsType.ENCRYPTED_HDFS); // override default 
FsType.HDFS
        if (getClusterType() == MiniClusterType.TEZ) {
          setHiveConfDir("data/conf/tez");
        } else {
          setHiveConfDir("data/conf");
        }
{code}


> TestEncryptedHDFSCliDriver to use Tez
> -------------------------------------
>
>                 Key: HIVE-26615
>                 URL: https://issues.apache.org/jira/browse/HIVE-26615
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Bodor
>            Assignee: László Bodor
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: 
> org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver-output.txt
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> https://github.com/apache/hive/blob/eb860203fcdc126788e62e932b40a5f3ff944458/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java#L255-L261
> we set it to MR and then check if it's tez, which is already confusing
> {code}
>         setClusterType(MiniClusterType.MR);
>         setFsType(QTestMiniClusters.FsType.ENCRYPTED_HDFS); // override 
> default FsType.HDFS
>         if (getClusterType() == MiniClusterType.TEZ) {
>           setHiveConfDir("data/conf/tez");
>         } else {
>           setHiveConfDir("data/conf");
>         }
> {code}
> testing with:
> {code}
> mvn test -Dtest.output.overwrite=true -Pitests,iceberg -Denforcer.skip=true 
> -pl itests/qtest -pl itests/util -Dtest=TestEncryptedHDFSCliDriver 
> -Dqfile=encryption_join_with_different_encryption_keys.q,encryption_select_read_only_encrypted_tbl.q,encryption_ctas.q,encryption_drop_partition.q,encryption_drop_table.q,encryption_drop_table_in_encrypted_db.q,encryption_insert_partition_static.q,encryption_join_unencrypted_tbl.q
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to