quartz-scheduler-hazelcast-jobstore | An implementation of a Quartz Scheduler JobStore | Job Scheduling library

 by   FlavioF Java Version: 1.0.1-SNAPSHOT License: Non-SPDX

kandi X-RAY | quartz-scheduler-hazelcast-jobstore Summary

kandi X-RAY | quartz-scheduler-hazelcast-jobstore Summary

quartz-scheduler-hazelcast-jobstore is a Java library typically used in Retail, Data Processing, Job Scheduling applications. quartz-scheduler-hazelcast-jobstore has no vulnerabilities, it has build file available and it has low support. However quartz-scheduler-hazelcast-jobstore has 3 bugs and it has a Non-SPDX License. You can download it from GitHub, Maven.

Quartz-Scheduler Hazelcast Job Store
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              quartz-scheduler-hazelcast-jobstore has a low active ecosystem.
              It has 41 star(s) with 31 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 5 open issues and 24 have been closed. On average issues are closed in 62 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of quartz-scheduler-hazelcast-jobstore is 1.0.1-SNAPSHOT

            kandi-Quality Quality

              quartz-scheduler-hazelcast-jobstore has 3 bugs (0 blocker, 0 critical, 3 major, 0 minor) and 105 code smells.

            kandi-Security Security

              quartz-scheduler-hazelcast-jobstore has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              quartz-scheduler-hazelcast-jobstore code analysis shows 0 unresolved vulnerabilities.
              There are 2 security hotspots that need review.

            kandi-License License

              quartz-scheduler-hazelcast-jobstore has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              quartz-scheduler-hazelcast-jobstore releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              quartz-scheduler-hazelcast-jobstore saves you 1256 person hours of effort in developing the same functionality from scratch.
              It has 2825 lines of code, 174 functions and 10 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed quartz-scheduler-hazelcast-jobstore and discovered the below as its top functions. This is intended to give you an instant insight into quartz-scheduler-hazelcast-jobstore implemented functionality, and help decide if they suit your requirements.
            • Called when a job has completed
            • Removes a trigger
            • Removes the given job from the registry
            • Get the list of trigger wrappers for a given job
            • Returns the paused jobs that match the given group of jobs
            • Pause a job
            • Pauses a trigger
            • Get the set of jobs that match the given group name
            • Acquire the next triggers
            • Releases an acquired trigger
            • Updates the misfire policy
            • Retrieves the list of jobs that match the given matcher
            • Resume a trigger
            • Resumes the given job
            • Gets the trigger state for the given trigger key
            • Converts the given state to a TriggerState
            • Clear all scheduled job data
            • Initialize Hazelcast Job Store
            • Retrieves the triggers associated with the given list of triggers
            • Removes a calendar with the given name
            • Stores the specified jobs and triggers
            Get all kandi verified functions for this library.

            quartz-scheduler-hazelcast-jobstore Key Features

            No Key Features are available at this moment for quartz-scheduler-hazelcast-jobstore.

            quartz-scheduler-hazelcast-jobstore Examples and Code Snippets

            No Code Snippets are available at this moment for quartz-scheduler-hazelcast-jobstore.

            Community Discussions

            QUESTION

            Hazelcast Management Center not showing Maps/MultiMaps
            Asked 2018-Feb-04 at 07:31

            Not seeing the Map/MultiMap data on the Hazelcast Management Center. My environment consists of:

            • Remote Hazelcast: 3.7.2
            • Hazelcast Management Console: 3.7.2
            • Hazelcast client: 3.7.2

            I am using Hazelcast Maps indirectly using quartz and the quartz-scheduler-hazelcast-jobstore. I created one trigger so there is some information that is added to the Maps.

            I have verified that the connection is made to remote hazelcast its connection to the management console, as I can see the Members tab populated, as well as the Topics tab from other data in my app.

            Any ideas as to why the maps are not shown?

            Not a lot of logging happening, but this is what the client shows:

            2018-02-02T15:55:23.745-0500 | | INFO | RMI TCP Connection(2)-127.0.0.1 | com.hazelcast.core.LifecycleService | XMHZClient [dev] [3.7.2] HazelcastClient 3.7.2 (20161004 - 540b01c) is STARTING 2018-02-02T15:55:24.29-0500 | | INFO | RMI TCP Connection(2)-127.0.0.1 | com.hazelcast.core.LifecycleService | XMHZClient [dev] [3.7.2] HazelcastClient 3.7.2 (20161004 - 540b01c) is STARTED 2018-02-02T15:55:24.130-0500 | | INFO | XMHZClient.event-3 | com.hazelcast.client.spi.impl.ClientMembershipListener | XMHZClient [dev] [3.7.2]

            Members 1 { Member [172.17.0.3]:5701 - b79ad451-02f2-43d4-8b66-ca91fbd677e1 }

            2018-02-02T15:55:24.132-0500 | | INFO | XMHZClient.user-1 | com.hazelcast.core.LifecycleService | XMHZClient [dev] [3.7.2] HazelcastClient 3.7.2 (20161004 - 540b01c) is CLIENT_CONNECTED

            ...

            ANSWER

            Answered 2018-Feb-04 at 07:31

            @PhilipWiebe, since you see a lot of topics in ManCenter, I believe you're hitting the limit of reported objects. By default, each Hazelcast node only reports 100 object statistics. You need to set hazelcast.mc.max.visible.instance.count parameter on each Hazelcast node to a value greater than your total dist. objects count. This behavior is changing in upcoming 3.9.3 release.

            Source https://stackoverflow.com/questions/48570365

            QUESTION

            Remote Hazelcast Quartz JobStore throws ClassNotFoundException
            Asked 2018-Jan-31 at 23:47

            I'm using this hazelcast quartz scheduler JobStore for scheduling background jobs. I am using:

            • quartz: 2.2.3
            • Hazelcast: 3.7.2 (running in a docker container with default configuration)
            • Hazelcast-client: 3.7.2

            When adding a new trigger to the hazelcast-quartz scheduler, I get the following exception on the hazelcast instance:

            [3.7.2] java.lang.ClassNotFoundException: com.bikeemotion.quartz.jobstore.hazelcast.TriggerWrapper com.hazelcast.nio.serialization.HazelcastSerializationException: java.lang.ClassNotFoundException: com.bikeemotion.quartz.jobstore.hazelcast.TriggerWrapper at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:224) at com.hazelcast.internal.serialization.impl.StreamSerializerAdapter.read(StreamSerializerAdapter.java:46) at com.hazelcast.internal.serialization.impl.AbstractSerializationService.toObject(AbstractSerializationService.java:172) at com.hazelcast.map.impl.record.Records.tryStoreIntoCache(Records.java:149) at com.hazelcast.map.impl.record.Records.getValueOrCachedValue(Records.java:118) at com.hazelcast.map.impl.recordstore.AbstractRecordStore.saveIndex(AbstractRecordStore.java:146) at com.hazelcast.map.impl.recordstore.DefaultRecordStore.putInternal(DefaultRecordStore.java:741) at com.hazelcast.map.impl.recordstore.DefaultRecordStore.set(DefaultRecordStore.java:919) at com.hazelcast.map.impl.operation.SetOperation.run(SetOperation.java:44) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:181) at com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl.run(OperationExecutorImpl.java:375) at com.hazelcast.spi.impl.operationexecutor.impl.OperationExecutorImpl.runOrExecute(OperationExecutorImpl.java:402) at com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvokeLocal(Invocation.java:283) at com.hazelcast.spi.impl.operationservice.impl.Invocation.doInvoke(Invocation.java:268) at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke0(Invocation.java:232) at com.hazelcast.spi.impl.operationservice.impl.Invocation.invoke(Invocation.java:207) at com.hazelcast.spi.impl.operationservice.impl.InvocationBuilderImpl.invoke(InvocationBuilderImpl.java:59) at com.hazelcast.client.impl.protocol.task.AbstractPartitionMessageTask.processMessage(AbstractPartitionMessageTask.java:64) at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.initializeAndProcessMessage(AbstractMessageTask.java:119) at com.hazelcast.client.impl.protocol.task.AbstractMessageTask.run(AbstractMessageTask.java:99) at com.hazelcast.spi.impl.operationservice.impl.OperationRunnerImpl.run(OperationRunnerImpl.java:137) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.process(OperationThread.java:127) at com.hazelcast.spi.impl.operationexecutor.impl.OperationThread.run(OperationThread.java:102) Caused by: java.lang.ClassNotFoundException: com.bikeemotion.quartz.jobstore.hazelcast.TriggerWrapper at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at com.hazelcast.nio.ClassLoaderUtil.tryLoadClass(ClassLoaderUtil.java:151) at com.hazelcast.nio.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:120) at com.hazelcast.nio.IOUtil$ClassLoaderAwareObjectInputStream.resolveClass(IOUtil.java:358) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1779) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373) at com.hazelcast.internal.serialization.impl.JavaDefaultSerializers$JavaSerializer.read(JavaDefaultSerializers.java:219) ... 22 more

            Any thoughts on what could be the issue? I'd really hate to have to have the hazelcast instance be aware of the hazelcast jobstore package. Should be able to store the trigger without having to deserialize it on hazelcast instance.

            ...

            ANSWER

            Answered 2018-Jan-31 at 23:47

            @philip-wiebe, please see https://github.com/FlavioF/quartz-scheduler-hazelcast-jobstore/blob/master/src/main/java/com/bikeemotion/quartz/jobstore/hazelcast/HazelcastJobStore.java#L116

            triggersByKey has an index on nextFireTime property, method in this case. This is why node trying to create an index & tries to deserialize the data. You need to have quartz-scheduler-hazelcast-jobstore and quartz related classes in the member classpath as well.

            Note: HazelcastJobStore also have a custom predicate, this need to be available to the member as well: https://github.com/FlavioF/quartz-scheduler-hazelcast-jobstore/blob/master/src/main/java/com/bikeemotion/quartz/jobstore/hazelcast/HazelcastJobStore.java#L1259

            Source https://stackoverflow.com/questions/48552718

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install quartz-scheduler-hazelcast-jobstore

            You can download it from GitHub, Maven.
            You can use quartz-scheduler-hazelcast-jobstore like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the quartz-scheduler-hazelcast-jobstore component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/FlavioF/quartz-scheduler-hazelcast-jobstore.git

          • CLI

            gh repo clone FlavioF/quartz-scheduler-hazelcast-jobstore

          • sshUrl

            git@github.com:FlavioF/quartz-scheduler-hazelcast-jobstore.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Job Scheduling Libraries

            Try Top Libraries by FlavioF