You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by dkarachentsev <dk...@gridgain.com> on 2017/03/14 07:45:09 UTC

Re: Issue in starting IgniteSinkConnector with Distributed Worker mode

Hi,

Could you please attach logs and thread dumps (in case of hang) if problem
is still relevant?

-Dmitry.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issue-in-starting-IgniteSinkConnector-with-Distributed-Worker-mode-tp10647p11161.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Issue in starting IgniteSinkConnector with Distributed Worker mode

Posted by Roman Shtykh <rs...@yahoo.com>.
The connector is not created and no connection to your Ignite cluster is done in a distributed mode, if you pass connector configuration on the command line.In a distributed mode, you have to use REST API, like below.
$ curl -X POST -H "Content-Type: application/json" --data '{"name": "string-ignite-connector", "config": {"connector.class":"org.apache.ignite.stream.kafka.connect.IgniteSinkConnector", "tasks.max":"2","topics":"test","cacheName":"cache1","igniteCfg":"path_to_/ignite.xml"}}' http://localhost:8083/connectors

Hope this helps.
Roman

    On Tuesday, March 14, 2017 4:45 PM, dkarachentsev <dk...@gridgain.com> wrote:
 

 Hi,

Could you please attach logs and thread dumps (in case of hang) if problem
is still relevant?

-Dmitry.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Issue-in-starting-IgniteSinkConnector-with-Distributed-Worker-mode-tp10647p11161.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.