arjun4084346 commented on a change in pull request #3387:
URL: https://github.com/apache/gobblin/pull/3387#discussion_r703954443
##########
File path:
gobblin-data-management/src/main/java/org/apache/gobblin/data/management/trash/Trash.java
##########
@@ -94,6 +97,8 @@ public Path getTrashLocation() throws IOException {
*/
protected Path createTrashLocation(FileSystem fs, Properties props, String
user) throws IOException {
Path trashLocation;
+ new DestinationDatasetHandlerService(new State(props), false, null)
Review comment:
Yes, is supposed to add configs to props. I thought about having a
direct method to determine trash location, but we then will need to add a
method in interface DestinationDatasetHandler. Should i do it that way?
Another way is to create a custom trash factory.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]