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.0 KiB
2.0 KiB
How Do I Connect to Spark Shell from MRS?
- Log in to the Master node in the cluster as user root.
- Run the following command to configure environment variables:
- If Kerberos authentication is enabled for the cluster, authenticate the user. If Kerberos authentication is disabled, skip this step.
Command: kinit MRS cluster user
Example:
- If the user is a machine-machine user, run kinit -kt user.keytab sparkuser.
- If the user is a human-machine user, run kinit sparkuser.
- Run the following command to connect to Spark shell:
Parent topic: Big Data Service Development