Help Center/ MapReduce Service/ Component Operation Guide (Paris Region)/ Using HBase/ Common Issues About HBase/ Why Is the Error Message "import argparse" Displayed When the Phoenix sqlline Script Is Used?
Updated on 2022-02-22 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.