mirror of https://github.com/apache/druid.git
fix segment partition deletion bug
This commit is contained in:
parent
2a199fd61d
commit
e1366aa4c4
|
@ -163,7 +163,7 @@ public class SingleSegmentLoader implements SegmentLoader
|
||||||
@Override
|
@Override
|
||||||
public void cleanup(DataSegment segment) throws SegmentLoadingException
|
public void cleanup(DataSegment segment) throws SegmentLoadingException
|
||||||
{
|
{
|
||||||
File cacheFile = getLocalStorageDir(segment).getParentFile();
|
File cacheFile = getLocalStorageDir(segment);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
log.info("Deleting directory[%s]", cacheFile);
|
log.info("Deleting directory[%s]", cacheFile);
|
||||||
|
|
Loading…
Reference in New Issue