Project: springxd
Issue XD-1582: Temporary race condition between deployment and "runtime modules" command
The "runtime modules" command can show a failure between the deployment command and the actual deployment on the container node, especially if there is a network hop. This clears up once the module is fully deployed. {code} xd:>stream create --name trois3 --definition "time | jdbc" --deploy Created and deployed new stream 'trois3' xd:>runtime modules Command failed org.springframework.xd.rest.client.impl.SpringXDException: java.lang.RuntimeException: org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /xd/deployments/modules/bc95653e-9da5-4738-beb2-f215e4003318/trois3.source.time-0/metadata xd:>runtime modules Module Container Id Options -------------------- ------------------------------------ ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- trois3.source.time-0 bc95653e-9da5-4738-beb2-f215e4003318 {format=yyyy-MM-dd HH:mm:ss, fixedDelay=1} wintu.sink.jdbc-1 bc95653e-9da5-4738-beb2-f215e4003318 {tableName=${xd.stream.name}, url=jdbc:hsqldb:hsql://carbon:9102/xdjob, columns=payload, driverClassName=org.hsqldb.jdbc.JDBCDriver, initializeDatabase=false, initializerScript=init_db.sql, username=sa} trois3.sink.jdbc-1 d0ad8eda-be27-46ac-86be-e43b5d9921af {tableName=${xd.stream.name}, url=jdbc:hsqldb:hsql://carbon:9102/xdjob, columns=payload, driverClassName=org.hsqldb.jdbc.JDBCDriver, initializeDatabase=false, initializerScript=init_db.sql, username=sa} wintu.source.time-0 befa5f27-aac3-4d94-9171-77c07036ec75 {format=yyyy-MM-dd HH:mm:ss, fixedDelay=1} {code}
Story points: 3