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

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

Commit 2a19acf73453220374e93b292b847a3dcf1fb2a5 in impala's branch 
refs/heads/master from Anshula Jain
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=2a19acf73 ]

IMPALA-11938: Raised error if NUM_NODES is set to invalid value.

If NUM_NODES is set to a value other than 0 or 1 below error is raised
ERROR: Invalid value for query option NUM_NODES: <value> is not in range [0, 1]

Change-Id: Ib283ae350875a7ac217490c216a26281f1bb4812
Reviewed-on: http://gerrit.cloudera.org:8080/21147
Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Raise error when NUM_NODES is set to a value other than 0 or 1
> --------------------------------------------------------------
>
>                 Key: IMPALA-11938
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11938
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Anshula Jain
>            Priority: Major
>              Labels: newbie, ramp-up
>
> Since IMPALA-4746 is not implemented there is basically two modes of Impala 
> to execute queries:
> * NUM_NODES = 0
> ** create a distributed plan and execute the query on as many executors as 
> possible
> * NUM_NODES = 1
> ** create a single node plan and execute the query on the coordinator
> But currently users can specify any value to NUM_NODES, e.g. 42, but the 
> behavior they get would correspond to the NUM_NODES = 0 case (distributed 
> mode).
> Impala should raise an error when NUM_NODES is set to other value than 0 or 1 
> so users won't have wrong assumptions.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to