Skip to content

Instantly share code, notes, and snippets.

@jeid64
Created May 30, 2013 14:42
Show Gist options
  • Save jeid64/5678377 to your computer and use it in GitHub Desktop.
Save jeid64/5678377 to your computer and use it in GitHub Desktop.
Chronos debugging for hot-master redirection
INFO [2013-05-30 14:40:35,692] com.airbnb.scheduler.Main$: ---------------------
INFO [2013-05-30 14:40:35,692] com.airbnb.scheduler.Main$: Initializing chronos.
INFO [2013-05-30 14:40:35,693] com.airbnb.scheduler.Main$: ---------------------
INFO [2013-05-30 14:40:35,746] com.airbnb.scheduler.config.MainModule: Wiring up the application
INFO [2013-05-30 14:40:35,934] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
INFO [2013-05-30 14:40:35,936] com.airbnb.scheduler.config.ZookeeperModule: Using external zookeeper.
INFO [2013-05-30 14:40:35,939] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
INFO [2013-05-30 14:40:35,953] com.airbnb.scheduler.config.ZookeeperModule: Providing MesosStatePersistenceStore
INFO [2013-05-30 14:40:36,000] com.airbnb.scheduler.config.ZookeeperModule: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@658: Client environment:zookeeper.version=zookeeper C client 3.3.4
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@662: Client environment:host.name=nyvimeochrono2
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@669: Client environment:os.name=Linux
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@670: Client environment:os.arch=2.6.32-220.17.1.el6.x86_64
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@671: Client environment:os.version=#1 SMP Wed May 16 00:01:37 BST 2012
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@679: Client environment:user.name=julien
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@687: Client environment:user.home=/root
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@log_env@699: Client environment:user.dir=/root
2013-05-30 10:40:36,008:18513(0x7f71d2bfd700):ZOO_INFO@zookeeper_init@727: Initiating client connection, host=nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181 sessionTimeout=5000 watcher=0x7f71f8a65570 sessionId=0 sessionPasswd=<null> context=0x7f71e00013a0 flags=0
2013-05-30 10:40:36,009:18513(0x7f71d0dfa700):ZOO_INFO@check_events@1585: initiated connection to server [192.168.7.249:2181]
2013-05-30 10:40:36,012:18513(0x7f71d0dfa700):ZOO_INFO@check_events@1632: session establishment complete on server [192.168.7.249:2181], sessionId=0x13ef5d860710009, negotiated timeout=5000
INFO [2013-05-30 14:40:36,013] com.airbnb.scheduler.config.ZookeeperModule: Using hostname:localhost
WARN [2013-05-30 14:40:36,022] com.airbnb.scheduler.config.MainModule: No mailFrom or mailServer configured. Email Notfications are disabled!
INFO [2013-05-30 14:40:36,626] com.airbnb.scheduler.jobs.JobScheduler: Trying to become leader.
192.168.7.108 - - [30/May/2013:14:41:19 +0000] "GET / HTTP/1.1" 307 0 6 6
http://localhost:4400/
192.168.7.108 - - [30/May/2013:14:41:40 +0000] "GET / HTTP/1.1" 307 0 2 2
http://localhost:4400/
192.168.7.108 - - [30/May/2013:14:41:44 +0000] "GET / HTTP/1.1" 307 0 2 2
scheduleHorizonSeconds: 120
zookeeperTimeoutMs: 5000
master: zk://nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181/mesos
zookeeperServers: nyvimeochrono1.vimeows.com:2181,nyvimeochrono2.vimeows.com:2181,nyvimeochrono3.vimeows.com:2181
zookeeperStateZnode: "/airbnb/service/chronos/state"
zookeeperLeaderZnode: "/airbnb/service/chronos/leader"
zookeeperCandidateZnode: "/airbnb/service/chronos/candidate"
http:
rootPath: /scheduler/*
adminPort: 4401
port: 4400
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: WARN
loggers:
"com.airbnb.scheduler": TRACE
file:
# If true, write log statements to a file.
enabled: true
# Do not write log statements below this threshold to the file.
threshold: ALL
# The file to which current statements will be logged.
currentLogFilename: /tmp/chronos-1.log
# When the log file rotates, the archived log will be renamed to this and gzipped. The
# %d is replaced with the previous day (yyyy-MM-dd). Custom rolling windows can be created
# by passing a SimpleDateFormat-compatible format as an argument: "%d{yyyy-MM-dd-hh}".
archivedLogFilenamePattern: ./logs/example-%d.log.gz
# The number of archived files to keep.
archivedFileCount: 5
# The timezone used to format dates. HINT: USE THE DEFAULT, UTC.
timeZone: UTC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment