You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/10/27 23:17:35 UTC

[GitHub] [incubator-pinot] sekikn opened a new pull request #4746: Fix a wrong option name for AddSchema in the information log

sekikn opened a new pull request #4746: Fix a wrong option name for AddSchema in the information log
URL: https://github.com/apache/incubator-pinot/pull/4746
 
 
   I ran the quickstart and saw the following logs:
   
   ```
   $ bin/quick-start-offline.sh 
   
   (snip)
   
   ***** Adding baseballStats schema *****
   Executing command: AddSchema -controllerHost 192.168.0.6 -controllerPort 9000 -schemaFilePath /home/sekikn/repos/incubator-pinot/pinot-distribution/target/apache-pinot-incubating-0.2.0-SNAPSHOT-bin/apache-pinot-incubating-0.2.0-SNAPSHOT-bin/quickStartData1572217342286/baseballStats_schema.json -exec
   ```
   
   Then I tried to re-run the same command manually, but encountered the following error:
   
   ```
   $ JAVA_OPTS="-Dpinot.admin.system.exit=true" bin/pinot-admin.sh AddSchema -controllerHost 192.168.0.6 -controllerPort 9000 -schemaFilePath /home/sekikn/repos/incubator-pinot/pinot-distribution/target/apache-pinot-incubating-0.2.0-SNAPSHOT-bin/apache-pinot-incubating-0.2.0-SNAPSHOT-bin/quickStartData1572217342286/baseballStats_schema.json -exec
   08:04:18.867 PinotAdministrator - Error: "-schemaFilePath" is not a valid option
   ```
   
   The right option name is `-schemaFile`, not `-schemaFilePath`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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