Facing java.io.EOFException: read past EOF exception and org.apache.lucene.index.CorruptIndexException: compound sub-files must have a valid codec header and footer: file is too small (0 bytes) in elastic 7.17.5

Failure to downloadthe geoip file is unlrelated to the corruption issue. I suspect that your issue is related to the type of storage you are using. See this recent thread for more details.