IMPALA-6109: xfail TestHdfsUnknownErrors::test_hdfs_safe_mode_error_255

The test puts the HDFS name node into safe mode to trigger an "Unknown
Error 255" and verifies that the error details can be obtained correctly
via the libHDFS API. However, putting the name node into safe mode can
trip up HBase (HBASE-18738), which causes sporadic failures of our other
HBase tests. To prevent this, we xfail the test until the HBase issue
has been addressed (or we find a better way to trigger a 255 error).
IMPALA-6212 tracks re-enabling the test in the future.

Change-Id: I55979bed07147409949b798d4beb7a3b3b7ec5c3
Reviewed-on: http://gerrit.cloudera.org:8080/8590
Reviewed-by: Sailesh Mukil <sailesh@cloudera.com>
Tested-by: Impala Public Jenkins
This commit is contained in:
Lars Volker
2017-11-17 15:24:22 -08:00
committed by Impala Public Jenkins
parent 1128e1a44f
commit 10334260d8

View File

@@ -71,6 +71,7 @@ class TestHdfsFileOpenFailErrors(ImpalaTestSuite):
class TestHdfsUnknownErrors(ImpalaTestSuite):
@pytest.mark.execute_serially
def test_hdfs_safe_mode_error_255(self, unique_database):
pytest.xfail("IMPALA-6109: Putting HDFS name node into safe mode trips up HBase")
create_stmt = "create table {0}.safe_mode_fail (x int)".format(unique_database)
insert_stmt = "insert into {0}.safe_mode_fail values (1)".format(unique_database)
self.execute_query_expect_success(self.client, create_stmt)