Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using HBase/ HBase Troubleshooting/ Why Is the Error Message "import argparse" Displayed When the Phoenix sqlline Script Is Used?
Updated on 2024-10-09 GMT+08:00

Why Is the Error Message "import argparse" Displayed 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.