You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Taras Bobrovytsky (JIRA)" <ji...@apache.org> on 2017/04/17 20:22:41 UTC
[jira] [Created] (IMPALA-5215) Isilon build fails due to lack of
permission to access
Taras Bobrovytsky created IMPALA-5215:
-----------------------------------------
Summary: Isilon build fails due to lack of permission to access
Key: IMPALA-5215
URL: https://issues.apache.org/jira/browse/IMPALA-5215
Project: IMPALA
Issue Type: Bug
Components: Infrastructure
Affects Versions: Impala 2.8.0
Reporter: Taras Bobrovytsky
Priority: Blocker
The following failure happens intermittently and has happened 2 times so far. This type of error happened when executing a different test each time.
{code}
authorization/test_grant_revoke.py .
../../Impala-auxiliary-tests/tests/aux_custom_cluster_tests/test_ldap.py xxxxx
generated xml file: /data/jenkins/workspace/impala-umbrella-build-and-test-isilon/repos/Impala/logs/custom_cluster_tests/results/TEST-impala-custom-cluster.xml
=================================== FAILURES ===================================
_______ TestInsertBehaviourCustomCluster.test_insert_inherit_permission ________
self = <test_insert_behaviour.TestInsertBehaviourCustomCluster object at 0x7f7c90018f50>
@SkipIfLocal.hdfs_client
@SkipIfLocal.root_path
@pytest.mark.execute_serially
@CustomClusterTestSuite.with_args("--insert_inherit_permissions=true")
def test_insert_inherit_permission(self):
"""Create a table with three partition columns to test permission inheritance"""
client = self._get_impala_client()
try:
> self.hdfs_client.chmod("test-warehouse/%s/p1=1/" % TEST_TBL, "777")
custom_cluster/test_insert_behaviour.py:86:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
util/hdfs_util.py:59: in chmod
_raise_pywebhdfs_exception(response.status_code, response.text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
resp_code = 403
message = '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don\'t have permission to access /v1/html/500Text.html
on this server.</p>
</body></html>
'
def _raise_pywebhdfs_exception(resp_code, message=None):
if resp_code == http_client.BAD_REQUEST:
raise errors.BadRequest(msg=message)
elif resp_code == http_client.UNAUTHORIZED:
raise errors.Unauthorized(msg=message)
elif resp_code == http_client.NOT_FOUND:
raise errors.FileNotFound(msg=message)
elif resp_code == http_client.METHOD_NOT_ALLOWED:
raise errors.MethodNotAllowed(msg=message)
else:
> raise errors.PyWebHdfsException(msg=message)
E PyWebHdfsException: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
E <html><head>
E <title>403 Forbidden</title>
E </head><body>
E <h1>Forbidden</h1>
E <p>You don't have permission to access /v1/html/500Text.html
E on this server.</p>
E </body></html>
../infra/python/env/lib/python2.6/site-packages/pywebhdfs/webhdfs.py:477: PyWebHdfsException
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)