clintropolis commented on a change in pull request #9519: Ability to Delete
task logs and segments from Google Storage
URL: https://github.com/apache/druid/pull/9519#discussion_r394189223
##########
File path:
extensions-core/google-extensions/src/main/java/org/apache/druid/storage/google/GoogleDataSegmentKiller.java
##########
@@ -93,8 +101,23 @@ private void deleteIfPresent(String bucket, String path)
throws IOException
}
@Override
- public void killAll()
+ public void killAll() throws IOException
{
- throw new UnsupportedOperationException("not implemented");
+ LOG.info("Deleting all segment files from gs location [bucket: '%s'
prefix: '%s']",
+ accountConfig.getBucket(), accountConfig.getPrefix()
Review comment:
```suggestion
LOG.info(
"Deleting all segment files from gs location [bucket: '%s' prefix:
'%s']",
accountConfig.getBucket(),
accountConfig.getPrefix()
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]