You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/10/03 04:35:00 UTC

[jira] [Commented] (IMPALA-8960) test_drop_if_exists fails on S3 due to incomplete URI

    [ https://issues.apache.org/jira/browse/IMPALA-8960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943327#comment-16943327 ] 

ASF subversion and git services commented on IMPALA-8960:
---------------------------------------------------------

Commit 88cc930a94c600a87c3fc034733a298a37df9bfc in impala's branch refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=88cc930 ]

IMPALA-8960: Fix test_owner_privileges::test_drop_if_exists on S3

hdfs:// URIs do not work on Impala's S3 tests. The fix is to drop
the hdfs:// part of the URI. Our tests run against the default
filesystem, so dropping the hdfs:// works on both HDFS test setups
and S3 test setups.

Testing:
 - Ran tests on S3
 - Ran test_owner_privileges.py on HDFS locally

Change-Id: Ibfe15ac2d5ba0d8a6d4383be8d01395c74d67332
Reviewed-on: http://gerrit.cloudera.org:8080/14334
Reviewed-by: Michael Ho <kw...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> test_drop_if_exists fails on S3 due to incomplete URI
> -----------------------------------------------------
>
>                 Key: IMPALA-8960
>                 URL: https://issues.apache.org/jira/browse/IMPALA-8960
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Joe McDonnell
>            Priority: Critical
>
> Error Message
> {noformat}
> ImpalaBeeswaxException: ImpalaBeeswaxException: INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'> MESSAGE: AnalysisException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.so CAUSED BY: IOException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.so{noformat}
> Stacktrace
> {noformat}
> Error Message
> ImpalaBeeswaxException: ImpalaBeeswaxException:  INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>  MESSAGE: AnalysisException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.so CAUSED BY: IOException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.soStacktrace
> authorization/test_owner_privileges.py:137: in test_drop_if_exists
>     self._setup_drop_if_exist_test(unique_database, test_db)
> authorization/test_owner_privileges.py:172: in _setup_drop_if_exist_test
>     self.execute_query("grant all on uri 'hdfs:///test-warehouse/libTestUdfs.so' to"
> common/impala_test_suite.py:751: in wrapper
>     return function(*args, **kwargs)
> common/impala_test_suite.py:782: in execute_query
>     return self.__execute_query(self.client, query, query_options)
> common/impala_test_suite.py:853: in __execute_query
>     return impalad_client.execute(query, user=user)
> common/impala_connection.py:205: in execute
>     return self.__beeswax_client.execute(sql_stmt, user=user)
> beeswax/impala_beeswax.py:187: in execute
>     handle = self.__execute_query(query_string.strip(), user=user)
> beeswax/impala_beeswax.py:362: in __execute_query
>     handle = self.execute_query_async(query_string, user=user)
> beeswax/impala_beeswax.py:356: in execute_query_async
>     handle = self.__do_rpc(lambda: self.imp_service.query(query,))
> beeswax/impala_beeswax.py:519: in __do_rpc
>     raise ImpalaBeeswaxException(self.__build_error_message(b), b)
> E   ImpalaBeeswaxException: ImpalaBeeswaxException:
> E    INNER EXCEPTION: <class 'beeswaxd.ttypes.BeeswaxException'>
> E    MESSAGE: AnalysisException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.so
> E   CAUSED BY: IOException: Incomplete HDFS URI, no host: hdfs:///test-warehouse/libTestUdfs.so{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org