#!/bin/bash#setenvexportLANG="en_US.UTF-8"exportPATH=$PATH:/bin/sbin:/usr/sbin#whetherroottorunninguserif[[$(whoami)!=root]];thenecho"pleasesu-rootrunthescript."fiSERVICE=`whichservice`CHKCONFIG=`whichchkconfig`./etc/init.d/functions#installpackagesinstallT..
分类:
其他好文 时间:
2014-11-14 01:44:19
阅读次数:
189
Hadoop源码学习笔记(5) ——回顾DataNode和NameNode的类结构 之前我们简要的看过了DataNode的main函数以及整个类的大至,现在结合前面我们研究的线程和RPC,则可以进一步看看几个对象的大至结构以及调用关系。 我们知道,三个结构(客户端,NameNode,DataNod....
分类:
其他好文 时间:
2014-11-13 20:35:32
阅读次数:
223
一、ssh的启动 ssh localhost二、hadoop的HDFS的格式化 bin/hadoop namenode -format三、hadoop的start-all.sh的启动 bin/tart-all.sh四、hadoop的datanode的启动 bin/hadoop-daemon.sh s...
分类:
其他好文 时间:
2014-11-13 20:34:07
阅读次数:
115
重新打开ECLIPSE运行android项目,或者一段时间为运行ECLIPSE,打开后,发现新建项目都有红叉,以前的项目重新编译也有这问题,上网搜索按下面操作解决了问题工程上有红叉,不知道少了什么,但是工程中却没有任何错误,运行程序报错为: Your project contains error(s...
分类:
移动开发 时间:
2014-11-13 10:31:58
阅读次数:
166
错误及现象Error: pg_config executable not found.Downloading/unpacking psycopg2 Downloading psycopg2-2.5.4.tar.gz (682kB): 682kB downloaded Running setup......
分类:
其他好文 时间:
2014-11-12 19:34:43
阅读次数:
1180
C is a compiled language, and as such, C programs need to be converted to executables in order to use them. ?Typically, programmers do this with some sort of build system, rather than running the ...
分类:
其他好文 时间:
2014-11-12 15:10:05
阅读次数:
299
1.执行 git pull 的时候,出现 如下 错误: If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is runnin...
分类:
其他好文 时间:
2014-11-12 12:05:18
阅读次数:
164
http://www.itsprite.com/how-to-enablegeneratedebug-core-dump-in-linux/What is Core Dump?If the running programs were terminated abnormal or crashed, t...
分类:
系统相关 时间:
2014-11-11 22:33:55
阅读次数:
390
多进程:在操作系统中能(同时)运行多个任务(程序)多线程:在同一应用程序中有多个顺序流(同时)执行线程(thread)的执行过程首先生成线程(New),然后进入就绪状态(Runable),和其他线程一起抢占cpu执行的时间。抢到cpu执行的时间后,进入运行状态(Running),在运行过程中cpu执...
分类:
编程语言 时间:
2014-11-11 00:45:36
阅读次数:
236
选择 run configuration -> target -> Automatic -> 在 launch a new Android Virtual Device 选择你需要的版本启动,等待启动完成如果启动后,Choose a running Android device里没有出现选择项运行 ...
分类:
移动开发 时间:
2014-11-10 23:06:38
阅读次数:
487