<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[leaderYU的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/leaderYU</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; leaderYU]]></copyright><item><title><![CDATA[注意hadoop中的combine的使用]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/39805825</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/39805825</guid><author>leaderYU</author><pubDate>Sun, 05 Oct 2014 20:51:49 +0800</pubDate><description><![CDATA[今天写了一个mapreduce程序，运行一直是io异常，经调试觉得错误很诡异，无法理解。
折腾了]]></description><category></category></item><item><title><![CDATA[MapReduce的核心资料索引]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/23680861</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/23680861</guid><author>leaderYU</author><pubDate>Mon, 14 Apr 2014 15:15:49 +0800</pubDate><description><![CDATA[[+]

名字起源起源诸多优点架构

HDFSNameNodeDataNode文件操作Linux 集群
集群系统应用程序

Hadoop系统安装于配置海量数据处理平台架构介绍Hadoop能解决哪些问题Hadoop在国内的情景Hadoop简介Hadoop生态系统介绍HDFS简介HDFS设计原则HDFS系统结构HDFS文件权限HDFS文件读取HDFS文件写入HDFS文件存储HDFS文件存]]></description><category></category></item><item><title><![CDATA[Run on Hadoop]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/23442593</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/23442593</guid><author>leaderYU</author><pubDate>Fri, 11 Apr 2014 14:22:35 +0800</pubDate><description><![CDATA[之前发现安装了eclipse hadoop 插件后，多了一个run on hadoop，但是]]></description><category></category></item><item><title><![CDATA[排序--MapReduce .]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/22873965</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/22873965</guid><author>leaderYU</author><pubDate>Thu, 03 Apr 2014 15:35:58 +0800</pubDate><description><![CDATA[1、1TB（或1分钟）排序的冠军 
作为分布式数据处理的框架，集群的数据处理能力究竟有多快？或许1TB排序可以作为衡量的标准之一。 

1TB排序，就是对1TB（1024GB，大约100亿行数据）的数据进行排序。2008年，Hadoop赢得1TB排序基准评估第一名，排序1TB数据耗时209秒。后来，1TB排序被1分钟排序所取代，1分钟排序指的是在一分钟内尽可能多的排序。2009年，在一个14]]></description><category></category></item><item><title><![CDATA[hadoop0.20.2中的KeyValueInputFormat]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/22868767</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/22868767</guid><author>leaderYU</author><pubDate>Thu, 03 Apr 2014 14:27:19 +0800</pubDate><description><![CDATA[今天想用数据输入格式KeyValueInputFormat，API文档上的方法，我使用job.setInputFormatClass(KeyValueTextInputFormat.class);结果却报错The method setInputFormatClass(Class) in the type Job is not applicable for the arguments (Class)]]></description><category></category></item><item><title><![CDATA[Hadoop集群配置]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/22754063</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/22754063</guid><author>leaderYU</author><pubDate>Tue, 01 Apr 2014 20:46:04 +0800</pubDate><description><![CDATA[折腾了好几个小时，终于搭建好了Hadoop集群环境。
主要参考了下面这篇博客（http://blog.youkuaiyun.com/flyqwang/article/details/7244552），表示感谢。
在按照这篇博客进行操作的过程中主要遇到了这几个问题（都是些小问题，但是很折腾人。）
1、我是直接复制了那篇博客里对那几个文件的配置，出现错误后，我发现，原来博主的配置文件内容有一个小错误，格式也]]></description><category></category></item><item><title><![CDATA[Hadoop -- MapReduce过程]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/22604551</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/22604551</guid><author>leaderYU</author><pubDate>Sun, 30 Mar 2014 20:15:51 +0800</pubDate><description><![CDATA[Hadoop
 -- MapReduce过程
（转载自http://blog.sina.com.cn/s/blog_61ef49250100uul8.html）

   
 昨天我们对MapReduce作了大概了解，知道它如何进行数据处理。今天我们走进MapReduce，分析MapReduce源代码，看看它到底是如何实现的，我们会根据数据流动的顺序来进行分析 :-)


1.读取数]]></description><category></category></item><item><title><![CDATA[每次启动hadoop都要格式化namenode?]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/21194775</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/21194775</guid><author>leaderYU</author><pubDate>Thu, 13 Mar 2014 22:38:07 +0800</pubDate><description><![CDATA[前面配置好hadoop后，在使用中发现一个问题。就是每次启动都需要格式化，不然namenode就无法启动。
在网上找到了相应的解决方法http://blog.youkuaiyun.com/bychjzh/article/details/7830508
内容如下：
  最近遇到了一个问题，执行start-all.sh的时候发现JPS一下namenode没有启动
        每次开机都得重新格式化一下]]></description><category></category></item><item><title><![CDATA[Nutch0.9配置]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/21189989</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/21189989</guid><author>leaderYU</author><pubDate>Thu, 13 Mar 2014 21:26:26 +0800</pubDate><description><![CDATA[参看了很多文章，花了一个下午的时间，使用nutch0.9完成了一个简单搜索引擎。
就是一些简单配置，不细说了。主要参照了这两篇文章：
http://xusulong.iteye.com/blog/663411
http://www.blogjava.net/persister/archive/2009/07/23/288039.html
 
配置过程中遇到过两个问题。
1、当我把ROO]]></description><category></category></item><item><title><![CDATA[hadoop-0.20.2开发环境搭建]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/21117167</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/21117167</guid><author>leaderYU</author><pubDate>Wed, 12 Mar 2014 21:39:24 +0800</pubDate><description><![CDATA[折腾了蛮久，参看了网上很多博客文章，我的hadoop环境终于搭建起来。现在回想起来，好像也没有什么难的，不过一步步照着来就是了。但是最初搭建的时候确实遇到了很多问题。现在就自己能记得的，把重要的步骤记录一下。
准备工作：hadoop-0.20.2、jdk-7u45-linux-x64、VMware-workstation-full-v10.0.0-1295980、ubuntu-12.04-des]]></description><category></category></item><item><title><![CDATA[题目1510：替换空格]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19996841</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19996841</guid><author>leaderYU</author><pubDate>Wed, 26 Feb 2014 20:13:19 +0800</pubDate><description><![CDATA[题目描述：

请实现一个函数，将一个字符串中的空格替换成“%20”。例如，当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。




输入：

每个输入文件仅包含一组测试样例。
对于每组测试案例，输入一行代表要处理的字符串。




输出：

对应每个测试案例，出经过处理后的字符串。




样例输入：
We]]></description><category></category></item><item><title><![CDATA[题目1384：二维数组中的查找]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19850485</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19850485</guid><author>leaderYU</author><pubDate>Mon, 24 Feb 2014 22:36:34 +0800</pubDate><description><![CDATA[题目描述：

在一个二维数组中，每一行都按照从左到右递增的顺序排序，每一列都按照从上到下递增的顺序排序。请完成一个函数，输入这样的一个二维数组和一个整数，判断数组中是否含有该整数。




输入：

输入可能包含多个测试样例，对于每个测试案例，

输入的第一行为两个整数m和n(1

输入的第二行包括一个整数t(1

接下来的m行，每行有n个数，代表题目所给出的m行n列]]></description><category></category></item><item><title><![CDATA[题目1464：Hello World for U]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19770213</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19770213</guid><author>leaderYU</author><pubDate>Sun, 23 Feb 2014 21:25:27 +0800</pubDate><description><![CDATA[题目描述：

Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as:

h    d
e     l
l      r
lowo


That is,]]></description><category></category></item><item><title><![CDATA[题目1202：排序]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19770171</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19770171</guid><author>leaderYU</author><pubDate>Sun, 23 Feb 2014 21:23:52 +0800</pubDate><description><![CDATA[题目描述：

    对输入的n个数进行排序并输出。


输入：

    输入的第一行包括一个整数n(1
    接下来的一行包括n个整数。


输出：

    可能有多组测试数据，对于每组数据，将排序后的n个整数输出，每个数后面都有一个空格。
    每组测试数据的结果占一行。


样例输入：
4
1 4 3 2


样例输出：
1 2 3 4 ]]></description><category></category></item><item><title><![CDATA[题目1185：特殊排序]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19770047</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19770047</guid><author>leaderYU</author><pubDate>Sun, 23 Feb 2014 21:21:55 +0800</pubDate><description><![CDATA[题目描述：

输入一系列整数，将其中最大的数挑出，并将剩下的数进行排序。


输入：
输入第一行包括1个整数N，1
接下来的一行有N个整数。


输出：
可能有多组测试数据，对于每组数据，
第一行输出一个整数，代表N个整数中的最大值，并将此值从数组中去除，将剩下的数进行排序。
第二行将排序的结果输出。


样例输入：
4
1 3 4 2


样例输出：
]]></description><category></category></item><item><title><![CDATA[题目1061：成绩排序]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/19769785</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/19769785</guid><author>leaderYU</author><pubDate>Sun, 23 Feb 2014 21:18:57 +0800</pubDate><description><![CDATA[题目描述：

    有N个学生的数据，将学生数据按成绩高低排序，如果成绩相同则按姓名字符的字母序排序，如果姓名的字母序也相同则按照学生的年龄排序，并输出N个学生排序后的信息。


输入：

    测试数据有多组，每组输入第一行有一个整数N（N
    每个学生的数据包括姓名（长度不超过100的字符串）、年龄（整形数）、成绩（小于等于100的正数）。


输出：

  ]]></description><category></category></item><item><title><![CDATA[C++中成员函数指针的应用]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/9943555</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/9943555</guid><author>leaderYU</author><pubDate>Tue, 13 Aug 2013 10:15:48 +0800</pubDate><description><![CDATA[C++成员函数指针的应用
C++中，成员指针是最为复杂的语法结构。但在事件驱动和多线程应用中被广泛用于调用回叫函数。在多线程应用中，每个线程都通过指向成员函数的指针来调用该函数。在这样的应用中，如果不用成员指针，编程是非常困难的。


　　刚遇到这种语法时也许会让你止步不前。但你会发现，使用恰当的类型定义之后，复杂的语法是可以简化的。本文引导你了解成员函数指针的声明，赋值和调用回叫函数。 ]]></description><category></category></item><item><title><![CDATA[程序员技术练级攻略]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/8931702</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/8931702</guid><author>leaderYU</author><pubDate>Wed, 15 May 2013 18:24:25 +0800</pubDate><description><![CDATA[月光博客6月12日发表了《写给新手程序员的一封信》，翻译自《An open letter to those who want to start programming》，我的朋友（他在本站的id是Mailper）告诉我，他希望在酷壳上看到一篇更具操作性的文章。因为他也是喜欢编程和技术的家伙，于是，我让他把他的一些学习Python和Web编程的一些点滴总结一下。于是他给我发来了一些他的心得和经历，我]]></description><category></category></item><item><title><![CDATA[如何学好C++语言]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/8931630</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/8931630</guid><author>leaderYU</author><pubDate>Wed, 15 May 2013 17:58:28 +0800</pubDate><description><![CDATA[昨天写了一篇如何学好C语言，就有人回复问我如何学好C++，所以，我把我个人的一些学习经验写在这里，希望对大家有用。首先，因为如何学好C语言中谈到了算法和系统，所以这里就只谈C++语言。

C++是最难的语言。这个世界上最难的编程语言可能非C++莫属了。你千万不要以为几天就可以学好C++，C++的学习曲线是相当BT的，你可以看看这篇文章。C++是一门很自由的语言，自由到了有点BT和恐怖的地步。我]]></description><category></category></item><item><title><![CDATA[UML类图几种关系的总结]]></title><link>https://blog.youkuaiyun.com/leaderYU/article/details/8929127</link><guid>https://blog.youkuaiyun.com/leaderYU/article/details/8929127</guid><author>leaderYU</author><pubDate>Wed, 15 May 2013 10:20:06 +0800</pubDate><description><![CDATA[在UML类图中，常见的有以下几种关系: 泛化（Generalization）,  实现（Realization），关联（Association)，聚合（Aggregation），组合(Composition)，依赖(Dependency)
         1. 泛化（Generalization）
        【泛化关系】：是一种继承关系，表示一般与特殊的关系，它指定了子类如何特化父类的]]></description><category></category></item></channel></rss>