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