lgo commented on issue #5463:
URL: 
https://github.com/apache/incubator-pinot/issues/5463#issuecomment-669370332


   +1! I was running into this while trying to upload a schema using 
`pinot-admin.sh AddSchema` and was just running into
   
   ```
   Got Exception to upload Pinot Schema: a_schema
   org.apache.pinot.common.exception.HttpErrorStatusException: Got error status 
code: 400 (Bad Request) with reason: "Cannot add invalid schema: a_schema" 
while sending request: http://10.100.26.49:9000/schemas to controller: <...>, 
version: Unknown
        at 
org.apache.pinot.common.utils.FileUploadDownloadClient.sendRequest(FileUploadDownloadClient.java:375)
 
~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-a8fbdaeffaf99c1df4258f60ecbbab1f553d7696]
        at 
org.apache.pinot.common.utils.FileUploadDownloadClient.addSchema(FileUploadDownloadClient.java:426)
 
~[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-a8fbdaeffaf99c1df4258f60ecbbab1f553d7696]
        at 
org.apache.pinot.tools.admin.command.AddSchemaCommand.execute(AddSchemaCommand.java:120)
 
[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-a8fbdaeffaf99c1df4258f60ecbbab1f553d7696]
        at 
org.apache.pinot.tools.admin.PinotAdministrator.execute(PinotAdministrator.java:156)
 
[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-a8fbdaeffaf99c1df4258f60ecbbab1f553d7696]
        at 
org.apache.pinot.tools.admin.PinotAdministrator.main(PinotAdministrator.java:168)
 
[pinot-all-0.5.0-SNAPSHOT-jar-with-dependencies.jar:0.5.0-SNAPSHOT-a8fbdaeffaf99c1df4258f60ecbbab1f553d7696]
   ```
   
   (which was a similar problem, the schema accidentally had a `STRING` in 
`dimensionFields`)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to