前言: Flume-ng是数据收集/聚合/传输的组件, Flume-ng抛弃了Flume OG原本繁重的zookeeper和Master, Collector, 其整体的架构更加的简洁和明了. 其基础组件就Agent进程, 内部又可以细分为Source, Channel, Sink三个组件, S.....
分类:
其他好文 时间:
2014-07-07 00:26:46
阅读次数:
355
SpillableMemoryChannel是1.5版本新增的一个channel。这个channel优先将evnet放在内存中,一旦内存达到设定的容量就使用file channel写入磁盘。然后读的时候会按照顺序读取:会通过一个DrainOrderQueue来保证不管是内存中的还是溢出(本文的“.....
分类:
其他好文 时间:
2014-07-06 16:41:08
阅读次数:
296
它有三种模式: 一 一般模式 二 编辑模式 三 命令行模式介绍几种比较常用的吧 ~~ 退出:q 写入:w 强制:! (以上可叠加) 显示行号:set nu 取消:set nonu 跳转到n行:nG 最后一行:G 第一行:gg(=1G) 向某个方向移动n个字符: 方向可以用...
分类:
其他好文 时间:
2014-07-05 20:27:33
阅读次数:
196
总时间限制: 2000ms 内存限制: 65536kB描述You are taking part in the development of a "New Generation" operating system and the NG file system. In this file system...
分类:
其他好文 时间:
2014-07-02 14:39:59
阅读次数:
161
建议参考NG的手稿,不要看中文翻译的http://cs229.stanford.edu/notes/cs229-notes8.pdfhttp://cs229.stanford.edu/materials.htmlhttp://cs.stanford.edu/courses/schedules/201...
分类:
其他好文 时间:
2014-06-30 20:58:49
阅读次数:
439
因为struts2默认的是拦截所有的请求
由配置文件可以看出
struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
struts2
/*
所以当我们要用servlet处理是会出现请求...
分类:
其他好文 时间:
2014-06-30 17:19:06
阅读次数:
222
说到机器学习,很多人推荐的学习资料就是斯坦福Andrew Ng的cs229,有相关的视频和讲义。不过好的资料 != 好入门的资料,Andrew Ng在coursera有另外一个机器学习课程,更适合入门。这篇笔记是对这两个机器学习课程的笔记...
分类:
其他好文 时间:
2014-06-30 06:23:21
阅读次数:
262
flume-ng1.4安装配置记录一下flume-ng的安装配置三个基本概念source:数据源channel:数据传输通道sink:数据目的地,如存储在hdfs配置:flume.conf#defineagent1.sources=source1agent1.channels=channel1agent1.sinks=sink1#agent1.sources.source1.type=spooldiragent1.sour..
分类:
其他好文 时间:
2014-06-27 06:41:36
阅读次数:
221
var appElement = document.querySelector('[ng-controller=seatsCtrl]');var $scope = angular.element(appElement).scope();$scope.$apply(function () { $sco...
分类:
Web程序 时间:
2014-06-26 20:12:05
阅读次数:
551
网易公开课,第10,11课 notes,http://cs229.stanford.edu/notes/cs229-notes5.pdf Model Selection 首先需要解决的问题是,模型选择问题,如何来平衡bais和variance来自动选择模型?比如对于多项式分类,如何决定阶数k,对于l...
分类:
其他好文 时间:
2014-06-26 16:31:11
阅读次数:
181