show creat table 表名
找到建表的位置 location
hadoop fs -ls
hadoop fs -text viewfs://cluster11/user/mbadp/hive/warehouse/t_monitor_user_profile/source=news/dt=20180628/* > ~/data/mbadp/profile_news.txt
* 通配符
hadoop将查询结果写入文件中
最新推荐文章于 2024-05-27 19:04:39 发布