hadoop将查询结果写入文件中

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/lixingrui/profile_news.txt
* 通配符

猜你喜欢

转载自blog.csdn.net/weixin_38987362/article/details/80900070