摘要: 1、增加调试信息寻找问题2、两种方式解决unable to load native-hadoop library for you platform附:libc/glibc/glib简介参考:1、http://my.oschina.net/swuly302/blog/515853【66号公路: Had... 阅读全文
posted @ 2016-01-05 20:14 codeplayplus 阅读(39898) 评论(2) 推荐(0) 编辑
摘要: 转载自:http://my.oschina.net/muou/blog/408543【木偶:Windows下使用Hadoop2.6.0-ecli­p­s­e­-­p­­lugin插件】对于一些细节地方,我进行了补充。一.简介Hadoop2.x之后没有Eclipse插件工具,我们就不能在Eclipse... 阅读全文
posted @ 2016-01-05 11:22 codeplayplus 阅读(864) 评论(0) 推荐(0) 编辑
摘要: 0、安装jdk1、配置hosts文件2、建立hadoop运行账号3、配置ssh免密码登录4、在namenode上配置hadoop 4.1、修改hadoop-env.sh文件 4.2、修改yarn-env.sh文件 4.3、修改core-site.xml文件 4.4、修改hdfs-site.x... 阅读全文
posted @ 2016-01-05 11:11 codeplayplus 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 原文:http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html Introduction(介绍) Tomcat provides a JNDI InitialContext implementation instance fo 阅读全文
posted @ 2015-12-13 11:22 codeplayplus 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 原文:http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Resource_Definitions The Context Container(Context容器) Introduction(介绍) The description 阅读全文
posted @ 2015-12-11 15:15 codeplayplus 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 原文:http://tomcat.apache.org/tomcat-7.0-doc/config/host.html Introduction(介绍) The Host element represents a virtual host, which is an association of a 阅读全文
posted @ 2015-12-11 15:04 codeplayplus 阅读(471) 评论(0) 推荐(0) 编辑
摘要: 在项目设计时,要么根据需求分析建立实体类,然后正向生成数据库表;要么先进行数据库表设计,然后逆向生成实体类。也就是说,不会完成一方的设计后再花时间去匹配建立另一方,这么做的原因是:1、如果不使用正向或逆向工程,则会是1.5倍的工作量,浪费时间2、无法保证两边的映射一致。因为两边都是自己设计的,就需要... 阅读全文
posted @ 2015-11-25 16:58 codeplayplus 阅读(7488) 评论(0) 推荐(1) 编辑
摘要: 转载:http://www.tuicool.com/articles/iuu6bqF【配置Tomcat时server.xml和content.xml自动还原问题】当我们在处理中文乱码或是配置数据源时,我们要修改Tomcat下的server.xml和content.xml文件。但是当我们修改完后重启T... 阅读全文
posted @ 2015-11-12 11:18 codeplayplus 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 在java中,getBytes()方法如果不指定字符集,则得到的是一个操作系统默认的编码格式的字节数组;如果指定字符集,则得到的是在指定字符集下的字节数组,如:byte[] b_gbk = "中".getBytes("gbk");byte[] b_utf8 = "中".getBytes("utf-8... 阅读全文
posted @ 2015-10-25 19:28 codeplayplus 阅读(7393) 评论(3) 推荐(1) 编辑
摘要: 转载自:www.cnblogs.com/greatverve/archive/2011/12/12/URL-Encoding-Decoding.html【大气象学习园地:URL编码与解码】通常如果一样东西需要编码,说明这样东西并不适合传输。原因多种多样,如Size过大,包含隐私数据,对于Url来说,... 阅读全文
posted @ 2015-10-25 19:18 codeplayplus 阅读(754) 评论(0) 推荐(0) 编辑