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

16 lines
1.7 KiB
HTML

<a name="mrs_01_1648"></a><a name="mrs_01_1648"></a>
<h1 class="topictitle1">Why "java.lang.UnsatisfiedLinkError: Permission denied" exception thrown while starting HBase shell?</h1>
<div id="body8662426"><div class="section" id="mrs_01_1648__en-us_topic_0000001219029693_s90ae29ca7ef04c04aabb9803ca2d51c9"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1648__en-us_topic_0000001219029693_a91ead4a4ad0648f686dc93b4a2fe1828">Why "java.lang.UnsatisfiedLinkError: Permission denied" exception thrown while starting HBase shell?</p>
</div>
<div class="section" id="mrs_01_1648__en-us_topic_0000001219029693_s5f5cf1736b464516ac4ef70788b16b9d"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1648__en-us_topic_0000001219029693_ae98b6645b23a4cf88a134b37e6699314">During HBase shell execution JRuby create temporary files under <span class="filepath" id="mrs_01_1648__en-us_topic_0000001219029693_f50ce5c6217964bdbac91ae9ddb4e30a9"><b>java.io.tmpdir</b></span> path and default value of <span class="filepath" id="mrs_01_1648__en-us_topic_0000001219029693_f440d0d232d0c478aade01baaae2d01f0"><b>java.io.tmpdir</b></span> is <span class="filepath" id="mrs_01_1648__en-us_topic_0000001219029693_f62c21d8d168a4d34a07b29e6fa5f90df"><b>/tmp</b></span>. If NOEXEC permission is set to /tmp directory then HBase shell start will fail with "java.lang.UnsatisfiedLinkError: Permission denied" exception.</p>
<p id="mrs_01_1648__en-us_topic_0000001219029693_a4804c08a34f74c66a42ec7cc41381d94">So "java.io.tmpdir" must be set to a different path in HBASE_OPTS/CLIENT_GC_OPTS if NOEXEC is set to /tmp directory.</p>
</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>