Fix typos in README

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix default value of mesos_task_mem and mesos_task_disk in README

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix reporting bugs link in FAQ

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
default http port changed to 8080

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Correct default zookeeper path for chronos in README

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix success limited-repeatitions job status

Currently, limited-repeatitions job status doesn't show correctly when
it has success-ed.

For example, if the job has repeatition 1, once the job finished, then
the job status says "job has not run yet" and the success time and times
are still empty and 0, however, only "job has been disabled" shows
correctly.

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix asynchronous job

There is another required field in mesos protocbuf message TaskStatus,
without this fix, it will throw an exception when building the protocbuf
message like below:

com.google.protobuf.UninitializedMessageException: Message missing required fields: state
        at com.google.protobuf.AbstractMessage$Builder.newUninitializedMessageException(AbstractMessage.java:605)
        at org.apache.mesos.Protos$TaskStatus$Builder.build(Protos.java:18993)
        at com.airbnb.scheduler.api.TaskManagementResource.updateStatus(TaskManagementResource.scala:48)

For the protocbuf message definination, see mesos code:
  include/mesos/mesos.proto

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix coding style

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Support easy submission of immediate job from REST API

This is a nice feature for job submission go through the REST API
because if a job want to schedule now, it has first to know what's the
time the chronos server is, and give the job a schedule time within
epsilon window. This is a problem when submitting a job from web ui,
because the schedule time by default is current time.

With this patch, one job can be a immediate job by any of below ways:
  * without "schedule" field
  * with empty start time in "schedule" field, e.g. "R1//PT24H"

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Revert "Move priority level to boolean "highPriority""

This reverts commit 6c8860563a9e44773e3a526160030ac79bbe03a5.

Conflicts:
	src/main/scala/com/airbnb/scheduler/jobs/TaskManager.scala
	src/main/scala/com/airbnb/utils/JobDeserializer.scala

We'd like multiple levels of priority.

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Fix build introduced by revert

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Mandatory priority: more generic 3 levels of priority

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
remove the array of queue names

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Mandatory priority: use 100 priority queues

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Use environment CHRONOS_PRIORITY_QUEUES to specify number of queues

Set a environment variable CHRONOS_PRIORITY_QUEUES to specify how many
priority queues will be used in this instance. By default, that's 100.

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
change debug log info to fine level

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Add logging configuration for Logger and log4j

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Add build-release script and upstart config file

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Add a how to document

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
release HOWTO.txt to tarball

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>