Comments (9)
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.
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.
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.
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.
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.
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.
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.
OK if I close this?
from workflow.
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)
- A child task can submit its ancestor after a delay HOT 4
- Pluggable serialization HOT 1
- Providing more debugging for the scheduler
- uneven workflow distribution HOT 4
- scheduling of workflow stopped working HOT 4
- New feature request - Allow custom workflow task executors HOT 4
- workflowManager.getRunInfo() take a long time to complete HOT 15
- Potential thread leak HOT 5
- JsonSerializer.getTask() is not visible HOT 2
- Upgrade to Curator 3.2.0
- Graceful shutdown of one workflow instance. HOT 6
- workflow client or/and curator client loose connection to zookeeper HOT 3
- Use ZK container nodes wherever possible
- Scheduler stops receiving events from PathChildrenCache when associated ZK path was deleted and later recreated HOT 8
- FAILED_STOP re-executes the task HOT 2
- Long running Idempotent task keeps creating watches and leads to Out Of Memory issues HOT 7
- Add failure policy (or similar) to limit retries HOT 3
- Need a way to retrieve the metadata of a task submitted but not executed HOT 4
- mvn clean install command failing to execute HOT 1
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 workflow.