aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sirois (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1534) Announce Aurora with the Same JSON as Aurora Jobs
Date Tue, 12 Apr 2016 13:39:25 GMT

    [ https://issues.apache.org/jira/browse/AURORA-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237173#comment-15237173
] 

John Sirois commented on AURORA-1534:
-------------------------------------

Nope, they also do not populate shard.  The difficulty is picking one.  We'd need to force
something like zk's myid in deploys that gave each scheduler in a cluster it's own unique
shard ID, say 0, 1, 2.

It seems to me it would make more sense for clients to simply be tolerant of shard being optional.

> Announce Aurora with the Same JSON as Aurora Jobs
> -------------------------------------------------
>
>                 Key: AURORA-1534
>                 URL: https://issues.apache.org/jira/browse/AURORA-1534
>             Project: Aurora
>          Issue Type: Task
>    Affects Versions: 0.9.0
>            Reporter: Paul Cavallaro
>            Assignee: Bill Farner
>            Priority: Minor
>
> Currently Aurora announce itself under /aurora/services in ZooKeeper, but the JSON it
writes is not the same as the normal Aurora Jobs being announced.
> Namely it does not include a 'shard' key:value.
> Having it be the same, is useful for reusing code that watches Aurora Jobs to be able
to use to watch the Aurora Leader (for accessing the HTTP API, Thrift API, etc.).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message