forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2.8 KiB
2.8 KiB
Interconnecting Flink with OBS
Before performing the following operations, ensure that you have configured a storage-compute decoupled cluster by referring to Configuring a Storage-Compute Decoupled Cluster (Agency) or Configuring a Storage-Compute Decoupled Cluster (AK/SK).
- Log in to the Flink client installation node as the client installation user.
- Run the following command to initialize environment variables:
source ${client_home}/bigdata_env
- Configure the Flink client properly. For details, see Installing a Client (Version 3.x or Later).
- For a security cluster, run the following command to perform user authentication. If Kerberos authentication is not enabled for the current cluster, you do not need to run this command.
kinit Username
- Explicitly add the OBS file system to be accessed in the Flink command line.
./bin/flink run --xxx ./config/FlinkCheckpointJavaExample.jar --chkPath obs://Name of the OBS parallel file system
Parent topic: Using a Storage-Compute Decoupled Cluster