I'm new to Helix and trying to learn it. I was able to create a helix
cluster and able to see my Participant joined the cluster by seeing it in
zookeeper. Question, why is that when I'm trying to submit a job thru the
Administrator, my Participant is not picking them up (not able to see the
run method invoked in my user implemented Task class)?

I mainly used this
<https://helix.apache.org/1.0.1-docs/tutorial_task_framework.html>as guide
for creating my task, job and workflow. However on the integration tests, I
see a scenario
<https://github.com/apache/helix/blob/a5cddd4b8fa51b1ea53b2f7082daf79361cd81de/helix-core/src/test/java/org/apache/helix/integration/task/TestTaskAssignmentCalculator.java#L78>where
we need to register the task as a callback, but I never see their usage on
the tutorial. My question are

1. When is the time we need to explicitly register task callbacks?
2. What's the difference between StateModel and TaskStateModel? In my
implementation, I only used a StateModel with no callbacks as per the
tutorial, but some integration tests are using TaskStateModel with callbacks


[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;>
09/15/20,
08:20:02 PM

Reply via email to