一. 配置hadoop插件
1. 安装插件
将hadoop-eclipse-plugin-1.1.2.jar复制到eclipse/plugins目录下,重启eclipse
2. 打开MapReduce视图
window -> open perspective -> other 选择Map/Reduce 图标是一个蓝色的象
3. 添加一个MapReduce环境
在eclipse下端,控制...
机器甲上曾经使用过一个私人github账号A,并且添加了ssh验证后来为了公共开发,又创建了一个github账号B,提交的时候发现出现错误: remote: Permission to user_B/xxx.git denied to user_A使用git config, git log 查看用户...
分类:
其他好文 时间:
2015-01-25 00:00:31
阅读次数:
433
String str = new String("abc")创建了俩个对象,首先为创建一个String对象"abc",然后在调用String类的构造方法时1 public String(String original) {2 //other code ...3 }再次创建了一个对象origi...
分类:
其他好文 时间:
2015-01-24 21:23:46
阅读次数:
161
可以将jvm粗略分为以下部分:Heap Memory:存储java对象.Non-Heap Memory:存储加载的class文件,以及其他meta-data信息.Other:存储java代码,jvm内部结构等.Heap Memory: 是在jvm启动的时候分配的 -Xmx:设置堆的最大大小. ...
分类:
其他好文 时间:
2015-01-24 17:19:23
阅读次数:
158
Data UnitsIn the order of granularity - Hive data is organized into:Databases: Namespaces that separate tables and other data units from naming confli...
分类:
其他好文 时间:
2015-01-23 12:50:24
阅读次数:
174
进制转换进制转换string ten_to_other(int y, int sum) { string res = ""; while (sum != 0) { char c = sum % y; if (0 <= c && c <= 9) { c = c + '0'; } else { /...
分类:
其他好文 时间:
2015-01-23 06:05:14
阅读次数:
163
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:
其他好文 时间:
2015-01-23 00:45:21
阅读次数:
194
判断题1 涉及到的一个问题是类内赋值构造函数的传值问题。如果允许复制构造函数传值,就会在赋值构造函数内部递归一般的进行对复制构造函数的调用,最终必然导致栈溢出。 如果仔细观察就会发现,如果要是调用复制构造函数,赋值构造函数的输入参数必然是引用形式。 举例; A(const A &other) 面试题...
分类:
移动开发 时间:
2015-01-22 21:44:28
阅读次数:
205
版主提供了 anti dylib 的文章,http://bbs.chinapyg.com/thread-76158-1-1.html原理很简单,看下面源代码即可~ 在Build Settings中找到“Other Linker Flags”在其中加上-Wl,-sectcreate,__REST...
分类:
其他好文 时间:
2015-01-21 21:54:50
阅读次数:
395
题目描述:
Winning at Sports25 points
In the game of Sports, the object is have more points than the other team after a cer...