Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Hive/ Common Issues About Hive/ Description of Hive Table Location (Either Be an OBS or HDFS Path)
Updated on 2025-11-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

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