常用管理命令Hadoop管理员的常用命令。启动Hadoop进入HADOOP_HOME目录。执行sh bin/start-all.sh关闭Hadoop进入HADOOP_HOME目录。执行sh bin/stop-all.shbalancer运行集群平衡工具。管理员可以简单的按Ctrl-C来停止平衡过程。...
分类:
其他好文 时间:
2014-07-16 23:06:07
阅读次数:
249
If you ever have trouble with a service being stuck in a 'starting' or 'stopping' state, you can run a couple of simple commands to kill the service.1...
查看是否开启:service iptables status关闭方法:service iptables stop永远关闭:Ntsysv把iptables前的*号去掉。查看SELinux状态:1、/usr/sbin/sestatus -v ##如果SELinux status参数为enabled即为开...
分类:
其他好文 时间:
2014-07-16 21:41:22
阅读次数:
185
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-12 13:47:24 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
编程语言 时间:
2014-07-12 21:27:24
阅读次数:
274
1、错误描述
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop }
2014-7-12 11:48:27 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded...
分类:
编程语言 时间:
2014-07-12 18:54:21
阅读次数:
241
centos开启和关闭防火墙命令(1)临时生效,重启后还原开启: # service iptables start关闭: # service iptables stop(2)永久性关闭,重启后不会还原开启: # chkconfig iptables on关闭: # chkconfig iptable...
分类:
其他好文 时间:
2014-07-12 00:25:32
阅读次数:
185
[javascript]view plaincopyvarjsonStr={"customer_name":"大发粮油加工厂","customer_id":"1","y":"45646","stop_date":"2030-01-0100:00:00.0","data_guid":"13sd13f1...
分类:
Web程序 时间:
2014-07-09 17:15:39
阅读次数:
241
经常带代码中看见这样的代码:
public static final int APP_START=1;
public static final int APP_PAUSE=0;
public static final int APP_STOP =2;
public static final int PLAY_START=1;
public static final int P...
分类:
其他好文 时间:
2014-07-08 17:43:11
阅读次数:
267
服务管理工具:httpd指令:httpd语法格式:httpd[-dserverroot][-fconfig][-Cdirective][-cdirective][-Dparameter][-elevel][-Efile][-kstart|restart|graceful|stop|graceful-stop][-Rdirectory][-h][-l][-L][-M][-S][-t][-v][-V][-X]参数说明:-dserverroot将ServerRoot指令..
分类:
其他好文 时间:
2014-07-08 10:05:36
阅读次数:
426
λ表达式的基本用途
回调与Java8的λ表达式 说明了Java8的λ表达式的基本用途:完成了回调的原意——代码的参数化。
回调:可以简单地说,如果你的方法需要override底层或JDK的某个类的方法,而且你从来没有自己调用过,则该方法就是回调。例如Applet定义的init()、start()、stop()和destroy();图形绘制方法paint(Graphics)、update(Gra...
分类:
编程语言 时间:
2014-07-05 23:33:43
阅读次数:
338