Ignite-jdbc port

classic Classic list List threaded Threaded
6 messages Options
ishan-jain ishan-jain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Ignite-jdbc port

how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters
afedotov afedotov
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ignite-jdbc port

Hi.

Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]<config_url> or jdbc:ignite://<hostname>:<port>/<cache_name?

Kind regards,
Alex.

On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters


If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML

ishan-jain ishan-jain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ignite-jdbc port

Hostname:Port/Cache_name

Thanx,Anyways i found the solution. ignite.configuration().getConnectorConfiguration().setPort(11212);

On Thu, Jun 15, 2017 at 3:39 PM, afedotov <[hidden email]> wrote:
Hi.

Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]<config_url> or jdbc:ignite://<hostname>:<port>/<cache_name?

Kind regards,
Alex.

On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters


If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML



View this message in context: Re: Ignite-jdbc port

Sent from the Apache Ignite Users mailing list archive at Nabble.com.

ishan-jain ishan-jain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ignite-jdbc port

But is there a way to firectly set it in xml file?

On Thu, Jun 15, 2017 at 3:48 PM, Ishan Jain <[hidden email]> wrote:
Hostname:Port/Cache_name

Thanx,Anyways i found the solution. ignite.configuration().getConnectorConfiguration().setPort(11212);

On Thu, Jun 15, 2017 at 3:39 PM, afedotov <[hidden email]> wrote:
Hi.

Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]<config_url> or jdbc:ignite://<hostname>:<port>/<cache_name?

Kind regards,
Alex.

On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters


If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML



View this message in context: Re: Ignite-jdbc port

Sent from the Apache Ignite Users mailing list archive at Nabble.com.


afedotov afedotov
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ignite-jdbc port

Sure. Just use regular Spring beans configuration approach.

<bean class="org.apache.ignite.configuration.IgniteConfiguration">
...
<property name="connectorConfiguration">
<bean class="org.apache.ignite.configuration.ConnectorConfiguration">
<property name="port" value="11212"/>
</bean>
</property>


Kind regards,
Alex.

On Thu, Jun 15, 2017 at 1:18 PM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
But is there a way to firectly set it in xml file?

On Thu, Jun 15, 2017 at 3:48 PM, Ishan Jain <[hidden email]> wrote:
Hostname:Port/Cache_name

Thanx,Anyways i found the solution. ignite.configuration().getConnectorConfiguration().setPort(11212);

On Thu, Jun 15, 2017 at 3:39 PM, afedotov <[hidden email]> wrote:
Hi.

Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]<config_url> or jdbc:ignite://<hostname>:<port>/<cache_name?

Kind regards,
Alex.

On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters


If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML



View this message in context: Re: Ignite-jdbc port

Sent from the Apache Ignite Users mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807p13815.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML

ishan-jain ishan-jain
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Ignite-jdbc port

Thanks :)

On Thu, Jun 15, 2017 at 3:56 PM, afedotov <[hidden email]> wrote:
Sure. Just use regular Spring beans configuration approach.

<bean class="org.apache.ignite.configuration.IgniteConfiguration">
...
<property name="connectorConfiguration">
<bean class="org.apache.ignite.configuration.ConnectorConfiguration">
<property name="port" value="11212"/>
</bean>
</property>


Kind regards,
Alex.

On Thu, Jun 15, 2017 at 1:18 PM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
But is there a way to firectly set it in xml file?

On Thu, Jun 15, 2017 at 3:48 PM, Ishan Jain <[hidden email]> wrote:
Hostname:Port/Cache_name

Thanx,Anyways i found the solution. ignite.configuration().getConnectorConfiguration().setPort(11212);

On Thu, Jun 15, 2017 at 3:39 PM, afedotov <[hidden email]> wrote:
Hi.

Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]<config_url> or jdbc:ignite://<hostname>:<port>/<cache_name?

Kind regards,
Alex.

On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] <[hidden email]> wrote:
how can i set my jdbc discovery port value in ignite config xml file. Need to change it from 11211 as i am using two ignite clusters


If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML



View this message in context: Re: Ignite-jdbc port

Sent from the Apache Ignite Users mailing list archive at Nabble.com.





If you reply to this email, your message will be added to the discussion below:
http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807p13815.html
To start a new topic under Apache Ignite Users, email [hidden email]
To unsubscribe from Apache Ignite Users, click here.
NAML



View this message in context: Re: Ignite-jdbc port
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Loading...