Comments (14)
My main goal is to prepare docker-compose at least for development / trying purposes
from bigben.
That would be great. Thanks Andrii for the help. Let me know if you need something.
Thanks,
Sandeep
from bigben.
@sandeepmalik regarding lib/src/main/resources/hz.template.xml
.
It should be somehow mounted into hazelcast image?
from bigben.
Because there is no info about that in readme and I have no experience with hazelcast :(
from bigben.
I am facing the following exception:
03-Dec-2018 08:28:15.286 INFO [ScheduleScanner_service_thread] com.hazelcast.internal.partition.impl.PartitionStateManager.null [172.17.0.2]:5701 [bigben-dev] [3.8.6] Initializing cluster partition table arrangement...
2018-12-03 08:28:15.288 INFO [localhost-startStop-1] BigBen:108 - BigBen initialized successfully
2018-12-03 08:28:15.298 ERROR [localhost-startStop-1] App:106 - Bigben:error => unknown error, system will exit
kotlin.KotlinNullPointerException
at com.walmartlabs.bigben.utils.commons.Props.resolver(Props.kt:113)
at com.walmartlabs.bigben.utils.commons.Props.resolver$default(Props.kt:112)
at com.walmartlabs.bigben.utils.commons.Props$get$value$1.call(Props.kt:102)
at com.google.common.cache.LocalCache$LocalManualCache$1.load(LocalCache.java:4870)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2250)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2133)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2046)
at com.google.common.cache.LocalCache.get(LocalCache.java:3963)
at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4865)
at com.walmartlabs.bigben.utils.commons.Props.get(Props.kt:102)
at com.walmartlabs.bigben.utils.commons.Props.get$default(Props.kt:101)
at com.walmartlabs.bigben.utils.commons.Props.exists(Props.kt:69)
at com.walmartlabs.bigben.BigBen.init(BigBen.kt:116)
at com.walmartlabs.bigben.app.App.initPhase(app.kt:116)
at com.walmartlabs.bigben.app.App.<init>(app.kt:100)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createSingletonInstance(CXFNonSpringJaxrsServlet.java:434)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createApplicationInfo(CXFNonSpringJaxrsServlet.java:560)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.createServerFromApplication(CXFNonSpringJaxrsServlet.java:505)
at org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet.init(CXFNonSpringJaxrsServlet.java:121)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1031)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4909)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5196)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1701)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active!
at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.getOrCreateProxyFuture(ProxyRegistry.java:152)
at com.hazelcast.spi.impl.proxyservice.impl.ProxyRegistry.getOrCreateProxy(ProxyRegistry.java:135)
at com.hazelcast.spi.impl.proxyservice.impl.ProxyServiceImpl.getDistributedObject(ProxyServiceImpl.java:147)
at com.hazelcast.instance.HazelcastInstanceImpl.getDistributedObject(HazelcastInstanceImpl.java:376)
at com.hazelcast.instance.HazelcastInstanceImpl.getMap(HazelcastInstanceImpl.java:182)
at com.hazelcast.instance.HazelcastInstanceProxy.getMap(HazelcastInstanceProxy.java:96)
at com.walmartlabs.bigben.core.BucketManager.<init>(BucketManager.kt:61)
at com.walmartlabs.bigben.core.ScheduleScanner.init(ScheduleScanner.kt:83)
at com.walmartlabs.bigben.utils.hz.ClusterSingleton$1.run(ClusterSingleton.kt:69)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Which information I could provide to resolve this issue?
from bigben.
from bigben.
Hi,
I collected all logs. Maybe it is somehow related to docker networks.. but still strange.
Because BigBen sees Cassandra with no issues.
I can create patch / WIP PR if needed.
from bigben.
Ahh I see now, in your yaml file, you have removed the modules but left the key "modules" there (which yaml parser interprets as having null value). The code throws a null pointer on server start up and shuts down hazelcast. I'll fix and push the fix. For the time being, just remove the "modules" key as well from the yaml file and it should be fine.
from bigben.
As a matter of fact, I fixed this issue some time back in dev but haven't merged the changes back to master.
9a4f776#diff-24b3a0cc809cf5576c60c4377309fc63R119
I'll do that soon, for the time being just remove the "modules" key and redeploy. Let me know if any issues.
from bigben.
Thanks!
from bigben.
Awesome, it fixed the issue.
04-Dec-2018 07:30:58.430 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 24124 ms
from bigben.
Glad, it worked!
from bigben.
Hi @aaabramov, can't find docker-compose file.
Could you pls share, if you have implemented already?
from bigben.
Docker image is available now. There's a docker-compose file as well for dev/testing purposes. I am closing this ticket.
from bigben.
Related Issues (20)
- Expected performance HOT 21
- Correct format to configure Cassandra contactPoints? HOT 1
- Guide on how to customize services using extensions/plugins HOT 1
- Info on bucket.backlog.check.limit retry mechanism HOT 4
- purging: need clarity on bucket removal startegy while purging
- How to setup bigben multinode cluster on different machines HOT 1
- Though kafka i am publishing 1lakh events for same bucket, but only 50K jobs are getting stored HOT 1
- Error when trying to run bigben in a single node, non-docker execution.
- Remove schedules event? HOT 2
- Run into an problem when running BigBen locally with Docker HOT 2
- Issue with $HOST_IP
- Request: Documentation on how to run a BigBen cluster in Kubernetes HOT 2
- Not able to run through Docker!
- What is the future of BigBen ?
- Unable to install BigBen:app version: 1.0.7-SNAPSHOT HOT 3
- Request full wiki documantation
- What if i want to fire an event which is less than 60 seconds from now and the bucket scan already happened for this event? HOT 1
- No updates for a year... HOT 1
- Module function cannot be found for the fully qualified name [com.walmartlabs.bigben.app.RunKt.logs] HOT 1
- Bigben Kafka consumer dies whenever topic has >1 partition HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bigben.