[
https://issues.apache.org/jira/browse/IMPALA-13817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932743#comment-17932743
]
ASF subversion and git services commented on IMPALA-13817:
----------------------------------------------------------
Commit 28686165d089bef85c76fce31ac1135e508b1cb2 in impala's branch
refs/heads/master from Abhishek Rawat
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=28686165d ]
IMPALA-13817: Impala fails to start if 'ai_endpoint' and
'ai_additional_platforms' are not set in the right order
The 'ai_endpoint' flag has a validator which depends on
'ai_additional_platforms'. This could result in failure if the
'ai_additional_platforms' is not set before 'ai_endpoint' in the
flagfile.
This patch simplifies the validator for 'ai_endpoint' flag and moves
the supported platforms check to ExecEnv::Init.
Testing:
- Added unit tests for 'is_api_endpoint_supported' function.
Change-Id: I16480564ce434513ab73b531c03e1d229dac2dd6
Reviewed-on: http://gerrit.cloudera.org:8080/22567
Reviewed-by: Yida Wu <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Impala fails to start if 'ai_additional_platforms' is not set before
> 'ai_endpoint'
> ----------------------------------------------------------------------------------
>
> Key: IMPALA-13817
> URL: https://issues.apache.org/jira/browse/IMPALA-13817
> Project: IMPALA
> Issue Type: Bug
> Reporter: Abhishek Rawat
> Priority: Critical
>
> 'ai_endpoint' flag has a validator function which also depends on
> 'ai_additional_platforms'. As a result the order of setting these flags in
> the flag file matter and since the order of flags in the flag file cannot be
> always guaranteed this could result in Impala failing to start up. Ideally,
> the validation function should not depend on two flags.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]