bda-oss-admin Command Reference
Use the Oracle Big Data Cloud Service command line utility bda-oss-admin
to manage users and resources of your
cluster.
To issue bda-oss-admin
commands, you must connect to a node as the opc
user and then use the sudo
command to switch to the root
user. See Connect to a Cluster Node Through Secure Shell (SSH).
Syntax
bda-oss-admin [options] subcommand [arguments]...
Options
Option | Description |
---|---|
--version |
Show the bda-oss-admin version
|
--cm-admin user_name |
Cloudera Manager administrator user name |
--cm-passwd password |
Cloudera Manager administrator password. The command will prompt for the password if it is not provided. |
--b64–cm-passwd password |
The Cloudera Manager password is Base64 encoded. It will be decoded before uploading. |
--cm-url url |
Cloudera Manager URL; for example, https://servername.bigdata.oraclecloud.com:7183 |
|
The password is Base64 encoded. It will be decoded before uploading. |
|
Show help for this command. |
When you specify any of the above options on the command line, the options must be placed immediately after the bda-oss-admin
command and before any of its subcommands. For example, this command is legal:
# bda-oss-admin --cm-passwd password list_swift_creds
However, the following command is not legal, because the --cm-passwd
option is placed after the list_swift_creds
subcommand:
# bda-oss-admin list_swift_creds --cm-passwd password
Environment Variables
Instead of setting Cloudera Manager credentials as options on the command line, you can set them as environment variables.
This environment variable... | Is equivalent to this option... |
---|---|
CM_ADMIN |
--cm-admin |
CM_PASSWORD |
--cm-passwd |
CM_URL |
--cm-url |
Subcommands
Command | Task |
---|---|
add_bdcs_cp_extensions_mr | Add Oracle Big Data Cloud Service classpath extensions to the MapReduce configuration.
|
add_swift_cred | Add credentials for an Oracle Cloud Infrastructure Object Storage Classic user with administrative privileges. |
change_swift_cred_passwd | Change the Oracle Cloud Storage password for a provider stored in Hadoop. |
delete_swift_cred | Delete Oracle Cloud Infrastructure Object Storage Classic credentials. |
export swift_creds | Write Oracle Cloud Infrastructure Object Storage Classic credentials to a file in JSON format. |
import_swift_creds | Add one or more Oracle Cloud Infrastructure Object Storage Classic credentials from a JSON file. |
list_swift_creds | List Oracle Cloud Infrastructure Object Storage Classic (Swift) credentials. |
print_yarn_mapred_cp | Display the YARN MapReduce default classpath. |
remove_bdcs_cp_extensions_mr | Remove Oracle Big Data Cloud Service classpath extensions from the MapReduce configuration.
|
restart_cluster | Restart the cluster (only stale services). |