Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using HBase/ HBase Troubleshooting/ "import argparse" Is Reported When the Phoenix Sqlline Script Is Used
Updated on 2024-10-08 GMT+08:00

"import argparse" Is Reported When the Phoenix Sqlline Script Is Used

Question

When the sqlline script is used on the client, the error message "import argparse" is displayed.

Answer

  1. Log in to the node where the HBase client is installed as user root. Perform security authentication using the hbase user.
  2. Go to the directory where the sqlline script of the HBase client is stored and run the python3 sqlline.py command.