David Robinson created AURORA-641:
-------------------------------------

             Summary: NULL not allowed for column "SLAVE_ID"
                 Key: AURORA-641
                 URL: https://issues.apache.org/jira/browse/AURORA-641
             Project: Aurora
          Issue Type: Bug
          Components: Scheduler
            Reporter: David Robinson


This occurs when a scheduler is elected as leader.

{noformat}
I0807 23:56:31.599 THREAD123 
com.twitter.common.zookeeper.CandidateImpl$4.onGroupChange: Candidate 
/twitter/service/mesos/test/scheduler/singleton_candidate_0000014666 is now 
leader of group: [singleton_candidate_0000014666, 
singleton_candidate_0000014667]
I0807 23:56:31.600 THREAD123 
com.twitter.common.util.StateMachine$Builder$1.execute: SchedulerLifecycle 
state machine transition STORAGE_PREPARED -> LEADER_AWAITING_REGISTRATION
I0807 23:56:31.600 THREAD123 
org.apache.aurora.scheduler.SchedulerLifecycle$6.execute: Elected as leading 
scheduler!
I0807 23:56:31.608182 48658 log.cpp:656] Attempting to start the writer
I0807 23:56:31.609185 48648 replica.cpp:474] Replica received implicit promise 
request with proposal 973
I0807 23:56:31.610455 48648 leveldb.cpp:306] Persisting metadata (9 bytes) to 
leveldb took 1.232568ms
I0807 23:56:31.610478 48648 replica.cpp:342] Persisted promised to 973
I0807 23:56:31.610785 48661 coordinator.cpp:230] Coordinator attemping to fill 
missing position
I0807 23:56:31.610908 48661 log.cpp:672] Writer started with ending position 
5895696
I0807 23:56:31.611747 48662 log.cpp:680] Attempting to append 5 bytes to the log
I0807 23:56:31.611834 48652 coordinator.cpp:340] Coordinator attempting to 
write APPEND action at position 5895697
I0807 23:56:31.612781 48658 replica.cpp:508] Replica received write request for 
position 5895697
I0807 23:56:31.613420 48658 leveldb.cpp:343] Persisting action (26 bytes) to 
leveldb took 612090ns
I0807 23:56:31.613436 48658 replica.cpp:676] Persisted action at 5895697
I0807 23:56:31.613919 48642 replica.cpp:655] Replica received learned notice 
for position 5895697
I0807 23:56:31.614447 48642 leveldb.cpp:343] Persisting action (28 bytes) to 
leveldb took 511815ns
I0807 23:56:31.614461 48642 replica.cpp:676] Persisted action at 5895697
I0807 23:56:31.614470 48642 replica.cpp:661] Replica learned APPEND action at 
position 5895697
D0807 23:56:31.617 THREAD123 
org.apache.aurora.scheduler.log.mesos.MesosLog$LogStream$2.hasNext: Reading 
position 5889944 from the log
I0807 23:56:31.617883 48645 leveldb.cpp:438] Reading position from leveldb took 
218724ns
I0807 23:56:31.622 THREAD123 
org.apache.aurora.scheduler.storage.log.Entries.inflate: Inflating deflated log 
entry of size 385991
I0807 23:56:31.646 THREAD123 
org.apache.aurora.scheduler.storage.log.Entries.inflate: Inflated log entry 
size: 4010044
I0807 23:56:31.981 THREAD123 
org.apache.aurora.scheduler.storage.log.LogStorage.replay: Applying snapshot 
taken on Thu Aug 07 22:19:12 UTC 2014
I0807 23:56:31.984 THREAD123 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl$9.execute: Restoring 
snapshot.
D0807 23:56:31.984 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection: Opening JDBC 
Connection
D0807 23:56:31.984 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection: Checked out 
connection 1531749677 from pool.
D0807 23:56:31.985 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit: 
Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:aurora 
user=]
D0807 23:56:31.985 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==>  Preparing: DELETE 
FROM host_attribute_values; DELETE FROM host_attributes 
D0807 23:56:31.986 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==> Parameters: 
D0807 23:56:31.987 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: <==    Updates: 0
D0807 23:56:31.987 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.commit: Committing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:31.988 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.resetAutoCommit: Resetting 
autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:31.988 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.close: Closing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:31.988 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.pushConnection: Returned 
connection 1531749677 to pool.
D0807 23:56:31.992 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection: Opening JDBC 
Connection
D0807 23:56:31.992 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection: Checked out 
connection 1531749677 from pool.
D0807 23:56:31.992 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit: 
Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:aurora 
user=]
D0807 23:56:31.992 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==>  Preparing: SELECT 
a.id AS a_id, a.host AS a_host, a.mode AS a_mode, a.slave_id AS a_slave_id, 
a.slave_id AS v_slave_id, v.id AS v_id, v.name AS v_name, v.value AS v_value 
FROM host_attributes as a // Left outer join since a host attribute may have an 
empty set of values (no matching rows). LEFT OUTER JOIN host_attribute_values 
AS v ON v.host_attribute_id = a.id WHERE host = ? 
D0807 23:56:31.999 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==> Parameters: 
server1.example.com(String)
D0807 23:56:32.026 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: <==      Total: 0
D0807 23:56:32.028 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.resetAutoCommit: Resetting 
autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.029 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.close: Closing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.029 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.pushConnection: Returned 
connection 1531749677 to pool.
D0807 23:56:32.029 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection: Opening JDBC 
Connection
D0807 23:56:32.029 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection: Checked out 
connection 1531749677 from pool.
D0807 23:56:32.030 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit: 
Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:aurora 
user=]
D0807 23:56:32.030 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==>  Preparing: DELETE 
FROM host_attributes WHERE host = ? 
D0807 23:56:32.031 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==> Parameters: 
server1.example.com(String)
D0807 23:56:32.031 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: <==    Updates: 0
D0807 23:56:32.031 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.commit: Committing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.032 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.resetAutoCommit: Resetting 
autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.032 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.close: Closing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.032 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.pushConnection: Returned 
connection 1531749677 to pool.
D0807 23:56:32.032 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.openConnection: Opening JDBC 
Connection
D0807 23:56:32.032 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.popConnection: Checked out 
connection 1531749677 from pool.
D0807 23:56:32.033 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.setDesiredAutoCommit: 
Setting autocommit to false on JDBC Connection [conn0: url=jdbc:h2:mem:aurora 
user=]
D0807 23:56:32.033 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==>  Preparing: INSERT 
INTO host_attributes ( host, mode, slave_id ) VALUES ( ?, ?, ? ) 
D0807 23:56:32.035 THREAD123 
org.apache.ibatis.logging.jdbc.BaseJdbcLogger.debug: ==> Parameters: 
server1.example.com(String), 1(Integer), null
D0807 23:56:32.038 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.rollback: Rolling back JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.038 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.resetAutoCommit: Resetting 
autocommit to true on JDBC Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.038 THREAD123 
org.apache.ibatis.transaction.jdbc.JdbcTransaction.close: Closing JDBC 
Connection [conn0: url=jdbc:h2:mem:aurora user=]
D0807 23:56:32.039 THREAD123 
org.apache.ibatis.datasource.pooled.PooledDataSource.pushConnection: Returned 
connection 1531749677 to pool.
E0807 23:56:32.040 THREAD123 
org.apache.aurora.scheduler.SchedulerLifecycle$9.execute: Caught unchecked 
exception: org.apache.ibatis.exceptions.PersistenceException: 
### Error updating database.  Cause: org.h2.jdbc.JdbcSQLException: NULL not 
allowed for column "SLAVE_ID"; SQL statement:
INSERT INTO host_attributes (
      host,
      mode,
      slave_id
    ) VALUES (
      ?,
      ?,
      ?
    ) [23502-177]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: INSERT INTO host_attributes (       host,       mode,       slave_id   
  ) VALUES (       ?,       ?,       ?     )
