Project: springxd
Issue XD-1779: Exception thrown when running undeploy and redeploy a stream tests
Environment: Running on local Mac Instance: XD Deployment Type: XD-SingleNode SHA: 66c28e3 While running a test that deployed and undeployed a stream over 500 times the following exception is thrown: org.apache.zookeeper.KeeperException$NotEmptyException: KeeperErrorCode = Directory not empty for /xd/deployments/modules/54ef010f-3d5d-4f86-a50f-44453e48633d/streamfoo.source.http-0 [Steps to reproduce] * Created the following Job and Stream using xd-shell: ** stream create streamfoo --definition "http --port=9000 | hdfs --directory=/xd/streamfoo --fileName=streamfoo " ** job create foo --definition "hdfsjdbc --resources=/xd/streamfoo/*.txt --names=data --tableName=streamfoo --initializeDatabase=true " --deploy * Repeated the following 500 times using xd-shell --cmdfile ** Ran a script that would deploy streamfoo ** Ran a script that would execute the following 25 times *** http post --data "hello world0 " ** Ran a script to undeploy streamfoo ** Ran a script that would launch the job [Artifacts] The logfile of the singlenode is attached.
Story points: 10