i fixit. thanks


On Sat, May 17, 2014 at 6:30 PM, Claudio Tajtelbaum <ctaity@gmail.com>wrote:

> yes i dont finish yet, i pull because i need help with this:
> https://groups.google.com/forum/#!topic/druid-development/m79HegazV5M
>
>
>
>
>
>
>
>
> On Sat, May 17, 2014 at 6:22 PM, xvrl <notifications@github.com> wrote:
>
>> In
>> gridfs-storage/src/main/java/io/druid/storage/gridfs/GridfsDataSegmentPuller.java:
>>
>> > +
>> > +        long startTime = System.currentTimeMillis();
>> > +        final File outFile = new File(outDir, "index.zip");
>> > +        try {
>> > +            try {
>> > +                log.info("Writing to [%s]", outFile.getAbsolutePath());
>> > +                this.gridFs.findOne(key).writeTo(outFile);
>> > +                CompressionUtils.unzip(outFile, outDir);
>> > +            } catch (Exception e) {
>> > +                FileUtils.deleteDirectory(outDir);
>> > +            }
>> > +        } catch (Exception e) {
>> > +            throw new SegmentLoadingException(e, e.getMessage());
>> > +        }
>> > +        log.info
>> ("Pull of file[%s] completed in %,d millis (%s bytes)", key, System.currentTimeMillis() - startTime);
>> > +        //log.info("Pull of file[%s] completed in %,d millis (%s bytes)", key, System.currentTimeMillis() - startTime, meta.getObjectSize());
>>
>> let's remove this line if it's not used
>>
>> --
>> Reply to this email directly or view it on GitHub<https://github.com/metamx/druid/pull/551/files#r12770750>
>> .
>>
>
>