kaijianding opened a new pull request #6159: fix compress fail when file size 
is Integer.MAX_VALUE
URL: https://github.com/apache/incubator-druid/pull/6159
 
 
   The max file size allowed for a single smoosh file is Integer.MAX_VALUE as 
coded in `GenericIndexedWriter` and `FileSmoosher`
   
       if (size > maxChunkSize) {
         throw new IAE("Asked to add buffers[%,d] larger than configured 
max[%,d]", size, maxChunkSize);
       }
   
   but it fails if the file size is Integer.MAX_VALUE when compress
   
         if (file.length() >= Integer.MAX_VALUE) {
           zipOut.finish();
           throw new IOE("file[%s] too large [%,d]", file, file.length());
         }
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]

Reply via email to