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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to