2

私は現在、CLI 経由でストリームセット拡張機能をローカルにインストールするコードを書いています。私が作成したいチェックの 1 つは、拡張機能がローカルにインストールされているストリームセットのバージョンで機能することを確認することです。

CLI からバージョンを照会しようとすると、これが発生します。

:) streamsets --version

Invalid sub-command

streamsets <SUB_COMMAND> [<SUB_COMMAND_ARGUMENTS>]

  Sub-commands:

    dc: Starts the Data Collector

    create-dc: Creates new instance of Data Collector

    cli: Data Collector CLI

    jks-cs: Java Keystore Credential Store

    stagelibs: Data Collector Stage library installer

    show-vault-id: Shows the user-id to authorize in Vault

    setup-mapr: Enables the MapR stage library for the detected
                MapR installation.
:( streamsets cli --version
Found unexpected parameters: [--version]
) streamsets dc --version

Invalid option(s)

streamsets dc <OPTIONS>

  Options:
    -verbose          : prints out Data Collector detailed environment settings
    -exec             : starts Data Collector JVM within the same process of the script
    -skipenvsourcing  : skips the sourcing of the libexec/sdc-env.sh file

ファイル システムを走査してファイルを見つける以外に、どのバージョンのストリームセットがインストールされているかを調べるにはどうすればよいVERSIONですか?

4

1 に答える 1