摘要: 错误描述: 解决办法: 1、确认是否安装了leptonica 2、配置环境变量 vi /etc/profile 添加: CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/local/leptonica/include/leptonica export CPLUS 阅读全文
posted @ 2017-08-02 18:41 牛肉哥 阅读(3854) 评论(0) 推荐(0) 编辑
摘要: 1、安装依赖工具 yum install autoconf automake libtool libjpeg-devel libpng-devel libtiff-devel zlib-devel 2、编译安装leptonica wget http://www.leptonica.org/sourc 阅读全文
posted @ 2017-08-02 18:31 牛肉哥 阅读(3754) 评论(1) 推荐(0) 编辑
摘要: 1、支持纠删码:意味着更灵活的存储策略,即经常使用的数据利用备份方式存储(3倍存储消耗),冷数据利用纠删码容错(1.4倍存储消耗,但会造成额外的IO及CPU消耗); 2、MapReduce任务支持本地map output collector:对于shuffle密集型的任务可以提升30%速度; 3、支 阅读全文
posted @ 2016-10-24 18:11 牛肉哥 阅读(541) 评论(0) 推荐(0) 编辑
摘要: 1、mnist Google实验室的Corinna Cortes和纽约大学柯朗研究所的Yann LeCun建的一个手写数字数据库,训练库有60,000张手写数字图像,测试库有10,000张。对应的手写识别模型为LeNet。 数据地址:http://yann.lecun.com/exdb/mnist/ 阅读全文
posted @ 2016-06-08 19:20 牛肉哥 阅读(5398) 评论(0) 推荐(0) 编辑
摘要: 目前碰到过三种原因导致 Time out after 300 secs。 1. 死循环 这是最常见的原因。显式的死循环很容易定位,隐式的死循环就比较麻烦了,比如正则表达式。曾经用一个网上抄来的邮箱正则表达式匹配百亿条数据,最终导致一个map阶段的attempt频繁超时重试,最后自己重写了一个简化版的 阅读全文
posted @ 2015-11-06 15:29 牛肉哥 阅读(2987) 评论(0) 推荐(0) 编辑
摘要: 在idea中执行maven碰到这个错误:invalid target release: 1.7。首先做了以下操作 1、查看$JAVA_HOMEecho $JAVA_HOME/Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Ho... 阅读全文
posted @ 2015-07-01 18:38 牛肉哥 阅读(14734) 评论(0) 推荐(0) 编辑
摘要: 完整错误:javax.servlet.jsp.el.ELException: variable [compute] cannot be resolved at org.apache.oozie.util.ELEvaluator$Context.resolveVariable(ELEvaluator.... 阅读全文
posted @ 2014-10-14 16:20 牛肉哥 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: Azure HDInsightAzure HDInsight is Microsoft's distribution of Hadoop. The Azure HDInsight ecosystem includes the following features/components: Pig, H... 阅读全文
posted @ 2014-08-18 09:29 牛肉哥 阅读(589) 评论(0) 推荐(0) 编辑
摘要: 1、Could not chdir to home directory /home/USER: Permission denied启动datanode时会报这个错误,尝试利用ssh登录datanode,发现需要密码。解决办法: 利用root权限修改/etc/sysconfig/selinux,将S... 阅读全文
posted @ 2014-07-21 12:05 牛肉哥 阅读(803) 评论(0) 推荐(0) 编辑
摘要: 运行mahout in action上的cluster示例时报错:Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected 确定是版本问题,我的hadoop版本是2.4,但mahout目... 阅读全文
posted @ 2014-06-17 16:55 牛肉哥 阅读(461) 评论(0) 推荐(0) 编辑