mapr-demos / mapr-fs-replication-extension

MapR FS real time replication and API
Apache License 2.0
0 stars 0 forks source link

monitor-fs-ui throws "unrecognized option: ---server.port=3000" #50

Closed mkieboom closed 8 years ago

mkieboom commented 8 years ago

When launching the monitor administration UI as follows:

java -jar /home/mapr/mapr-fs-replication-extension/mapr-monitor-fs-ui/target/mapr-monitor-fs-ui-1.0-SNAPSHOT.jar --server.port=3000

the applicatione exits with the following error: ERROR com.mapr.fs.application.ApplicationStarter - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --server.port=3000

Used latest github sourcecode.

tgrall commented 8 years ago

Try --http.server.port

On Wednesday, 14 September 2016, Martijn Kieboom notifications@github.com wrote:

When launching the monitor administration UI as follows:

java -jar /home/mapr/mapr-fs-replication-extension/mapr- monitor-fs-ui/target/mapr-monitor-fs-ui-1.0-SNAPSHOT.jar --server.port=3000

the applicatione exits with the following error: ERROR com.mapr.fs.application.ApplicationStarter - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --server.port=3000

Used latest github sourcecode.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mapr-demos/mapr-fs-replication-extension/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhCQtm282bEysa6PP8cNsxMn7KBI78hks5qp5ZUgaJpZM4J8chL .

mkieboom commented 8 years ago

same issue: Unrecognized option: --http.server.port=3000

consumer administration UI throws same error on server.port or http.server.port

On Wed, Sep 14, 2016 at 8:41 AM, Tugdual Grall notifications@github.com wrote:

Try --http.server.port

On Wednesday, 14 September 2016, Martijn Kieboom <notifications@github.com

wrote:

When launching the monitor administration UI as follows:

java -jar /home/mapr/mapr-fs-replication-extension/mapr- monitor-fs-ui/target/mapr-monitor-fs-ui-1.0-SNAPSHOT.jar --server.port=3000

the applicatione exits with the following error: ERROR com.mapr.fs.application.ApplicationStarter - org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: --server.port=3000

Used latest github sourcecode.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mapr-demos/mapr-fs-replication-extension/issues/50, or mute the thread https://github.com/notifications/unsubscribe-auth/ AAhCQtm282bEysa6PP8cNsxMn7KBI78hks5qp5ZUgaJpZM4J8chL .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mapr-demos/mapr-fs-replication-extension/issues/50#issuecomment-246920414, or mute the thread https://github.com/notifications/unsubscribe-auth/AJSifsCBESutI835zbo9UtUP3wzbTzMFks5qp5b_gaJpZM4J8chL .

vstorona-origin commented 8 years ago

This issue appears because we add CLI to all modules and register only one option [-p],[--path] which set path to config file. In current version we can set server port only in application.properties file.

mkieboom commented 8 years ago

Thanks Vlad. Which config parameters do I need to make for both admin UI's in the config file?

On 14 sep. 2016, at 11:37, Vlad Storona notifications@github.com wrote:

This issue appears because we add CLI to all modules and register only one option [-p],[--path] which set path to config file. In current version we can set server port only in config file.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

vstorona-origin commented 8 years ago

Sorry, i made mistake, this config option in the application.property file but not in the config file. You need set server.port option in the application.property file, which located in resource folder in ui modules.

dmitriyHavrilovich commented 8 years ago

@mkieboom did you started app ? we are making some improvments to support s3 so there can be some bugs

mkieboom commented 8 years ago

unfortunately haven't had the time to check it due to other work. Will look into it tomorrow morning. Thanks.

dmitriyHavrilovich commented 8 years ago

@mkieboom see updated installation guide for details

mkieboom commented 8 years ago

@dmitriyHavrilovich many thanks for the updated installation guide, very helpful! I've got the latest code up and running for syncing between MapR clusters. Haven't tested S3 yet but will look into that later. Closing this ticket now.