Help Center/ MapReduce Service/ Component Operation Guide (Normal)/ Using Hive/ Common Issues About Hive/ Does the Location of a Hive Table Support Cross-OBS and Cross-HDFS Paths?
Updated on 2024-10-08 GMT+08:00

Does the Location of a Hive Table Support Cross-OBS and Cross-HDFS Paths?

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.)