Hi
I have set up cluster. I am using external zookeeper. I have the same connection strings in nifi.properties and state-management.xml files. DistributedMapCacheServer is set up under controller services. One interesting think I noticed that there is not any record under Referencing Components under DistributedMapCacheServer settings tab but I have set Distributed Cache Service property under ListHDFS processor.

I can get ListHDFS processor record from zookeeper cluster:
[zk: localhost:2181(CONNECTED) 1] get /nifi/components/cb084e86-0159-1000-0000-00001b125b80
1484732837694listing.timestamp
cZxid = 0x800000315
ctime = Mon Jan 23 13:20:48 EET 2017
mZxid = 0x8000022cf
mtime = Mon Jan 23 14:55:47 EET 2017
pZxid = 0x800000315
cversion = 0
dataVersion = 7091
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 77
numChildren = 0
[zk: localhost:2181(CONNECTED) 2]

but trying to get state via NIFI I will get:
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

any hint?

--
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
https://www.facebook.com/allan.tuuring
+372 51 48 780

Reply via email to