### Cause: org.h2.jdbc.JdbcSQLException: NULL not allowed for column 
"SLAVE_ID"; SQL statement:
INSERT INTO host_attributes (
      host,
      mode,
      slave_id
    ) VALUES (
      ?,
      ?,
      ?
    ) [23502-177]
org.apache.ibatis.exceptions.PersistenceException: 
### Error updating database.  Cause: org.h2.jdbc.JdbcSQLException: NULL not 
allowed for column "SLAVE_ID"; SQL statement:
INSERT INTO host_attributes (
      host,
      mode,
      slave_id
    ) VALUES (
      ?,
      ?,
      ?
    ) [23502-177]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: INSERT INTO host_attributes (       host,       mode,       slave_id   
  ) VALUES (       ?,       ?,       ?     )
### Cause: org.h2.jdbc.JdbcSQLException: NULL not allowed for column 
"SLAVE_ID"; SQL statement:
INSERT INTO host_attributes (
      host,
      mode,
      slave_id
    ) VALUES (
      ?,
      ?,
      ?
    ) [23502-177]
        at 
org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:154)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.ibatis.session.SqlSessionManager$SqlSessionInterceptor.invoke(SqlSessionManager.java:285)
        at com.sun.proxy.$Proxy72.insert(Unknown Source)
        at 
