How Do I Install the Impala-shell Client on a Node Outside the MRS Cluster?
Question
The MRS Impala client installed on a node outside the MRS cluster cannot be accessed due to Python version issues. How do I install the client?
Answer
Use Pip to install the impala-shell client after configuring the image source.
- Run the following command to check whether the Python version is 2 or 3:
- If the node is running EulerOS, HCE, or CentOS, run the following command to install the impala-shell client:
- For Python 2, run the following command:
yum install -y binutils binutils-devel gcc gcc-c++ python-devel cyrus-sasl-devel krb5-devel
pip install impala-shell
- For Python 3, run the following command:
yum install -y binutils binutils-devel gcc gcc-c++ python3-devel cyrus-sasl-devel krb5-devel
pip install impala-shell
- For Python 2, run the following command:
- If the node is running an Ubuntu OS, run the following command to install the impala-shell client:
- For Python 2, run the following command:
apt install -y binutils binutils-dev gcc g++ python2-dev cyrus-dev libkrb5-dev
pip install impala-shell
- For Python 3, run the following command:
apt install -y binutils binutils-dev gcc g++ python3-dev cyrus-dev libkrb5-dev
pip install impala-shell
- For Python 2, run the following command:
- If the node is running a SUSE OS, run the following command to install the impala-shell client:
Only SUSE 13.2 and later versions support impala-shell. Earlier versions do not support cyrus-sasl-devel and krb5-devel.
- For Python 2, run the following command:
zypper install -y binutils binutils-devel gcc gcc-c++ python-devel cyrus-sasl-devel krb5-devel
After krb5-devel is installed, krb5-config will not be in the PATH directory. You need to create a symbolic link.
ln -s /usr/lib/mit/bin/krb5-config /usr/bin/krb5-config
pip install impala-shell
- For Python 3, run the following command:
zypper install -y binutils binutils-devel gcc gcc-c++ python3-devel cyrus-sasl-devel krb5-devel
After krb5-devel is installed, krb5-config will not be in the PATH directory. You need to create a symbolic link.
ln -s /usr/lib/mit/bin/krb5-config /usr/bin/krb5-config
pip install impala-shell
- For Python 2, run the following command:

To log in to the system using the impala-shell client for a security client, you need to install the MRS client in the cluster and run the kinit <user> command.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot