摘要:
原文地址:http://zh.hortonworks.com/blog/apache-hadoop-yarn-nodemanager/The NodeManager (NM) is YARN’s per-node agent, and takes care of the individual com...
阅读全文
posted @ 2015-10-20 15:36
一天不进步,就是退步
阅读(491)
推荐(0)
摘要:
原文地址:http://zh.hortonworks.com/blog/apache-hadoop-yarn-resourcemanager/ResourceManager (RM)is the master that arbitrates all the available cluster res...
阅读全文
posted @ 2015-10-20 15:32
一天不进步,就是退步
阅读(2536)
推荐(0)
摘要:
一切从示例程序开始: 示例程序 Hadoop2.7 提供的示例程序WordCount.java 1.Mapper 将输入的键值对映射到一组中间的键值对。 映射将独立的任务的输入记录转换成中间的记录。装好的中间记录不需要和输入记录保持同一种类型。一个给定的输入对可以映射成0个或者多个输出对。 Hado
阅读全文
posted @ 2015-10-20 10:54
一天不进步,就是退步
阅读(6003)
推荐(1)
摘要:
原文地址:http://www.javacodegeeks.com/2015/02/streaming-big-data-storm-spark-samza.htmlThere are a number of distributed computation systems that can proc...
阅读全文
posted @ 2015-10-19 16:18
一天不进步,就是退步
阅读(440)
推荐(0)
摘要:
原文地址:http://www.uml.org.cn/sjjm/201205302.asp00 – 基本概念当并发事务同时访问一个资源的时候,有可能导致数据不一致。因此需要一种致机制来将访问顺序化。锁就是其中的一种机制。我们用商场的试衣间来做一个比喻。试衣间供许多消费者使用。因此可能有多个消费者同时...
阅读全文
posted @ 2015-10-17 11:16
一天不进步,就是退步
阅读(901)
推荐(0)
摘要:
同时对三张表进行插入操作,事务保证完整性。下面进行简单测试:1. 锁定表锁定用户表LOCK TABLES user WRITE;查看表是否锁定:show OPEN TABLES where In_use > 0;显示被锁定的表。2. 验证在同一session下是否可以插入操作insert into ...
阅读全文
posted @ 2015-10-15 15:59
一天不进步,就是退步
阅读(979)
推荐(0)
摘要:
import java.awt.image.BufferedImage;import java.io.ByteArrayOutputStream;import java.io.File;import java.io.FileInputStream;import java.io.FileOutputS...
阅读全文
posted @ 2015-10-14 13:15
一天不进步,就是退步
阅读(2178)
推荐(0)
摘要:
原文地址:http://www.walkswithme.net/writing-images-to-the-excel-sheet-using-phpexcelWriting images to the excel sheet using phpexcel class is a great feat...
阅读全文
posted @ 2015-10-14 13:06
一天不进步,就是退步
阅读(377)
推荐(0)
摘要:
原文地址:http://www.mkyong.com/spring-mvc/spring-mvc-handler-interceptors-example/Spring MVC allow you to intercept web request through handler intercepto...
阅读全文
posted @ 2015-10-14 12:55
一天不进步,就是退步
阅读(579)
推荐(0)
摘要:
1. 设置secureCRT编码格式:2. file filename查看文件格式:file catalina.outcatalina.out: UTF-8 Unicode English text, with very long lines
阅读全文
posted @ 2015-10-14 11:49
一天不进步,就是退步
阅读(772)
推荐(0)