mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-10771: Add Tencent COS support
This patch adds support for COS(Cloud Object Storage). Using the hadoop-cos, the implementation is similar to other remote FileSystems. New flags for COS: - num_cos_io_threads: Number of COS I/O threads. Defaults to be 16. Follow-up: - Support for caching COS file handles will be addressed in IMPALA-10772. - test_concurrent_inserts and test_failing_inserts in test_acid_stress.py are skipped due to slow file listing on COS (IMPALA-10773). Tests: - Upload hdfs test data to a COS bucket. Modify all locations in HMS DB to point to the COS bucket. Remove some hdfs caching params. Run CORE tests. Change-Id: Idce135a7591d1b4c74425e365525be3086a39821 Reviewed-on: http://gerrit.cloudera.org:8080/17503 Reviewed-by: Joe McDonnell <joemcdonnell@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
This commit is contained in:
@@ -26,7 +26,7 @@ import subprocess
|
||||
from tests.beeswax.impala_beeswax import ImpalaBeeswaxException
|
||||
from tests.common.impala_test_suite import ImpalaTestSuite
|
||||
from tests.common.skip import (SkipIf, SkipIfS3, SkipIfABFS, SkipIfADLS, SkipIfGCS,
|
||||
SkipIfLocal)
|
||||
SkipIfCOS, SkipIfLocal)
|
||||
from tests.common.test_dimensions import create_exec_option_dimension
|
||||
|
||||
class TestDataErrors(ImpalaTestSuite):
|
||||
@@ -108,6 +108,7 @@ class TestHdfsUnknownErrors(ImpalaTestSuite):
|
||||
|
||||
@SkipIfS3.qualified_path
|
||||
@SkipIfGCS.qualified_path
|
||||
@SkipIfCOS.qualified_path
|
||||
@SkipIfABFS.qualified_path
|
||||
@SkipIfADLS.qualified_path
|
||||
class TestHdfsScanNodeErrors(TestDataErrors):
|
||||
@@ -128,6 +129,7 @@ class TestHdfsScanNodeErrors(TestDataErrors):
|
||||
|
||||
@SkipIfS3.qualified_path
|
||||
@SkipIfGCS.qualified_path
|
||||
@SkipIfCOS.qualified_path
|
||||
@SkipIfABFS.qualified_path
|
||||
@SkipIfADLS.qualified_path
|
||||
@SkipIfLocal.qualified_path
|
||||
@@ -145,6 +147,7 @@ class TestHdfsSeqScanNodeErrors(TestHdfsScanNodeErrors):
|
||||
|
||||
@SkipIfS3.qualified_path
|
||||
@SkipIfGCS.qualified_path
|
||||
@SkipIfCOS.qualified_path
|
||||
@SkipIfABFS.qualified_path
|
||||
@SkipIfADLS.qualified_path
|
||||
class TestHdfsRcFileScanNodeErrors(TestHdfsScanNodeErrors):
|
||||
|
||||
Reference in New Issue
Block a user