cdap-cli create stream should indicate when stream already exists
Description
Release Notes
None
Activity
Show:
Priyanka Nambiar September 11, 2015 at 1:58 AM
Moving out of 3.2, will be fixed in next release CDAP 3.3
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Sagar Kapare
Sagar KapareReporter
Derek Wood
Derek WoodLabels
Affects versions
Components
Priority
Created August 19, 2015 at 5:08 PM
Updated December 9, 2020 at 8:59 PM
Resolved June 9, 2020 at 1:26 AM
The cli makes no distinction between successfully creating a stream, and doing nothing because the stream already exists:
cdap (http://myhost:10000/default)> create stream dwtest Successfully created stream with ID 'dwtest' cdap (http://myhost:10000/default)> create stream dwtest Successfully created stream with ID 'dwtest' cdap (http://myhost:10000/default)>
first invocation was a true create. second invocation reports the same success message, which can be confusing to user.