Hive的数据存储

Hive的数据存储在HDFS的:/user/hive/warehouse中

The /user folder in HDFS is a directory typically used to store user-specific data and configurations. It serves as the home directory for Hadoop users, analogous to the /home directory in Unix-like systems.

Within the /user directory, each user typically has their own subdirectory named after their username. Users can store their data, files, and configurations within their respective subdirectories. This organization helps in managing and segregating user-specific data in a multi-user Hadoop environment.

For example, if a user with the username "john" exists in the Hadoop system, their home directory would be /user/john, and they would have full control over this directory to store and manage their data. Similarly, other users would have their own respective directories under /user.

也就是说相当于Hive在hdfs中创建了一个叫hive的user

结合前面关于Hadoop Proxyuser的知识,可以理解:

Hive Impersonation: Hive, a data warehousing tool on Hadoop, often uses proxyuser configurations to allow HiveServer2 to execute queries on behalf of different users.

我的理解是:

hive--proxy user

其他user想要访问Hive的数据存储(HDFS的:/user/hive/warehouse中),hive用户代理实现的

hadoop--proxy user

而当想访问hdfs的其他存储数据,则是由hadoop用户代理实现的

相关推荐
IOFsmLtzR4 小时前
cursor cli 执行 ETL 数据同步任务探索
数据仓库·etl
J2虾虾14 小时前
Hadoop入门
大数据·hadoop·分布式
橘子编程1 天前
Hive大数据实战指南:从入门到精通
大数据·hive·hadoop
仗剑_走天涯1 天前
hadoop 执行mr任务出现找不到主类或无法加载主类解决方案
hadoop·mr
橘子编程2 天前
Apache Hadoop知识全解析
大数据·hive·hadoop·apache
dovens2 天前
Spring Boot 从 2.7.x 升级到 3.3注意事项
数据库·hive·spring boot
顧棟2 天前
HDFS2.X升级3.X案例与相关Issue
大数据·hadoop·hdfs
小跘an吻纸2 天前
linux系统搭建hadoop环境
linux·运维·hadoop
源码之家3 天前
计算机毕业设计:Python汽车销量智能分析与预测系统 Flask框架 scikit-learn 可视化 requests爬虫 AI 大模型(建议收藏)✅
人工智能·hadoop·python·算法·数据分析·flask·课程设计
QEasyCloud20223 天前
企业数据仓库建设的技术架构与实施方法论
数据仓库·架构