Giter Club home page Giter Club logo

Comments (9)

Randgalt avatar Randgalt commented on June 20, 2024

Please test the code I just pushed. Have a look at the test class WorkflowManagerStateSampler for an example of a sampling state checker. You can copy that class or write something based on it.

from workflow.

JimBugwadia avatar JimBugwadia commented on June 20, 2024

Will the newly added 'WorkflowAdmin.getWorkflowManagerState' work with prior versions? Or, is the state a new attribute requiring the scheduling and execution to also use the updated code?

from workflow.

Randgalt avatar Randgalt commented on June 20, 2024

Yeah it works with old versions. It only analyzes the manager it's called from.

Jordan Zimmerman

On Apr 1, 2016, at 1:56 PM, Jim Bugwadia [email protected] wrote:

Will the newly added 'WorkflowAdmin.getWorkflowManagerState' work with prior versions? Or, is the state a new attribute requiring the scheduling and execution to also use the updated code?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

from workflow.

JimBugwadia avatar JimBugwadia commented on June 20, 2024

Thanks! This works and I am able to retrieve the state. Here is what I got back:

WorkflowManagerState{isConnectedToZooKeeper=true, schedulerState=LATENT, consumersState=[]}

Can you please explain the schedule and consumer states?

from workflow.

Randgalt avatar Randgalt commented on June 20, 2024

That means that that manager is not the scheduler. More importantly it means it has no task executors. Any idea why?

Jordan Zimmerman

On Apr 1, 2016, at 2:41 PM, Jim Bugwadia [email protected] wrote:

Thanks! This works and I am able to retrieve the state. Here is what I got back:

WorkflowManagerState{isConnectedToZooKeeper=true, schedulerState=LATENT, consumersState=[]}

Can you please explain the schedule and consumer states?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

from workflow.

JimBugwadia avatar JimBugwadia commented on June 20, 2024

I connected a new WorkflowManager, from a test program solely to query the
state of the workflow.

Is there a way we can print the state of all other WorkflowManager
instances from this?

Thanks,

Jim

On Fri, Apr 1, 2016 at 1:04 PM, Jordan Zimmerman [email protected]
wrote:

That means that that manager is not the scheduler. More importantly it
means it has no task executors. Any idea why?

Jordan Zimmerman

On Apr 1, 2016, at 2:41 PM, Jim Bugwadia [email protected]
wrote:

Thanks! This works and I am able to retrieve the state. Here is what I
got back:

WorkflowManagerState{isConnectedToZooKeeper=true, schedulerState=LATENT,
consumersState=[]}

Can you please explain the schedule and consumer states?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#25 (comment)

from workflow.

Randgalt avatar Randgalt commented on June 20, 2024

No. That would require major work

Jordan Zimmerman

On Apr 1, 2016, at 3:29 PM, Jim Bugwadia [email protected] wrote:

I connected a new WorkflowManager, from a test program solely to query the
state of the workflow.

Is there a way we can print the state of all other WorkflowManager
instances from this?

Thanks,

Jim

On Fri, Apr 1, 2016 at 1:04 PM, Jordan Zimmerman [email protected]
wrote:

That means that that manager is not the scheduler. More importantly it
means it has no task executors. Any idea why?

Jordan Zimmerman

On Apr 1, 2016, at 2:41 PM, Jim Bugwadia [email protected]
wrote:

Thanks! This works and I am able to retrieve the state. Here is what I
got back:

WorkflowManagerState{isConnectedToZooKeeper=true, schedulerState=LATENT,
consumersState=[]}

Can you please explain the schedule and consumer states?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#25 (comment)


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

from workflow.

Randgalt avatar Randgalt commented on June 20, 2024

OK if I close this?

from workflow.

JimBugwadia avatar JimBugwadia commented on June 20, 2024

Yes, thanks!

On Tue, May 10, 2016 at 9:45 AM, Jordan Zimmerman [email protected]
wrote:

OK if I close this?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#25 (comment)

from workflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.