ERROR common.AbstractJob: Unexpected SIMILARITY_EUCLIDEAN_DISTANCE while processing Job-Specific Opt
来源:互联网 发布:淘宝红包口令怎么输入 编辑:程序博客网 时间:2024/05/20 06:04
在使用mahout的RecommenderJob时遇到上面的问题,调用的命令如下:
bin/hadoop jar lib/mahout-core-0.5.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -i input/recommenderjob.txt -o out/recommenderjob --similarityClassname SIMILARITY_EUCLIDEAN_DISTANCE
提示的错误它就说是Unexpected SIMILARITY_EUCLIDEAN_DISTANCE,也不知道是哪里错误,所以就直接把后面的参数删除了,改为下面的:
bin/hadoop jar lib/mahout-core-0.5.jar org.apache.mahout.cf.taste.hadoop.item.RecommenderJob -i input/recommenderjob.txt -o out/recommenderjob
结果提示下面的错误:
13/04/09 16:25:05 ERROR common.AbstractJob: No input specified or -Dmapred.input.dir must be provided to specify input directory
并且在最末尾还有这样的提示:
Specify HDFS directories while running on hadoop; else specify local file system directories
怎么会没有输入文件呢? 不是使用-i命令了么?
然后把-i改为 --input命令,然后就直接可以了。
猜测是否是0.5版本的mahout还不支持-i(仅支持--input)? 或者是我的环境配置有问题?
又或者是还有一些基础包没有加进来?
继续跟进中。。。
- ERROR common.AbstractJob: Unexpected SIMILARITY_EUCLIDEAN_DISTANCE while processing Job-Specific Opt
- Hadoop实现AbstractJob简化Job设置
- The error occurred while processing mapper_resultMap[DrugConditionResult]
- an error occurred while processing the directive
- 解决"Error detected while processing /root/.vimrc:"
- Hive Runtime Error while processing row
- dpkg: error processing package tex-common (--configure):
- /opt/nginx/sbin/nginx: error while loading shared librari
- Job Processing
- “an error occurred while processing this directive”的解决方法
- Error detected while processing /root/.vimrc: E518: Unknown option: cursorline
- Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the
- 如何解决“Error detected while processing /root/.vimrc:”
- An error occurred while processing information_archive_op with arguments
- Error detected while processing function UltiSnips#bootstrap#Bootstrap:
- Unexpected error while launching logcat. Try reselecting the device.
- [INS-08106] Unexpected error occurred while loading the view 'GridPlugPlayInfoUI'
- [INS-08106] Unexpected error occurred while loading the view 'GridPlugPlayInfoUI'
- 从键盘输入10个学生的姓名和成绩,按字典序排列学生的姓名并输出(姓名和成绩对应关系保持不变)
- 国企如何发展自己的信息化队伍
- CUDA程序如何解决 warning C4819?
- stirling数的性质及应用
- PHP模板之Smarty安装与使用入门教程
- ERROR common.AbstractJob: Unexpected SIMILARITY_EUCLIDEAN_DISTANCE while processing Job-Specific Opt
- Cocos2d基础知识2
- jquery.validate 以alert方式显示错误方法
- MIDI音符代码表(1995年由MMA修订)
- 广东省生育保险为生小孩的高额费用解决烦恼.
- Python模块学习 ---- random 随机数生成
- 重学C++ 003数据成员 set get
- oracle创建多个数据库实例及其管理
- 医保、社保、住房公积金