h2oai / steam

DEPRECATED Build, manage and deploy H2O's high-speed machine learning models.
http://www.h2o.ai/download/
GNU Affero General Public License v3.0
61 stars 30 forks source link

Steam-1.1.6 - Error: unknown flag: --admin-name #389

Open aquasika opened 6 years ago

aquasika commented 6 years ago

Hello,

I have following this user guide to install and run steam locally - http://docs.h2o.ai/steam/latest-stable/Installation.html#installing-and-starting-steam-on-a-local-machine

However, I get error when running

./steam serve master --admin-name=admin --admin-password=admin012

$ ./steam serve master --admin-name=admin --admin-password=admin012

Error: unknown flag: --admin-name Usage: steam serve master [flags]

Flags:
      --authentication-config="ldap.toml": Configuration file for authentication (used in "basic-ldap")
      --authentication-provider="basic": Authentication mechanism for client logins (one of "basic", "digest"), or "basic-ldap"
      --cluster-proxy-address=":9001": Cluster proxy address ("<ip>:<port>" or ":<port>")
      --compilation-service-address=":8080": Model compilation service address ("<ip>:<port>")
      --prediction-service-host="": Hostname to start prediction services on ("<ip>")
      --prediction-service-port-range="1025:65535": Specified port range to create prediction services on. ("<from>:<to>")
      --profile[=false]: Enable Go profiler
      --superuser-name="": Set superuser username (required for first-time-use only)
      --superuser-password="": Set superuser password (required for first-time-use only)
      --web-address=":9000": Web server address ("<ip>:<port>" or ":<port>").
      --web-tls-cert-path="": Web server TLS certificate file path (optional).
      --web-tls-key-path="": Web server TLS key file path (optional).
      --working-directory="var/master": Working directory for application files.
      --yarn-enable-kerberos[=false]: Enable Kerberos authentication. Requires username and keytab.

Global Flags:
  -v, --verbose[=false]: verbose output

unknown flag: --admin-name

Could this be a problem with the latest version?

Thanks, Abhishek

aquasika commented 6 years ago

Looks like documentation is wrong.

I got around this by running command as

./steam serve master

and could login as superuser/superuser

aquasika commented 6 years ago

Leaving this open to fix the documentation.