I think I found a root cause to. Reconfigured all servers I found that
in one server in state-management.xml <property name="Connect String">
property was empty. It was the last server I added and after added it I
got again CONNECTIONLOSS. So I filled Connection String as required and
now it works.
Conclusion - check everything twice :)
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
https://www.facebook.com/allan.tuuring
+372 51 48 780
On 24/01/2017 13:14, Margus Roo wrote:
This 409 lead me to idea that smth is wrong with my states or in zk.
So I stopped all nifis. Cleaned all repositories and state/local
directories. Created new zookeeper namespace in state-management.xml
and nifi.properties. Started servers. All my workflows were still
there because I did not touch flow.xml.gz files. After nifis up and
processors records were in zookeeper I can see states via nifi.
I still do not know what causes error but at least I know now how to
fix it somehow.
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
https://www.facebook.com/allan.tuuring
+372 51 48 780
On 24/01/2017 09:38, Margus Roo wrote:
Is 409 Conflict something I should focus?
[nifi@bigdata32 nifi-1.1.1]$ telnet bigdata33 9090
Trying 192.168.80.21...
Connected to bigdata33.
Escape character is '^]'.
GET /nifi-api/processors/cb084e86-0159-1000-0000-00001b125b80/state
HTTP/1.1
Host: bigdata33:9090
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:47.0)
Gecko/20100101 Firefox/47.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
HTTP/1.1 409 Conflict
Date: Tue, 24 Jan 2017 07:37:46 GMT
Server: Jetty(9.3.9.v20160517)
Date: Tue, 24 Jan 2017 07:37:46 GMT
Date: Tue, 24 Jan 2017 07:37:46 GMT
Content-Type: text/plain
Content-Length: 242
Unable to get the state for the specified component
cb084e86-0159-1000-0000-00001b125b80: java.io.IOException: Failed to
obtain value from ZooKeeper for component with ID
cb084e86-0159-1000-0000-00001b125b80 with exception code CONNECTIONLOSS
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
https://www.facebook.com/allan.tuuring
+372 51 48 780
On 23/01/2017 17:32, Margus Roo wrote:
I am getting CONNECTIONLOSS every time I am trying to get status. I
can not get this message from any log. Zookeeper out log is clean
and there is no any hints in nifi app log.
Any hints how to debug this CONNECTIONLOSS? As I understand I have
necessary information written in Zookeeper but stateManager can not
read it?
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
https://www.facebook.com/allan.tuuring
+372 51 48 780
On 23/01/2017 16:31, Bryan Bende wrote:
Regarding the distributed cache... ListHDFS references the
DistributedMapCacheClient, there is no direct reference between
DistributedMapCacheClient and DistributedMapCacheServer because
they communicate over a network connection.