forked from docs/doc-exports
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>
16 lines
1.5 KiB
HTML
16 lines
1.5 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="body1596003894353"><div class="section" id="mrs_01_1648__s90ae29ca7ef04c04aabb9803ca2d51c9"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1648__a91ead4a4ad0648f686dc93b4a2fe1828">Why "java.lang.UnsatisfiedLinkError: Permission denied" exception thrown while starting HBase shell?</p>
|
|
</div>
|
|
<div class="section" id="mrs_01_1648__s5f5cf1736b464516ac4ef70788b16b9d"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_1648__ae98b6645b23a4cf88a134b37e6699314">During HBase shell execution JRuby create temporary files under <span class="filepath" id="mrs_01_1648__f50ce5c6217964bdbac91ae9ddb4e30a9"><b>java.io.tmpdir</b></span> path and default value of <span class="filepath" id="mrs_01_1648__f440d0d232d0c478aade01baaae2d01f0"><b>java.io.tmpdir</b></span> is <span class="filepath" id="mrs_01_1648__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__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>
|
|
|