org.apache.ibatis.session.SqlSessionManager.insert(SqlSessionManager.java:198)
        at org.apache.ibatis.binding.MapperMethod.execute(MapperMethod.java:51)
        at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:52)
        at org.apache.aurora.scheduler.storage.db.$Proxy77.insert(Unknown 
Source)
        at 
org.apache.aurora.scheduler.storage.db.DbAttributeStore.merge(DbAttributeStore.java:86)
        at 
org.apache.aurora.scheduler.storage.db.DbAttributeStore.saveHostAttributes(DbAttributeStore.java:69)
        at 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl$1.restoreFromSnapshot(SnapshotStoreImpl.java:83)
        at 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl$9.execute(SnapshotStoreImpl.java:271)
        at 
org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult.apply(Storage.java:131)
        at 
org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult$Quiet.apply(Storage.java:148)
        at 
org.apache.aurora.scheduler.storage.mem.MemStorage.doWork(MemStorage.java:175)
        at 
org.apache.aurora.scheduler.storage.mem.MemStorage.write(MemStorage.java:191)
        at 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl.applySnapshot(SnapshotStoreImpl.java:265)
        at 
com.twitter.common.inject.TimedInterceptor.invoke(TimedInterceptor.java:87)
        at 
org.apache.aurora.scheduler.storage.log.SnapshotStoreImpl.applySnapshot(SnapshotStoreImpl.java:65)
        at 
org.apache.aurora.scheduler.storage.backup.StorageBackup$StorageBackupImpl.applySnapshot(StorageBackup.java:208)
        at 
org.apache.aurora.scheduler.storage.backup.StorageBackup$StorageBackupImpl.applySnapshot(StorageBackup.java:68)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage.replay(LogStorage.java:368)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage$3.execute(LogStorage.java:349)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage$3.execute(LogStorage.java:346)
        at 
org.apache.aurora.scheduler.storage.log.LogManager$StreamManager.readFromBeginning(LogManager.java:188)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage.recover(LogStorage.java:346)
        at 
com.twitter.common.inject.TimedInterceptor.invoke(TimedInterceptor.java:87)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage$2.execute(LogStorage.java:326)
        at 
org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult.apply(Storage.java:131)
        at 
org.apache.aurora.scheduler.storage.Storage$MutateWork$NoResult$Quiet.apply(Storage.java:148)
        at 
org.apache.aurora.scheduler.storage.mem.MemStorage.doWork(MemStorage.java:175)
        at 
org.apache.aurora.scheduler.storage.mem.MemStorage.write(MemStorage.java:191)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage.write(LogStorage.java:537)
        at 
org.apache.aurora.scheduler.storage.log.LogStorage.start(LogStorage.java:320)
        at 
org.apache.aurora.scheduler.storage.CallOrderEnforcingStorage.start(CallOrderEnforcingStorage.java:92)
        at 
org.apache.aurora.scheduler.SchedulerLifecycle$6.execute(SchedulerLifecycle.java:248)
        at 
org.apache.aurora.scheduler.SchedulerLifecycle$6.execute(SchedulerLifecycle.java:244)
        at com.twitter.common.base.Closures$4.execute(Closures.java:120)
        at 
