GithubHelp home page GithubHelp logo

hubspot / singularity Goto Github PK

View Code? Open in Web Editor NEW
822.0 53.0 188.0 30.31 MB

Scheduler (HTTP API and webapp) for running Mesos tasks—long running processes, one-off tasks, and scheduled jobs. #hubspot-open-source

Home Page: http://getsingularity.com/

License: Apache License 2.0

Java 79.98% Shell 0.30% CSS 0.01% JavaScript 17.30% HTML 0.01% Python 0.97% Dockerfile 0.05% Handlebars 0.12% Pug 0.39% SCSS 0.13% Stylus 0.62% Mustache 0.12%
mesos

singularity's People

Contributors

adamschwartz avatar ashdza avatar baconmania avatar benheng avatar benrlodge avatar calvinp avatar eherot avatar eseb avatar gchomatas avatar hs-jenkins-bot avatar jhaber avatar jloisel avatar kdorosh avatar kieran-manning-w avatar kwm4385 avatar marcneuwirth avatar mattccs avatar matush-v avatar pschoenfelder avatar ptrteixeira avatar rosalind210 avatar sjeropkipruto avatar ssalinas avatar tejasmanohar avatar timmfin avatar tpetr avatar wh77 avatar wolfd avatar wsorenson avatar zackbloom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

singularity's Issues

add tab for Webhooks

it should list all registered webhooks, which can retrieved via /singularity/v1/webhooks

no error message on api failure

If the singularity API returns a error like 502, there's no indication that loading the data failed when navigating to a /tail page

Log tailer screen should fill the window

I have a pair of ginormous Thunderbolt displays but I can't cover them in Matrix-style streams of logs because the area is fixed size 😿 plus, no one likes nested scroll areas.

screen shot 2014-01-24 at 1 33 37 pm

separate scheduled tasks from others

when looking at the active requests page, we should separate scheduled requests from the others in separate tables / sections of the page.

scheduled requests, for instance, should display the schedule and not the # of instances.

we can iterate from there.

Request page should show request history

We have an audit log of all changes made to a request.

This might include if someone paused it, bounced it, updated it, created it, deleted it (the audit log is still valid for deleted requests which can be found through search.)

This should (probably) be displayed on the request page:

https://{hostname}/singularity/request/{requestId}

This history comes back from the endpoint:

/history/request/{requestId}/requests

It is a list of RequestHistory objects:

https://github.com/HubSpot/Singularity/blob/master/SingularityBase/src/main/java/com/hubspot/singularity/SingularityRequestHistory.java

License?

What's the license of this Mesos framework? (I see no LICENSE file or license information in the pom.xml)

Change remove wording in task list

Remove should be called "Kill Task" in the tasks listing.

It should say long running process will be started again instantly, scheduled tasks will behave as if the schedule task failed and may be rescheduled to run in the future depending on retry schedule.

There should also be a Kill Task button on the task overview page.

Cron schedule is displayed incorrectly

I have a job with a cron schedule * * * * * which should run every minute. In singularity this is displayed as 0 * * * * ?.

singularity__requests

It also appears the same in the JSON file for the request. Is this just a difference in how cron schedules are encoded in mesos or is it actually a bug?

auto-tail files

the file view will page when scrolling up, and tail when scrolling down, but it still needs to periodically tail when at the end of a file

File browser improvemnets

  1. No obvious way to go back in the tree (or location in the tree)

  2. No obvious message that a particular directory is empty.

kill task via UI

DELETE

/tasks/task/{taskId}

eg,

/tasks/task/test-rack-1384834126092-788-hodge-us_east_1b

Request page

http://heliograph.iad01.hubspot-networks.net:7005/singularity/#request/ApiManagerWeb:3605:web:1384527552228

  1. Should show active, scheduled, and historical tasks.
  1. Should show request history (this is updates / when it was created OR deleted etc.):
    http://heliograph.iad01.hubspot-networks.net:7005/singularity/v1/history/request/ApiManagerWeb:3605:web:1384527552228/requests

Remove request button on REquest main page

It should also warn the following:

"Removing this request will kill all active and scheduled tasks and tasks for it will not run again unless it is reposted to Singularity"

Request Search Endpoint Returns Full Audit Log

I wonder if this should return something else, because it can currently return multiple results with the same request id. If the point of this search is to find requests, maybe it should only return distinct requests, or return only updates which are creations, or it should do some sort of collapsing on the backend to return a more complicated object (ie, requestId + lastStatus + lastTime + creationTime, etc.)

tail doesn't always show file contents

The list of files shows that the file isn't empty, and the /tail page gets an API response with data, but nothing is displayed.

It's usually there after refreshing the page.

History tab / page

This page would allow you to search for request history or task history using these endpoints:

/history/tasks/search?requestNameLike=

/history/requests/search?requestNameLike=

Add/drop webhooks via UI

add:

POST
/webhooks/
an array of strings e.g, [ "http://www.example.com" ]

DELETE
/webhooks/{hook}

eg,.

/webhooks/http%3A%2F%2Fwww.example.com (url encoded)

time since last offer

will now be null when it has never been seen. the UI should respond appropriately.

Add slave tasks view

it'd be useful if if we had a view that listed all tasks running on a specific slave (perhaps linked to from the Slaves page)

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.