add support for http basic authentication to chronos-sync script
Fix NullPointerException: the JNI method __store_get may fail and return NULL

The mesos JAVA API will call driver->abort() if any scheduler callback throws
any exception, this will bring chronos into *deactivated* state and will not
receive any offer from mesos, so as can not start any job (task exactly) any
longer.

The exception ever happened is NullPointerException throwed by persistData().

Bug: https://github.com/airbnb/chronos/issues/263

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Adding cluster name to disabled job notification message
Ensure zookeeper node exist to avoid throw Exception at startup

If the $zk_path/state node isn't exist, mostly at first time startup or has no
job submitted, chronos will throw an exception at start up when loading
jobs/tasks.

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

We in fact use zooKeeperCandidatePath as leader path, so remove this one which
never be used and will be used.

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
Catch Exception instead of Throwable

Throwable has two subclasses Error and Exception and as JAVA document says:

  An Error is a subclass of Throwable that indicates serious problems that a
  reasonable application should not try to catch.

So do not catch Error here.

Bug: https://github.com/airbnb/chronos/issues/124

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
added a space after the cluster name in notifications
Merge pull request #266 from airbnb/cluster_name_in_notification

Adding cluster name to disabled job notification message
Updated read me for docker support
update jobs table
fix formatting
update format
Merge pull request #267 from elingg/master

Updated read me for docker support
Merge pull request #265 from chengweiv5/master

Fix NullPointerException, Exception at startup, catch Exception instead of Throwable
Merge pull request #264 from flixster/chronos-sync-auth

add support for http basic authentication to chronos-sync script
Minor update to the fields
Merge pull request #269 from elingg/master

Minor update to the fields
Add chronos job name to env vars
Merge pull request #272 from plypaul/add_job_name

Add chronos job name to env vars
Implemented replacement web UI.

Added separate button to create new dependent job.

Removed edit/new job functionality from UI.

Dropped duplicate button.

Added enable/disable toggle button.

Conflicts:
	src/main/resources/assets/app/static/js/chronos_jquery.js