How to force STORE (overwrite) to HDFS in Pig?
来源:互联网 发布:冬天去哈尔滨 知乎 编辑:程序博客网 时间:2024/06/07 17:04
问题:
Pig Grunt 中,fs -rmr /apps/hive/warehouse/tmp_test 可以正常运行
直接运行pig -param_file/home/hive/sample.params /home/hive/preprocess.pig ,如果已经有/apps/hive/warehouse/tmp_test 文件存在,会报错;
2012-06-19 19:22:49,680 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 6000: Output Location Validation Failed for: 'hdfs://[server]/user/[user]/foo/bar More info to follow:Output directory hdfs://[server]/user/[user]/foo/bar already exists
解决方案:
http://stackoverflow.com/questions/11110403/how-to-force-store-overwrite-to-hdfs-in-pig
rmf foo/bar
0 0
- How to force STORE (overwrite) to HDFS in Pig?
- How to store node content in Drupal
- How to store CGRect values in NSMutableArray?
- How to force a panic/crash in Linux?
- How to brute force http forms in windows
- How to store an image file to SQliteDB in android
- How to store an image file to SQliteDB in android
- How to force an iframe to reload?
- eclipse创建Adnroid虚拟机提示:XXXX目录.avd is in the way. Use --force if you want to overwrite.
- how to force global variable which define in a static library to initialize?
- How to Add/Update Store Procedure in EF
- How to store CGPoint or CGRect in NSArray?
- How to Force Shutdown WebLogic Managed Server
- How can I force WebLogic to use third party jars that are included in my Ear?
- How-to: make spark streaming collect data from Kafka topics and store data into hdfs
- How-to: effective store kafka data into hdfs via spark streaming
- How to search a table in a store proc and open the store proc
- How to force setuid program to make a core dump
- Comparable接口和Comparator接口
- RocketMQ4.0.0环境搭建及HelloWorld
- Telegraf + InfluxDB收集系统性能,Grafana图形展示
- Lua获取随机数
- centos开机启动svn
- How to force STORE (overwrite) to HDFS in Pig?
- PowerDesigner(二)-项目和框架矩阵
- Java实时监控日志文件并输出
- ActiveMQ实现负载均衡+高可用部署方案
- QQ在线客服的使用
- 数据库表一键生成Java Bean文件
- 微分方程差分方程
- linux创建指定大小文件夹
- android圆形图片显示ImageView超简单控件