Qianbo Wang
09/19/2021, 9:13 PMpinot-admin.sh LaunchDataIngestionJob -jobSpecFile batch_ingestion.yaml
and I can see the output shows it returned 200 and thought it was successful:
Start pushing segments:
...
Response for pushing table enriched_invoices_experiment segment enriched_invoices_experiment_OFFLINE_1595614484_1631217493_0 to location <http://10.124.9.8:9000> - 200: {"status":"Successfully uploaded segment: enriched_invoices_experiment_OFFLINE_1595614484_1631217493_0 of table: enriched_invoices_experiment"}
However, I don’t see it showing up by querying the table. Could you please give some pointers where I could look up the issue? I checked the logs and didn’t find errors.Mayank
Mayank
Qianbo Wang
09/19/2021, 9:18 PMcurl -X GET "http://<pinot-endpoint>.internal/segments/enriched_invoices_experiment?type=OFFLINE" -H "accept: application/json"Qianbo Wang
09/19/2021, 9:19 PMQianbo Wang
09/19/2021, 9:28 PMcurl -X GET "<http://pinot-us-central1.cloudkitchens-staging.internal/tables/><tablename>/externalview" -H "accept: application/json"Mayank
Qianbo Wang
09/19/2021, 9:35 PM"OFFLINE":{},"REALTIME":null}Mayank
Qianbo Wang
09/19/2021, 9:53 PM✗ curl -X GET "<http://10.124.13.8:9000/tables/enriched_invoices_experiment/idealstate>" -H "accept: application/json"
{"OFFLINE":{},"REALTIME":null}%Qianbo Wang
09/19/2021, 10:01 PM│ istio-proxy [2021-09-19T21:59:31.725Z] "POST /v2/segments?tableName=enriched_invoices_experiment HTTP/1.1" 200 - via_upstream - "-" 7541946 143 14815 105 "-" "Apache-HttpClient/4.5.9 (Java/1.8.0_222)" "934c7966-4e04-48a1-9219-7de02cab41df" │
│ "10.124.9.8:9000" "10.124.9.8:9000" inbound|9000|| 127.0.0.6:52717 10.124.9.8:9000 10.44.3.130:55565 - defaultMayank
Mayank
Mayank
Qianbo Wang
09/19/2021, 10:20 PM✗ curl -X GET "<http://10.124.13.8:9000/debug/tables/enriched_invoices_experiment/idealstate?verbosity=1>" -H "accept: application/json"
{"code":404,"error":"HTTP 404 Not Found"}%
does it mean the table not exist?Qianbo Wang
09/19/2021, 10:31 PMMay be you don’t have any servers tagged with the tag in table?could you please explain more about this?
Qianbo Wang
09/19/2021, 10:59 PM✗ curl -X GET "<http://10.124.13.8:9000/segments/enriched_invoices_experiment>" -H "accept: application/json"
[{"OFFLINE":["enriched_invoices_experiment_OFFLINE_1595614484_1631217493_0","enriched_invoices_experiment_OFFLINE_1614584553_1629482988_0"]}]%Qianbo Wang
09/19/2021, 10:59 PMQianbo Wang
09/19/2021, 11:36 PMMayank
Mayank
Qianbo Wang
09/19/2021, 11:53 PM