<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[FightForProgrammer的专栏]]></title><description><![CDATA[拾起往日的时光]]></description><link>https://blog.csdn.net/FightForProgrammer</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; FightForProgrammer]]></copyright><item><title><![CDATA[spark java.lang.OutOfMemoryError: Java heap space]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/49837453</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/49837453</guid><author>FightForProgrammer</author><pubDate>Sat, 14 Nov 2015 17:57:11 +0800</pubDate><description><![CDATA[spark
 java.lang.OutOfMemoryError: Java heap space

经常遇到此问题，这个说得很详细

http://stackoverflow.com/questions/21138751/spark-java-lang-outofmemoryerror-java-heap-space]]></description><category></category></item><item><title><![CDATA[sql替换NOT IN语句]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/49804973</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/49804973</guid><author>FightForProgrammer</author><pubDate>Thu, 12 Nov 2015 21:52:54 +0800</pubDate><description><![CDATA[进来项目中用到很多sql的语句，其中有个需求：
有两个表table1、table2，需要找出table1中存在，而table2中不存在的数据。要求不能使用NOT IN语句。


举例：两表的数据如下：
   




现在要从table1中选出记录，记录的f3字段不在table2中出现。


一、简单的使用NOT IN
select f1,f2,f3 from tabl]]></description><category></category></item><item><title><![CDATA[spark问题归纳]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47946989</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47946989</guid><author>FightForProgrammer</author><pubDate>Mon, 24 Aug 2015 11:05:59 +0800</pubDate><description><![CDATA[spark问题归纳
一、说明

以下遇到的spark问题都是本人在实际过程中碰到的，可能并不适合所有的情况，可做参考，有异议欢迎讨论。



二、问题列表


2.1  Application history not found (app-20150821200352-0022) 

 No event logs found for application in hdfs:]]></description><category></category></item><item><title><![CDATA[欢迎使用CSDN-markdown编辑器]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47188401</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47188401</guid><author>FightForProgrammer</author><pubDate>Sat, 01 Aug 2015 17:25:28 +0800</pubDate><description><![CDATA[欢迎使用Markdown编辑器写博客本Markdown编辑器使用StackEdit修改而来，用它写博客，将会带来全新的体验哦：
Markdown和扩展Markdown简洁的语法
代码块高亮
图片链接和图片上传
LaTex数学公式
UML序列图和流程图
离线写博客
导入导出Markdown文件
丰富的快捷键
快捷键
加粗    Ctrl + B 
斜体    Ctrl + I 
引用    Ctrl]]></description><category></category></item><item><title><![CDATA[Spark体系及RDD]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47175235</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47175235</guid><author>FightForProgrammer</author><pubDate>Fri, 31 Jul 2015 20:42:18 +0800</pubDate><description><![CDATA[Spark体系架构

Spark体系架构包括如下三个主要组件：


数据存储
API
管理框架

接下来让我们详细了解一下这些组件。

数据存储：

Spark用HDFS文件系统存储数据。它可用于存储任何兼容于Hadoop的数据源，包括HDFS，HBase，Cassandra等。

API：

利用API，应用开发者可以用标准的API接口创建基于Spark的应用。]]></description><category></category></item><item><title><![CDATA[Spark API]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47174977</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47174977</guid><author>FightForProgrammer</author><pubDate>Fri, 31 Jul 2015 20:16:38 +0800</pubDate><description><![CDATA[Spark RDD API使用说明（一）
1、aggregate
1.1  函数声明
defaggregate[U: ClassTag](zeroValue: U)(seqOp: (U, T) => U, combOp: (U, U)=> U): U
1.2函数说明
aggregate函数通过两个函数来操作RDD。第一个reduce函数(seqOp)对每个partition聚合，然后将初]]></description><category></category></item><item><title><![CDATA[Spark初探]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47174597</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47174597</guid><author>FightForProgrammer</author><pubDate>Fri, 31 Jul 2015 19:57:18 +0800</pubDate><description><![CDATA[Spark初探



一、Spark简介及特性
1.1什么是Spark
Apache Spark是一个围绕速度、易用性和复杂分析构建的大数据处理框架。最初在2009年由加州大学伯克利分校的AMPLab开发，并于2010年成为Apache的开源项目之一。Spark为我们提供了一个全面、统一的框架用于管理各种有着不同性质（文本数据、图表数据等）的数据集和数据源（批量数据或实时的流数据）的大]]></description><category></category></item><item><title><![CDATA[Spark streaming 初探]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/47106645</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/47106645</guid><author>FightForProgrammer</author><pubDate>Tue, 28 Jul 2015 16:07:02 +0800</pubDate><description><![CDATA[Spark streaming 初探 

一、原理和运行场景
Spark Streaming运行原理图如下：



Spark Streaming把Kafka、HDFS、Socket等系统作为流处理的数据来源，把输入的数据流用时间切片的方式把数据分为一个个小的Batch，然后把这些小的Batch交给Spark引擎处理。


官方wordcount示例代码：
package o]]></description><category></category></item><item><title><![CDATA[Word Ladder]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46582963</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46582963</guid><author>FightForProgrammer</author><pubDate>Sun, 21 Jun 2015 17:21:59 +0800</pubDate><description><![CDATA[Given two words (beginWord and endWord), and a dictionary, find the length of shortest transformation sequence from beginWord to endWord, such that:

Only one letter can be changed at a timeEach int]]></description><category></category></item><item><title><![CDATA[LeetCode Word Break]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46438447</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46438447</guid><author>FightForProgrammer</author><pubDate>Wed, 10 Jun 2015 09:57:42 +0800</pubDate><description><![CDATA[LeetCode Word Break


Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.

For example, given
s = "l]]></description><category></category></item><item><title><![CDATA[LeetCode Maximal Square]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46377127</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46377127</guid><author>FightForProgrammer</author><pubDate>Fri, 05 Jun 2015 15:06:40 +0800</pubDate><description><![CDATA[LeetCode Maximal Square


Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.

For example, given the following matrix:
1 0 1 0 0
1]]></description><category></category></item><item><title><![CDATA[LeetCode Contains Duplicate II   Contains Duplicate III]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46330351</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46330351</guid><author>FightForProgrammer</author><pubDate>Tue, 02 Jun 2015 15:27:53 +0800</pubDate><description><![CDATA[Contains Duplicate II   Contains Duplicate III
一、

Contains Duplicate II
 
Given
 an array of integers and an integer k,
 find out whether there there are two distinct indices i and j in
 the ]]></description><category></category></item><item><title><![CDATA[LeetCode Course Schedule]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46285991</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46285991</guid><author>FightForProgrammer</author><pubDate>Sun, 31 May 2015 10:41:54 +0800</pubDate><description><![CDATA[LeetCode Course Schedule


There are a total of n courses you have to take, labeled from 0 to n
 - 1.

Some courses may have prerequisites, for example to take course 0 you have to first take co]]></description><category></category></item><item><title><![CDATA[LeetCode Word Search II]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/46122711</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/46122711</guid><author>FightForProgrammer</author><pubDate>Thu, 28 May 2015 14:37:06 +0800</pubDate><description><![CDATA[LeetCode Word Search II


Given a 2D board and a list of words from the dictionary, find all words in the board.

Each word must be constructed from letters of sequentially adjacent cell, where "]]></description><category></category></item><item><title><![CDATA[LeetCode Add and Search Word - Data structure design]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45891941</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45891941</guid><author>FightForProgrammer</author><pubDate>Thu, 21 May 2015 14:59:53 +0800</pubDate><description><![CDATA[Add and Search Word - Data structure design 


Design a data structure that supports the following two operations:
void addWord(word)
bool search(word)


search(word) can search a literal word o]]></description><category></category></item><item><title><![CDATA[LeetCode Implement Trie (Prefix Tree)]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45841651</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45841651</guid><author>FightForProgrammer</author><pubDate>Tue, 19 May 2015 10:30:15 +0800</pubDate><description><![CDATA[LeetCode Implement Trie (Prefix Tree)


Implement a trie with insert, search,
 and startsWith methods.

Note:
You may assume that all inputs are consist of lowercase letters a-z.


题目要求是实现字典]]></description><category></category></item><item><title><![CDATA[LeetCode Minimum Size Subarray Sum]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45771789</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45771789</guid><author>FightForProgrammer</author><pubDate>Sat, 16 May 2015 22:03:16 +0800</pubDate><description><![CDATA[LeetCode Minimum Size Subarray Sum


Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If there isn't one, return
 0 inste]]></description><category></category></item><item><title><![CDATA[LeetCode LRU Cache]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45745797</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45745797</guid><author>FightForProgrammer</author><pubDate>Fri, 15 May 2015 15:52:09 +0800</pubDate><description><![CDATA[LeetCode LRU Cache


Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.

get(key) - Get the value (will always be ]]></description><category></category></item><item><title><![CDATA[vs2010 error link2019无法解析的外部符号]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45649079</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45649079</guid><author>FightForProgrammer</author><pubDate>Mon, 11 May 2015 21:36:07 +0800</pubDate><description><![CDATA[vs2010 error link2019无法解析的外部符号
一、动机
自己写的Dll库，然后对其进行引用，出现了题中所示的错误。使用了以下步骤的解决办法。

1、引入dll的头文件：属性-》c/c++-》常规-》附加包含目录，在框中加入dll的头文件
2、引入lib库目录：属性-》链接器-》常规-》附加库目录，在框中加入生成dll对应的lib库目录（注意这里加入的是文件目录）
3、引]]></description><category></category></item><item><title><![CDATA[LeetCode House Robber]]></title><link>https://blog.csdn.net/FightForProgrammer/article/details/45622295</link><guid>https://blog.csdn.net/FightForProgrammer/article/details/45622295</guid><author>FightForProgrammer</author><pubDate>Sun, 10 May 2015 17:08:03 +0800</pubDate><description><![CDATA[LeetCode House Robber


You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of ]]></description><category></category></item></channel></rss>