samarth
08/26/2020, 6:15 AMsamarth
08/26/2020, 12:47 PMpinot-tools
and use ./pinot-admin.sh ConvertPinotSegment
to get data from segment. however when I try to create a segment from same json file which was generate by ``ConvertPinotSegment`` I get below exception:
2020/08/26 18:11:02.352 ERROR [PinotAdministrator] [main] Exception caught:
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Value: vNGrzPyoR5w= is not Hex encoded
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:?]
at java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[?:?]
at org.apache.pinot.tools.admin.command.CreateSegmentCommand.execute(CreateSegmentCommand.java:264) ~[classes/:?]
at org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:150) [classes/:?]
at org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:162) [classes/:?]
Caused by: java.lang.IllegalArgumentException: Value: vNGrzPyoR5w= is not Hex encoded
at org.apache.pinot.spi.utils.BytesUtils.toBytes(BytesUtils.java:39) ~[classes/:?]
at org.apache.pinot.common.utils.PinotDataType$9.toBytes(PinotDataType.java:344) ~[classes/:?]
at org.apache.pinot.common.utils.PinotDataType$10.convert(PinotDataType.java:386) ~[classes/:?]
I used ./pinot-admin.sh CreateSegment
cc @Jackie looking at commits in file, you might have some context. thankssamarth
08/26/2020, 1:13 PMJSON
format, and works fine for AVRO
Kishore G
Jackie
08/26/2020, 5:43 PMsamarth
08/26/2020, 5:46 PM