[NO ISSUE][EXT] Set Azure request timeout
authorAli Alsuliman <ali.al.solaiman@gmail.com>
Tue, 1 Mar 2022 17:45:40 +0000 (20:45 +0300)
committerAli Alsuliman <ali.al.solaiman@gmail.com>
Tue, 1 Mar 2022 17:49:51 +0000 (17:49 +0000)
commit6ddbbfa3c567c3af2132f0f4dcee5253011c6934
tree40198e78a4f9caee290ccc6c12b0f58db7489f16
parent55ef99bd07404389c9a6ccf089b6a4a6a33fc552
[NO ISSUE][EXT] Set Azure request timeout

- user model changes: no
- storage format changes: no
- interface changes: no

Details:
- add azure_request_timeout configurable property
- default timeout to 120 seconds
- catch exceptions from external input stream and
  wrap in a RuntimeDataException to avoid halt due
  to non-serializable exceptions from external sources

Change-Id: Iebf988384b0bc5d6ae7688c65747227dbde062b1
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/15483
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Tested-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
13 files changed:
asterixdb/asterix-app/src/main/java/org/apache/asterix/app/translator/QueryTranslator.java
asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1/cluster_state_1.1.regexadm
asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_full/cluster_state_1_full.1.regexadm
asterixdb/asterix-app/src/test/resources/runtimets/results/api/cluster_state_1_less/cluster_state_1_less.1.regexadm
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/config/ExternalProperties.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/blob/AzureBlobInputStream.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/blob/AzureBlobInputStreamFactory.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/datalake/AzureDataLakeInputStream.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/datalake/AzureDataLakeInputStreamFactory.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/parquet/AzureBlobParquetReaderFactory.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/record/reader/azure/parquet/AzureDataLakeParquetReaderFactory.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/input/stream/AbstractMultipleInputStream.java
asterixdb/asterix-external-data/src/main/java/org/apache/asterix/external/util/ExternalDataUtils.java