Project: springxd
Issue XD-3345: Job creation fails saying it exists (there isn't any job with that jobName)
Running Spring-XD in singlenode using Pivotal HD 2.1 as the Hadoop Distribution. xd-singlenode --hadoopDistro phd21 I was testing jdbchdfs job definitions. I am seeing this error that the job exists when in reality, there is no job with that jobName. xd:>job create testEmployeeJobAgain1 --definition "jdbchdfs --sql='select employee_id, employee_name, employer from EMPLOYEE' --url=jdbc:oracle:thin:@//localhost:1521/orcl --driverClassName=oracle.jdbc.OracleDriver --username=springxd --password=xdpwd --testOnBorrow=false --directory=/usr/swatest1" Command failed org.springframework.xd.rest.client.impl.SpringXDException: Batch Job with the name testEmployeeJobAgain1 already exists xd:>job list Job Name Job Definition Status -------- -------------- ------
Story points: 2