Upload datasource filename conflicts can prevent feed creation

Description

1. Create a datasource for Upload. Choose /var/upload as location
2. Create Feed A and for Target choose to upload a sample file "userdata1.csv", define the schema and deploy the feed.
3. Create Feed B that differs in some way to Feed A: with different source location or different standardizers or storage parameters and runtimes.
4. For target upload the same sample file to /var/upload data source. Note the error:

Note: files previously uploaded to /var/upload are not browseable and cannot be used again.
Note: name chosen for upload cannot be changed from the name as it is found on local file system

Work Around: to upload the same data file for different uses in Kylo, you must rename the file on your local filesystem, or create more than one Upload location datasource.

Suggestion: keep name as metadata for the file and generate a unique ID in the Upload datasource location... or.. regenerate the ID/directory used for the upload for every screen where uploads are performed.
In this case the directory created was named "ee8f77ac-6d79-4820-ac3a-239d05c837e8" and then second time we uploaded it was still uploading to the "ee8f77..." directory.

Environment

None
Done

Assignee

Scott Reisdorf

Reporter

Tim Harsch

Labels

None

Reviewer

None

Story point estimate

None

Components

Sprint

None

Fix versions

Affects versions

Priority

Medium