Questions tagged [mesos-chronos]

Chronos is a distributed version of cron that is a tool for a Mesos cluster to run jobs at scheduled times. Use this tag for questions specifically about Chronos (API, how to schedule using, troubleshooting, and configuration).

Chronos is a distributed and fault-tolerant version of cron that is a tool for a Mesos cluster to run jobs at scheduled times. It has several improvement to cron such as triggering jobs based on other jobs.

References

Related Tags

33 questions
1
vote
0 answers

When could Mesos tasks be in STAGING state?

I see mesos tasks in STAGING for more than 2 days. The task is a simple standalone java code execution. I don't seen anything related to STAGING status in my logs. Can someone provide insight on when the job can go into TASK_STAGING. My Infra has 3…
chandu
  • 403
  • 1
  • 6
  • 15
1
vote
1 answer

How to start multiple jobs all at once via Chronos REST API?

I can start one job my-task-name on chronos manually via its rest api: http PUT http://my-chronos/scheduler/job/my-task-name HTTP/1.1 204 No Content Connection: keep-alive Content-Type: application/json Date: Mon, 28 Nov 2016 09:40:55 GMT Server:…
k0pernikus
  • 60,309
  • 67
  • 216
  • 347
0
votes
1 answer

deregistered instance showing unreachable in mesos , how to clear this?

i am using mesos-marathon cluster for my setup and i have 40 instances registered with mesos . i want to remove 1 instance from the cluster. To do that , i just stopped that ec2 instance and reduce the number of dns instance in marathon. But it is…
0
votes
1 answer

Apache Mesos/Chronos task status is not getting updated and stuck as RUNNING status

I am using Mesos 1.3.1 and Chronos in my local. I currently have 100 jobs scheduled every 30 minutes for testing. Sometimes the tasks get stuck in RUNNING status forever until I restart the Mesos agent that the task is stuck. No agent restarted…
mye1102
  • 41
  • 7
0
votes
1 answer

Modifying number of tasks executed on mesos slave

In a Mesos ecosystem(master + scheduler + slave), with the master executing tasks on the slaves, is there a configuration that allows modifying number of tasks executed on each slave? Say for example, currently a mesos master runs 4 tasks on one of…
Tushar
  • 528
  • 4
  • 20
0
votes
1 answer

Where can I locate the 'stdout' and 'stderr' log files on Mesos Slave machines?

I am trying to access the echo and print logs of my cron tasks in the Mesos Slave machines. I can see the stdout and stderr logs from the GUI but can't seem to locate them on the machine. So far I tried exploring the location /var/logs/mesos. Where…
Vishakha Lall
  • 1,178
  • 12
  • 33
0
votes
0 answers

How to fix below marathon authentication error

I have set 3 node mesos cluster using : How To Configure a Production-Ready Mesosphere Cluster on Ubuntu 14.04 (edited) Next step is to Authenticate Marathon. For that I am using : Framework Authentication Just wanted to know am I using the correct…
pavankumar
  • 31
  • 1
  • 5
0
votes
1 answer

Is Mesos master needed if we use Chronos?

Let's say I have 1 Chronos machine, 1 Mesos master running on another machine and Mesos slave running on yet a different machine (total 3 machines). If I stop the Mesos master, will the Mesos slave still continue working (and take up more tasks in…
Vishwanath
  • 149
  • 2
  • 14
0
votes
1 answer

How can we configure mail in Chronos?

I have setup one job on chronos server where I need to configure mail service. The mail service will send job status for both the situation job failure and success. Where and which file do I need to edit or add?
0
votes
1 answer

Can we run two 'slave' nodes on the same machines?

We are running a 3 node mesos cluster and mesos master is running on each node. Also, 2 slaves are running on each node. Is this a good practice? 2 slaves on each cluster won't be sending too much offer and end up being overloaded? What is the…
user1578872
  • 7,808
  • 29
  • 108
  • 206
0
votes
1 answer

How good is lambda functions to hit a REST API after a fixed amount of time?

I am using distributed scheduler 'Chronos'(distributed crontab) to hit a REST API after few minute of job addition(example: Add job at time T to schedule it at T+5minutes).This run on a bigger infrastructure and take care of fault-tolerant and…
sumit jha
  • 91
  • 1
  • 10
0
votes
1 answer

Mesos Task Status Timestamp

I am just trying to understand the timestamp field in Mesos statuses. The Mesos tasks can be listed using the URL, http://:5050/tasks and the tasks are returned as follows. { "id":"task_id:", "name":"name", "state":"TASK_FAILED", …
user1578872
  • 7,808
  • 29
  • 108
  • 206
0
votes
0 answers

Chronos docker Job scheduling thru Mesos

I am using Apache Chronos for job scheduling. My job is a simple Docker Job which executes some java code and then exits by calling System.exit(0). The job is scheduled to run every 30 mins and I see the status code as "Exited (0) 2 minutes ago" by…
user1578872
  • 7,808
  • 29
  • 108
  • 206
0
votes
1 answer

What is the default working directory when running a mesos chronos command

I'm interested in figuring out what the default working directory is when a mesos chronos command is run. For example if I run "java -jar foo/bar/baz.jar" where would the foo directory need to be located in order for this to work? Thanks
Kohl
  • 11
  • 1
  • 2
0
votes
1 answer

how can I access to the chronos api?

I have a mesos and chronos environment, I want to use chronos api to monitor jobs status, But ... curl -L http://localhost:8080/leader Error 404…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/mesos" class="post-tag grid--cell" title="show questions tagged 'mesos'" rel="tag">mesos</a> <a href="../../questions/tagged/mesos-chronos" class="post-tag grid--cell" title="show questions tagged 'mesos-chronos'" rel="tag">mesos-chronos</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 23 '17 at 09:46">asked May 23 '17 at 09:46</time> <a href="../../users/7045523/ostaer" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/7045523.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ostaer" /> </a> <div class="s-user-card--info"> <a href="../../users/7045523/ostaer" class="s-user-card--link">Ostaer</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="3 bronze badges">3</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/mesos-chronos_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/mesos-chronos_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/mesos-chronos_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/mesos-chronos_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>