Here is a link to the nightly builds: https://cwiki.apache.org/confluence/display/IGNITE/Nightly+Builds
On Mon, Apr 25, 2016 at 4:36 AM, Vladimir Ozerov <[email protected]> wrote: > Hi, > > There was several issues associated with distributed semaphore in 1.5.0 > release. As far as I know most of the will be fixed in 1.6.0 release. > Can you try building from current development master and see if the > problem is still there? > > Vladimir. > > On Wed, Apr 20, 2016 at 1:00 PM, swoky <[email protected]> wrote: > >> now we have two nodes, >> created an IgniteSemaphore in node A ,then we can use it in node B, >> >> but when node A down ,can't use it in node B any more, >> >> is there some Configurations i missed? >> >> below is my Configuration file >> >> ------------------------------------- >> <beans xmlns="http://www.springframework.org/schema/beans" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:util="http://www.springframework.org/schema/util" >> xsi:schemaLocation=" >> http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans.xsd >> http://www.springframework.org/schema/util >> http://www.springframework.org/schema/util/spring-util.xsd"> >> >> <bean class="org.apache.ignite.configuration.IgniteConfiguration"> >> >> <property name="cacheConfiguration"> >> <bean >> class="org.apache.ignite.configuration.CacheConfiguration"> >> >> <property name="name" value="cacheName"/> >> >> <property name="cacheMode" value="REPLICATED"/> >> </bean> >> </property> >> >> >> <property name="discoverySpi"> >> <bean >> class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> >> <property name="ipFinder"> >> <bean >> >> class="org.apache.ignite.spi.discovery.tcp.ipfinder.zk.TcpDiscoveryZookeeperIpFinder"> >> <property name="allowDuplicateRegistrations" >> value="false" /> >> <property name="zkConnectionString" >> value="127.0.0.1:2181"/> >> </bean> >> </property> >> </bean> >> </property> >> </bean> >> </beans> >> ---------------------------------------- >> and the java code : >> ----------------------------------- >> Ignite ignite = Ignition.start("d:\xxxxx\ignite.xml"); >> >> IgniteSemaphore semaphore = ignite.semaphore("semName", >> // Distributed >> semaphore name. >> 90, // Number of permits. >> true, // Release acquired permits if >> node, that owned them, left >> topology. >> true // Create if it doesn't exist. >> ); >> ------------------------------------- >> >> >> >> -- >> View this message in context: >> http://apache-ignite-users.70518.x6.nabble.com/IgniteSemaphore-problem-tp4366.html >> Sent from the Apache Ignite Users mailing list archive at Nabble.com. >> > >
