You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Vuk Ercegovac (JIRA)" <ji...@apache.org> on 2018/09/17 15:50:00 UTC

[jira] [Created] (IMPALA-7579) TestObservability.test_query_profile_contains_all_events fails for S3 tests

Vuk Ercegovac created IMPALA-7579:
-------------------------------------

             Summary: TestObservability.test_query_profile_contains_all_events fails for S3 tests
                 Key: IMPALA-7579
                 URL: https://issues.apache.org/jira/browse/IMPALA-7579
             Project: IMPALA
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: Impala 3.1.0
            Reporter: Vuk Ercegovac
            Assignee: Andrew Sherman


For S3 tests, the test introduced in [https://gerrit.cloudera.org/#/c/11387/] fails with:
{noformat}
query_test/test_observability.py:225: in test_query_profile_contains_all_events
    self.hdfs_client.delete_file_dir(path)
util/hdfs_util.py:90: in delete_file_dir
    if not self.exists(path):
util/hdfs_util.py:138: in exists
    self.get_file_dir_status(path)
util/hdfs_util.py:102: in get_file_dir_status
    return super(PyWebHdfsClientWithChmod, self).get_file_dir_status(path)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/pywebhdfs/webhdfs.py:335: in get_file_dir_status
    response = requests.get(uri, allow_redirects=True)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/requests/api.py:69: in get
    return request('get', url, params=params, **kwargs)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/requests/api.py:50: in request
    response = session.request(method=method, url=url, **kwargs)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/requests/sessions.py:465: in request
    resp = self.send(prep, **send_kwargs)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/requests/sessions.py:573: in send
    r = adapter.send(request, **kwargs)
/data/jenkins/workspace/impala-asf-master-core-s3/repos/Impala/infra/python/env/lib/python2.7/site-packages/requests/adapters.py:415: in send
    raise ConnectionError(err, request=request)
E   ConnectionError: ('Connection aborted.', error(111, 'Connection refused')){noformat}
The dir delete might want to be guarded by an "if exists". The failure cases may differ between hdfs and s3, which is probably what this test ran into.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)