Yang, Tong 3f5759eed2 MRS comp-lts 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2023-01-19 17:08:45 +00:00

15 lines
1.5 KiB
HTML

<a name="mrs_01_2210"></a><a name="mrs_01_2210"></a>
<h1 class="topictitle1">Why Is the Error Message "import argparse" Displayed When the Phoenix sqlline Script Is Used?</h1>
<div id="body32001227"><div class="section" id="mrs_01_2210__en-us_topic_0000001219149013_section10391135111314"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2210__en-us_topic_0000001219149013_p196973711313">When the sqlline script is used on the client, the error message "import argparse" is displayed.</p>
</div>
<div class="section" id="mrs_01_2210__en-us_topic_0000001219149013_section4175103241310"><h4 class="sectiontitle">Answer</h4><ol id="mrs_01_2210__en-us_topic_0000001219149013_ol492463210192"><li id="mrs_01_2210__en-us_topic_0000001219149013_li11925153212196"><span>Log in to the node where the HBase client is installed as user <strong id="mrs_01_2210__en-us_topic_0000001219149013_b63164489258">root</strong>. Perform security authentication using the <strong id="mrs_01_2210__en-us_topic_0000001219149013_b842352706162112">hbase</strong> user.</span></li><li id="mrs_01_2210__en-us_topic_0000001219149013_li159251732101919"><span>Go to the directory where the sqlline script of the HBase client is stored and run the <strong id="mrs_01_2210__en-us_topic_0000001219149013_b1438513595258">python3 sqlline.py</strong> command.</span></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1638.html">Common Issues About HBase</a></div>
</div>
</div>