Anand Sainath
02/10/2022, 5:57 PMAnand Sainath
02/10/2022, 5:58 PMcurl -X POST -F file=@dt=2021-06-28/LATEST.parquet \
-H "Content-Type: multipart/form-data" \
"<http://localhost:9000/ingestFromFile?tableNameWithType=table_name_OFFLINE&batchConfigMapStr=%7B%22dataFormat%22%3A%22parquet%22%7D>."Anand Sainath
02/10/2022, 6:00 PMCaught exception when ingesting file into table: table_name_OFFLINE. null
java.lang.NullPointerException: null
at org.apache.pinot.controller.util.FileIngestionHelper.buildSegmentAndPush(FileIngestionHelper.java:109) ~[pinot-all-0.9.3-jar-with-dependencies.jar:0.9.3-e23f213cf0d16b1e9e086174d734a4db868542cb]
at org.apache.pinot.controller.api.resources.PinotIngestionRestletResource.ingestData(PinotIngestionRestletResource.java:200) ~[pinot-all-0.9.3-jar-with-dependencies.jar:0.9.3-e23f213cf0d16b1e9e086174d734a4db868542cb]
at org.apache.pinot.controller.api.resources.PinotIngestionRestletResource.ingestFromFile(PinotIngestionRestletResource.java:129) ~[pinot-all-0.9.3-jar-with-dependencies.jar:0.9.3-e23f213cf0d16b1e9e086174d734a4db868542cb]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory.lambda$static$0(ResourceMethodInvocationHandlerFactory.java:52) ~[pinot-all-0.9.3-jar-with-dependencies.jar:0.9.3-e23f213cf0d16b1e9e086174d734a4db868542cb]Anand Sainath
02/10/2022, 6:45 PMjava.lang.RuntimeException: Failed to decode Pinot schema from json string
Looks like the job is expecting JSON back, but it’s getting HTML from the controller.Kishore G
Anand Sainath
02/10/2022, 7:07 PMjava.lang.RuntimeException: Caught exception during running - org.apache.pinot.plugin.ingestion.batch.standalone.SegmentGenerationJobRunner
This stems from the error below.
Caused by: java.io.IOException: Failed to copy full contents from /input/path to /output/pathAnand Sainath
02/10/2022, 7:10 PMAnand Sainath
02/10/2022, 7:11 PMjava.lang.IllegalStateException: Input path {} does not exist. [/var/folders/mz/frzjrqzx0gb8g6hn2pzqs4k80000gn/T/pinot-4ac6efdb-23a4-4ec3-a920-ae97a66e419c/input/LATEST.parquet]Mayank
Anand Sainath
02/10/2022, 7:33 PMAnand Sainath
02/10/2022, 7:36 PMAnand Sainath
02/11/2022, 12:09 AMAnand Sainath
02/11/2022, 12:17 AMAnand Sainath
02/11/2022, 12:17 AMXiang Fu
Anand Sainath
02/11/2022, 2:01 AMLaunchDataIngestionJob script. Doesn’t look like the errors are related. This issue is because the name of the individual files is the same.Xiang Fu
Anand Sainath
02/14/2022, 6:09 AMMayank
Xiang Fu