Fang-Yu Rao created IMPALA-13162:
------------------------------------

             Summary: test_load_data and test_drop_partition_encrypt could fail 
because Hadoop kms could be not connected
                 Key: IMPALA-13162
                 URL: https://issues.apache.org/jira/browse/IMPALA-13162
             Project: IMPALA
          Issue Type: Bug
            Reporter: Fang-Yu Rao
            Assignee: Fang-Yu Rao


We found that 
[test_load_data()|https://github.com/apache/impala/blob/master/tests/metadata/test_hdfs_encryption.py#L110]
 and 
[test_drop_partition_encrypt()|https://github.com/apache/impala/blob/master/tests/metadata/test_hdfs_encryption.py#L148]
 could fail due to the Hadoop KMS server not being able to be connected. It 
does not occur very often but it's good to create a ticket to keep track of 
this.

+*Error Message*+
{code:java}
AssertionError: Error executing hdfs crypto:  Picked up JAVA_TOOL_OPTIONS:  
-javaagent:/data/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/target/dependency/jamm-0.4.0.jar
   RemoteException: Failed to connect to: 
http://localhost:9600/kms/v1/key/testkey1/_metadata    assert 2 == 0
{code}
+*Stacktrace*+
{code:java}
/data/jenkins/workspace/impala-asf-master-core/repos/Impala/tests/metadata/test_hdfs_encryption.py:124:
 in test_load_data
    assert rc == 0, 'Error executing hdfs crypto: %s %s' % (stdout, stderr)
E   AssertionError: Error executing hdfs crypto:  Picked up JAVA_TOOL_OPTIONS:  
-javaagent:/data/jenkins/workspace/impala-asf-master-core/repos/Impala/fe/target/dependency/jamm-0.4.0.jar
E     RemoteException: Failed to connect to: 
http://localhost:9600/kms/v1/key/testkey1/_metadata
E     
E   assert 2 == 0
{code}



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

Reply via email to