Help Center/ MapReduce Service/ Component Operation Guide (ME-Abu Dhabi Region)/ Using Hive/ Common Issues About Hive/ Description of Hive Table Location (Either Be an OBS or HDFS Path)
Updated on 2024-07-19 GMT+08:00

Description of Hive Table Location (Either Be an OBS or HDFS Path)

Question

Can Hive tables be stored in OBS or HDFS?

Answer

  1. The location of a common Hive table stored on OBS can be set to an HDFS path.
  2. In the same Hive service, you can create tables stored in OBS and HDFS, respectively.
  3. 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.)