org.apache.aurora.scheduler.SchedulerLifecycle$9.execute(SchedulerLifecycle.java:423)
        at 
org.apache.aurora.scheduler.SchedulerLifecycle$9.execute(SchedulerLifecycle.java:419)
        at com.twitter.common.base.Closures$4.execute(Closures.java:120)
        at com.twitter.common.base.Closures$3.execute(Closures.java:98)
        at 
com.twitter.common.util.StateMachine.transition(StateMachine.java:191)
        at 
org.apache.aurora.scheduler.SchedulerLifecycle$SchedulerCandidateImpl.onLeading(SchedulerLifecycle.java:465)
        at 
com.twitter.common.zookeeper.SingletonService$1.onElected(SingletonService.java:168)
        at 
com.twitter.common.zookeeper.CandidateImpl$4.onGroupChange(CandidateImpl.java:155)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor.setMembers(Group.java:665)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor.watchGroup(Group.java:638)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor.access$900(Group.java:579)
        at com.twitter.common.zookeeper.Group$GroupMonitor$2.get(Group.java:600)
        at com.twitter.common.zookeeper.Group$GroupMonitor$2.get(Group.java:597)
        at com.twitter.common.util.BackoffHelper$1.get(BackoffHelper.java:109)
        at com.twitter.common.util.BackoffHelper$1.get(BackoffHelper.java:107)
        at 
com.twitter.common.util.BackoffHelper.doUntilResult(BackoffHelper.java:127)
        at 
com.twitter.common.util.BackoffHelper.doUntilSuccess(BackoffHelper.java:107)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor.tryWatchGroup(Group.java:622)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor.access$1100(Group.java:579)
        at 
com.twitter.common.zookeeper.Group$GroupMonitor$1.process(Group.java:591)
        at 
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:531)
        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:507)
Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column 
"SLAVE_ID"; SQL statement:
INSERT INTO host_attributes (
      host,
      mode,
      slave_id
    ) VALUES (
      ?,
      ?,
      ?
    ) [23502-177]
        at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
        at org.h2.message.DbException.get(DbException.java:178)
        at org.h2.message.DbException.get(DbException.java:154)
        at org.h2.table.Column.validateConvertUpdateSequence(Column.java:308)
        at org.h2.table.Table.validateConvertUpdateSequence(Table.java:726)
        at org.h2.command.dml.Insert.insertRows(Insert.java:152)
        at org.h2.command.dml.Insert.update(Insert.java:115)
        at org.h2.command.CommandContainer.update(CommandContainer.java:79)
        at org.h2.command.Command.executeUpdate(Command.java:254)
        at 
org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:199)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at 
org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:62)
        at com.sun.proxy.$Proxy120.execute(Unknown Source)
        at 
org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:44)
        at 
org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:69)
        at 
org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:48)
        at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:105)
        at 
org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:71)
        at 
org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:152)
        ... 63 more

I0807 23:56:32.041 THREAD123 
com.twitter.common.util.StateMachine$Builder$1.execute: SchedulerLifecycle 
state machine transition LEADER_AWAITING_REGISTRATION -> DEAD
D0807 23:56:32.045 THREAD122 
org.apache.zookeeper.ClientCnxn$SendThread.readResponse: Got notification 
sessionid:0x476a37cafc248d
D0807 23:56:32.045 THREAD122 
org.apache.zookeeper.ClientCnxn$SendThread.readResponse: Got WatchedEvent 
state:SyncConnected type:NodeDeleted 
path:/twitter/service/mesos/test/scheduler/singleton_candidate_0000014666 for 
sessionid 0x476a37cafc248d
D0807 23:56:32.046 THREAD122 
org.apache.zookeeper.ClientCnxn$SendThread.readResponse: Got notification 
sessionid:0x476a37cafc248d
D0807 23:56:32.046 THREAD122 
org.apache.zookeeper.ClientCnxn$SendThread.readResponse: Got WatchedEvent 
state:SyncConnected type:NodeChildrenChanged 
path:/twitter/service/mesos/test/scheduler for sessionid 0x476a37cafc248d
D0807 23:56:32.046 THREAD122 
org.apache.zookeeper.ClientCnxn$SendThread.readResponse: Reading reply 
sessionid:0x476a37cafc248d, packet:: clientPath:null serverPath:null 
finished:false header:: 13,2  replyHeader:: 13,14925011373570,0  request:: 
'/twitter/service/mesos/test/scheduler/singleton_candidate_0000014666,-1  
response:: null
I0807 23:56:32.047 THREAD123 com.twitter.common.application.Lifecycle.shutdown: 
Shutting down application
I0807 23:56:32.047 THREAD123 
com.twitter.common.application.ShutdownRegistry$ShutdownRegistryImpl.execute: 
Executing 6 shutdown commands.
I0807 23:56:32.049 THREAD123 
org.apache.aurora.scheduler.app.AppModule$RegisterShutdownStackPrinter$2.execute:
 Shutdown initiated by: Thread: main-EventThread (id 123)
