Hi Denis
What would make an ignite node a client node? The code is invoked via an
ignite service deployed on each node and I am not setting the client mode
anywhere. The code sets the jdbc connection to local and tries to execute a
sql code on the node in some interval. By the way, I didn't know one could
deploy a service on client nodes. Do I need to explicitly mark a node as a
server node when deploying a service?
thanks

On Thu, Oct 22, 2020 at 9:42 PM Denis Magda <[email protected]> wrote:

> The error message says you're attempting to run the query on a client
> node. If that's the case (if the service is deployed on the client node),
> then the local flag has no effect because client nodes don't keep your data
> locally but rather consume it from servers.
>
> -
> Denis
>
>
> On Thu, Oct 22, 2020 at 6:26 PM narges saleh <[email protected]> wrote:
>
>> Hi All,
>> I am trying to execute a sql query via a JDBC  connection on the service
>> node (the query is run via a service), but I am getting *Execution of
>> local SqlFieldsQuery on client node disallowed.*
>> *The JDBC connection has the option local=true as I want to run the query
>> on the data on the local node only.*
>> *Any idea why I am getting this error?*
>>
>> *thanks.*
>>
>

Reply via email to