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用户代理实现的

相关推荐
yumgpkpm18 小时前
Hadoop 与AI大模型实战:从Hive、Impala(Cloudera CDH、CDP)海量数据到 AI 决策的落地方法
arm开发·人工智能·hive·zookeeper·flink·kafka·cloudera
路边草随风1 天前
java操作cosn使用
java·大数据·hadoop
码以致用2 天前
Hive笔记
hive·hadoop·笔记
路边草随风2 天前
通过hive元数据库查询表信息
大数据·数据库·hive·hadoop
RestCloud2 天前
人大金仓数据库集成实战:ETL 如何解决国产化替代挑战
数据库·数据仓库·etl·数据集成·数据同步·人大金仓
A130160986712 天前
获客难?沃创云帮体系认证企业打通获客增长闭环
大数据·数据仓库·人工智能·机器人·信息与通信
Agatha方艺璇2 天前
安装Hive初始化MySQL报错 (ZLjava/lang/String;Ljava/lang/0bject; )V
hive·mysql
yumgpkpm2 天前
Hadoop、Cloudera CDH没有消亡,它是大数据的未来
人工智能·hive·hadoop·spark·kafka·开源·hbase
沧海寄馀生2 天前
Apache Hadoop生态组件部署分享-Hue
大数据·hadoop·分布式·apache
写代码的【黑咖啡】2 天前
关于传统数据仓库的介绍
数据仓库