Help Center> MapReduce Service> Component Operation Guide (LTS) (Paris Region)> Using Hive> Common Issues About Hive> Description of Hive Table Location (Either Be an OBS or HDFS Path)
Updated on 2022-12-14 GMT+08:00

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

Question

Does a Hive Table Can Be Stored Either 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.)