- You have set your CDP workload password:
- You have synchronized users from User Management Service in the CDP Control Plane into the environment in which your COD database is running.
-
Change baseurl to your own rest server url in common.py
-
Please set environment variables in your dev environment.
- Open .bash_profile by using:
vim ~/.bash-profile
- Use the export command to add new environment variables:
export DB_USER=[your_workload_username] export DB_PASS=[your_workload_password]
- Save any changes you made to the .bash_profile file.
- Execute the new .bash_profile by either restarting the terminal window or using:
source ~/.bash-profile
- If you are using zsh, please update .zshrc file
- Open .bash_profile by using:
- Run write_example.py
~/YourWorkSpace/hbase-rest-read-write/cloudera/cod/examples/write_example.py
- Run read_example.py
~/YourWorkSpace/hbase-rest-read-write/cloudera/cod/examples/read_example.py