fix segment partition deletion bug

This commit is contained in:
Fangjin Yang 2013-04-01 14:26:02 -07:00 committed by Gian Merlino
parent 2a199fd61d
commit e1366aa4c4
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public class SingleSegmentLoader implements SegmentLoader
@Override
public void cleanup(DataSegment segment) throws SegmentLoadingException
{
File cacheFile = getLocalStorageDir(segment).getParentFile();
File cacheFile = getLocalStorageDir(segment);
try {
log.info("Deleting directory[%s]", cacheFile);