Yang, Tong 6182f91ba8 MRS component operation guide_normal 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>
2022-12-09 14:55:21 +00:00

20 lines
2.3 KiB
HTML

<a name="mrs_01_2340"></a><a name="mrs_01_2340"></a>
<h1 class="topictitle1">Why Do I Fail to Create a Table in the Specified Location on OBS After Logging to spark-beeline?</h1>
<div id="body1603712656806"><div class="section" id="mrs_01_2340__section1736444285213"><h4 class="sectiontitle">Question</h4><p id="mrs_01_2340__p1344618763">When the OBS ECS/BMS image cluster is connected, after spark-beeline is logged in, an error is reported when a location is specified to create a table on OBS.</p>
<div class="fignone" id="mrs_01_2340__fig964608112217"><span class="figcap"><b>Figure 1 </b>Error message</span><br><span><img id="mrs_01_2340__image113281322164619" src="en-us_image_0000001349090021.png"></span></div>
</div>
<div class="section" id="mrs_01_2340__section1019117462059"><h4 class="sectiontitle">Answer</h4><p id="mrs_01_2340__p117732517816">The permission on the <strong id="mrs_01_2340__b288641061216">ssl.jceks</strong> file in HDFS is insufficient. As a result, the table fails to be created.</p>
<p id="mrs_01_2340__p1736183217587"><span><img id="mrs_01_2340__image313863385812" src="en-us_image_0000001387912132.png"></span></p>
</div>
<div class="section" id="mrs_01_2340__en-us_topic_0165586151_section104561250183516"><h4 class="sectiontitle">Solution</h4><ol id="mrs_01_2340__ol15326172678"><li id="mrs_01_2340__li15326423712">Log in to the node where Spark2x resides as user <strong id="mrs_01_2340__b3537133141214">omm</strong> and run the following command:<p id="mrs_01_2340__p267922514454"><strong id="mrs_01_2340__b11527124584512">vi ${BIGDATA_HOME}/FusionInsight_Spark2x_<span id="mrs_01_2340__text20959814164114">8.1.0.1</span>/install/FusionInsight-Spark2x-<span id="mrs_01_2340__text5563355171417">3.1.1</span>/spark/sbin/fake_prestart.sh</strong></p>
</li><li id="mrs_01_2340__li3326621973">Change <strong id="mrs_01_2340__b10342102713241">eval "${hdfsCmd}" -chmod 600 "${InnerHdfsDir}"/ssl.jceks &gt;&gt; "${PRESTART_LOG}" 2&gt;&amp;1</strong> to <strong id="mrs_01_2340__b751319384246">eval "${hdfsCmd}" -chmod 644 "${InnerHdfsDir}"/ssl.jceks &gt;&gt; "${PRESTART_LOG}" 2&gt;&amp;1</strong>.</li><li id="mrs_01_2340__li11855131217714">Restart the SparkResource instance.</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_2002.html">Common Issues About Spark2x</a></div>
</div>
</div>