java.lang.Thread.getStackTrace(Thread.java:1589)
  
org.apache.aurora.scheduler.app.AppModule$RegisterShutdownStackPrinter$2.execute(AppModule.java:150)
  
com.twitter.common.application.ShutdownRegistry$ShutdownRegistryImpl.execute(ShutdownRegistry.java:88)
  com.twitter.common.application.Lifecycle.shutdown(Lifecycle.java:92)
  
org.apache.aurora.scheduler.SchedulerLifecycle$8.execute(SchedulerLifecycle.java:380)
  
org.apache.aurora.scheduler.SchedulerLifecycle$8.execute(SchedulerLifecycle.java:352)
  com.twitter.common.base.Closures$4.execute(Closures.java:120)
  com.twitter.common.base.Closures$3.execute(Closures.java:98)
  com.twitter.common.util.StateMachine.transition(StateMachine.java:191)
  
org.apache.aurora.scheduler.SchedulerLifecycle$9.execute(SchedulerLifecycle.java:426)
  
org.apache.aurora.scheduler.SchedulerLifecycle$9.execute(SchedulerLifecycle.java:419)
  com.twitter.common.base.Closures$4.execute(Closures.java:120)
  com.twitter.common.base.Closures$3.execute(Closures.java:98)
  com.twitter.common.util.StateMachine.transition(StateMachine.java:191)
  
org.apache.aurora.scheduler.SchedulerLifecycle$SchedulerCandidateImpl.onLeading(SchedulerLifecycle.java:465)
  
com.twitter.common.zookeeper.SingletonService$1.onElected(SingletonService.java:168)
  
com.twitter.common.zookeeper.CandidateImpl$4.onGroupChange(CandidateImpl.java:155)
  com.twitter.common.zookeeper.Group$GroupMonitor.setMembers(Group.java:665)
  com.twitter.common.zookeeper.Group$GroupMonitor.watchGroup(Group.java:638)
  com.twitter.common.zookeeper.Group$GroupMonitor.access$900(Group.java:579)
  com.twitter.common.zookeeper.Group$GroupMonitor$2.get(Group.java:600)
  com.twitter.common.zookeeper.Group$GroupMonitor$2.get(Group.java:597)
  com.twitter.common.util.BackoffHelper$1.get(BackoffHelper.java:109)
  com.twitter.common.util.BackoffHelper$1.get(BackoffHelper.java:107)
  com.twitter.common.util.BackoffHelper.doUntilResult(BackoffHelper.java:127)
  com.twitter.common.util.BackoffHelper.doUntilSuccess(BackoffHelper.java:107)
  com.twitter.common.zookeeper.Group$GroupMonitor.tryWatchGroup(Group.java:622)
  com.twitter.common.zookeeper.Group$GroupMonitor.access$1100(Group.java:579)
  com.twitter.common.zookeeper.Group$GroupMonitor$1.process(Group.java:591)
  org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:531)
  org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:507)
I0807 23:56:32.050 THREAD123 
com.twitter.common.stats.TimeSeriesRepositoryImpl$3.execute: Variable sampler 
shut down
I0807 23:56:32.050 THREAD123 
org.apache.aurora.scheduler.http.JettyServerModule$HttpServerLauncher$1.execute:
 Shutting down embedded http server
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to