Skip to content

Instantly share code, notes, and snippets.

View Donnerbart's full-sized avatar

Donnerbart Donnerbart

View GitHub Profile
@Donnerbart
Donnerbart / ClearNearCacheTest.java
Created February 20, 2018 21:18
Clear NearCache on HazelcastClient
package com.hazelcast.client.cache.nearcache;
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.client.config.ClientConfig;
import com.hazelcast.client.impl.HazelcastClientInstanceImpl;
import com.hazelcast.client.impl.HazelcastClientProxy;
import com.hazelcast.config.NearCacheConfig;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.core.IMap;
@Donnerbart
Donnerbart / failure.log
Created January 4, 2017 09:37
ManagementCenterServiceIntegrationTest.testTimedMemberStateNotNull()
This file has been truncated, but you can view the full file.
8:55:53,203 DEBUG |testTimedMemberStateNotNull| - [headers] testTimedMemberStateNotNull - http-outgoing-395 >> User-Agent: Apache-HttpClient/4.3.1 (java 1.5)
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [headers] testTimedMemberStateNotNull - http-outgoing-395 >> Accept-Encoding: gzip,deflate
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [wire] testTimedMemberStateNotNull - http-outgoing-395 >> "GET /mancen/memberStateCheck HTTP/1.1[\r][\n]"
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [wire] testTimedMemberStateNotNull - http-outgoing-395 >> "Host: localhost:64610[\r][\n]"
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [wire] testTimedMemberStateNotNull - http-outgoing-395 >> "Connection: Keep-Alive[\r][\n]"
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [wire] testTimedMemberStateNotNull - http-outgoing-395 >> "User-Agent: Apache-HttpClient/4.3.1 (java 1.5)[\r][\n]"
08:55:53,203 DEBUG |testTimedMemberStateNotNull| - [wire] testTimedMemberStateNotNull - http-outgoing-395 >> "Accept-E
20:35:30,329 INFO |testOutOfSyncMemberListTwoMasters| - [DefaultAddressPicker] testOutOfSyncMemberListTwoMasters - [LOCAL] [group] [3.6] Picked Address[127.0.0.1]:35701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=35701], bind any local is true
20:35:30,333 INFO |testOutOfSyncMemberListTwoMasters| - [OperationService] testOutOfSyncMemberListTwoMasters - [127.0.0.1]:35701 [group] [3.6] Backpressure is disabled
20:35:30,333 INFO |testOutOfSyncMemberListTwoMasters| - [ClassicOperationExecutor] testOutOfSyncMemberListTwoMasters - [127.0.0.1]:35701 [group] [3.6] Starting with 4 generic operation threads and 8 partition operation threads.
20:35:30,335 TRACE |testOutOfSyncMemberListTwoMasters| - [ClusterService] testOutOfSyncMemberListTwoMasters - [127.0.0.1]:35701 [group] [3.6] Updating members [Member [127.0.0.1]:35701 this]
20:35:30,336 INFO |testOutOfSyncMemberListTwoMasters| - [system] testOutOfSyncMemberListTwoMasters - [127.0.0.1]:35701 [group] [3.6] Hazelcast 3.6 (20160115) starting at Addr
18:13:44,044 INFO |whenLongTTLAndSmallBuffer| - [OperationService] whenLongTTLAndSmallBuffer - [127.0.0.1]:10217 [dev] [3.6-SNAPSHOT] Backpressure is disabled
18:13:44,072 INFO |whenLongTTLAndSmallBuffer| - [ClassicOperationExecutor] whenLongTTLAndSmallBuffer - [127.0.0.1]:10217 [dev] [3.6-SNAPSHOT] Starting with 4 generic operation threads and 8 partition operation threads.
18:13:44,150 TRACE |whenLongTTLAndSmallBuffer| - [ClusterService] whenLongTTLAndSmallBuffer - [127.0.0.1]:10217 [dev] [3.6-SNAPSHOT] Updating members [Member [127.0.0.1]:10217 this]
18:13:44,150 INFO |whenLongTTLAndSmallBuffer| - [system] whenLongTTLAndSmallBuffer - [127.0.0.1]:10217 [dev] [3.6-SNAPSHOT] Hazelcast 3.6-SNAPSHOT (20160104) starting at Address[127.0.0.1]:10217
18:13:44,150 INFO |whenLongTTLAndSmallBuffer| - [system] whenLongTTLAndSmallBuffer - [127.0.0.1]:10217 [dev] [3.6-SNAPSHOT] Copyright (c) 2008-2015, Hazelcast, Inc. All Rights Reserved.
18:13:44,150 INFO |whenLongTTLAndSmallBuffer| - [system] whenLongTTLAndSmallBu
@Donnerbart
Donnerbart / hazelcast_set_logging.java
Created July 13, 2014 22:05
How to set Hazelcast
// I have no idea if we really have org.apache.log4j available, because of this Maven part:
// <Import-Package>
// !org.junit,
// !com.hazelcast.*,
// org.apache.log4j;resolution:=optional,
// org.apache.log4j.*;resolution:=optional,
// org.slf4j;resolution:=optional,
// *
// </Import-Package>
//
@Donnerbart
Donnerbart / gist:0a549217747d0dcd072a
Created July 12, 2014 23:03
AtomicLongUpdateStressTest.testChangingCluster()
==================================================================
Hazelcast initialization...
00:41:20,182 INFO [DefaultAddressPicker] - null [dev] [3.3-RC3-SNAPSHOT] Picked Address[127.0.0.1]:5701, using socket ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=5701], bind any local is true
00:41:20,186 INFO [BasicOperationScheduler] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT] Starting with 8 generic operation threads and 8 partition operation threads.
00:41:20,188 INFO [system] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT] Hazelcast 3.3-RC3-SNAPSHOT (20140711) starting at Address[127.0.0.1]:5701
00:41:20,188 INFO [system] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT] Copyright (C) 2008-2014 Hazelcast.com
00:41:20,189 INFO [Node] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT] Creating MulticastJoiner
00:41:20,189 INFO [LifecycleService] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT] Address[127.0.0.1]:5701 is STARTING
00:41:22,305 INFO [MulticastJoiner] - [127.0.0.1]:5701 [dev] [3.3-RC3-SNAPSHOT]