Updated on 2022-08-12 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.)