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.3 KiB
HTML

<a name="mrs_01_1763"></a><a name="mrs_01_1763"></a>
<h1 class="topictitle1">Description of Hive Table Location (Either Be an OBS or HDFS Path)</h1>
<div id="body8662426"><div class="section" id="mrs_01_1763__en-us_topic_0000001219029511_section64393186344"><h4 class="sectiontitle">Question</h4><p id="mrs_01_1763__en-us_topic_0000001219029511_p564614146230">Does a Hive Table Can Be Stored Either in OBS or HDFS?</p>
</div>
<div class="section" id="mrs_01_1763__en-us_topic_0000001219029511_section175653583418"><h4 class="sectiontitle">Answer</h4><ol id="mrs_01_1763__en-us_topic_0000001219029511_ol6956145053416"><li id="mrs_01_1763__en-us_topic_0000001219029511_li4956165017340">The location of a common Hive table stored on OBS can be set to an HDFS path.</li><li id="mrs_01_1763__en-us_topic_0000001219029511_li1895715502341">In the same Hive service, you can create tables stored in OBS and HDFS, respectively.</li><li id="mrs_01_1763__en-us_topic_0000001219029511_li1265116351">For a Hive partitioned table stored on OBS, the location of the partition cannot be set to an HDFS path. (For a partitioned table stored on HDFS, the location of the partition cannot be changed to OBS.)</li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1752.html">Common Issues About Hive</a></div>
</div>
</div>