Input is not in the .gz format

1,300 views
Skip to first unread message

dumitr...@gmail.com

unread,
Nov 20, 2015, 11:46:50 AM11/20/15
to Pinot Users
Hi,

I'm trying to upload some segments into Pinot and I'm getting:

Caught exception in file upload
java.io.IOException: Input is not in the .gz format
at org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.init(GzipCompressorInputStream.java:162)
at org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.<init>(GzipCompressorInputStream.java:135)
at org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream.<init>(GzipCompressorInputStream.java:100)
at com.linkedin.pinot.common.utils.TarGzCompressionUtils.unTar(TarGzCompressionUtils.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)


I could not find any reference to segments being in .gz format in the docs.
Any ideas?


Thanks in advance,
Iulian


kishore g

unread,
Nov 20, 2015, 11:56:24 AM11/20/15
to dumitr...@gmail.com, Pinot Users
Can you verify that the file can be untarred? Does this work?

tar -xzf file_you_are_uploading

--
You received this message because you are subscribed to the Google Groups "Pinot Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pinot_users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pinot_users/72d2ba65-97e6-4f29-aaf9-73a6f0d686c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Iulian Dumitru

unread,
Nov 23, 2015, 8:35:35 AM11/23/15
to Pinot Users, dumitr...@gmail.com
Hi,

It was a misconfiguration on my side.
Indeed I found out the segments are stored as gz files.


Thanks,
Iulian
Reply all
Reply to author
Forward
0 new messages