测试版本:CDH5.0,(Hadoop2.3)在使用windows调用Hadoop yarn平台的时候,一般都会遇到如下的错误:2014-05-28 17:32:19,761 WARN org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor: Exception from container-launch with co...
分类:
其他好文 时间:
2014-06-03 06:26:17
阅读次数:
277
我使用的VS2008英文版的,不喜欢用中文版的。
现在用C#做相关开发,用到sqlite数据库。
网上找了很多,真正的教程特别少,都是贴的一堆垃圾代码。要么是无法配置通过的,错误一大堆,哎。
最后还是自己想办法解决了。
1、下载sqlite的运行库,首先网上的教程是让我们去http://system.data.sqlite.org/index.html/doc/trunk/ww...
分类:
数据库 时间:
2014-06-03 01:23:54
阅读次数:
340
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or vertically neighboring. The same letter cell may not be use...
分类:
其他好文 时间:
2014-06-03 01:07:58
阅读次数:
329
typedef char status;
typedef char Telemtype;
#define NULL 0
#define OK 1
typedef struct bitnode{
Telemtype data;
struct bitnode *lchild,*rchild;
}bitnode,*bitree;
Creatbitree(bitree &t)
{
//先序创建二叉...
分类:
其他好文 时间:
2014-06-03 00:47:39
阅读次数:
195
1、Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
clas...
分类:
其他好文 时间:
2014-06-02 23:13:22
阅读次数:
290
cocos2dx 2.2.3 xcode5.0,新建mac项目报错
Undefined symbols for architecture x86_64:
"cocos2d::extension::LabelReader::createInstance()", referenced from:
cocos2d::extension::GUIRead...
分类:
其他好文 时间:
2014-06-02 23:07:31
阅读次数:
307
改变 EBS inventory 里面的 UOM conversion 会导致数据崩溃......
分类:
其他好文 时间:
2014-06-01 10:44:31
阅读次数:
341
最近在做uboot中nand启动相关的工作,遇到一个问题一直纠结着。现在终于明白了这个问题,想想还有好多兄弟在某个黑暗的角落里或者某台电脑前纠结着呢,所以赶紧写下来以供查阅。
uboot version 2014.4
/* Architecture-specific global data */
struct arch_global_data {
#if defined(CONFIG_FS...
分类:
其他好文 时间:
2014-06-01 10:27:38
阅读次数:
314
启动:net start mySql;
进入:mysql -u root -p 或者 mysql -h localhost -u root -p databaseName;
列出数据库:show databases;
选择数据库:use databaseName;
列出表格:show tables;
显示表格列的属性:show columns from tableName;...
分类:
数据库 时间:
2014-06-01 09:44:18
阅读次数:
301
一、事件
1、加载DOM
$(document).ready() 这个第一节里详细介绍了
2、事件绑定
jQuery定义了bind()方法作为统一的接口,用来为每一个匹配元素绑定事件处理程序。其基本语法:bind(type,[data],fn);
其中参数type表示事件类型,参数data是可选参数,它可以作为event.data属性值传递给事件对象的额外数据对象...
分类:
Web程序 时间:
2014-06-01 09:11:05
阅读次数:
623