将本地文件拷贝到hdfs上去,结果上错误:Name node is in safe mode 这是因为在分布式文件系统启动的时候,开始的时候会有安全模式,当分布式文件系统处于安全模式的情况下,文件系统中的内容不允许修改也不允许删除,直到安全模式结束。安全模式主要是为了系统启动的时候检查各个DataN ...
分类:
其他好文 时间:
2017-05-31 16:33:44
阅读次数:
155
1、首先关闭mysql,使用`--skip-grant-tables‘参数来启动mysqld[root@iZwz9ga6kootlfn5ejt8axZ~]#servicemysqldstop
[root@iZwz9ga6kootlfn5ejt8axZ~]#/usr/bin/safe_mysqld--skip-grant-tables&2、此时可以无密码登录mysql,修改密码[root@iZwz9ga6kootlfn5ejt8axZ~]#mysql..
分类:
数据库 时间:
2017-05-31 15:34:43
阅读次数:
159
Manually unsubscribing from subscriptions is safe, but tedious and error-prone. This lesson will teach us about the takeUntil operator and its utility ...
分类:
Web程序 时间:
2017-05-29 14:36:32
阅读次数:
209
1.issue: 4955 INFO: Processing pre-safe import module hook win32comTraceback (most recent call last): File "<string>", line 2, in <module>ImportError: ...
分类:
编程语言 时间:
2017-05-28 10:57:44
阅读次数:
230
PHP调试的时候出现了警告: It is not safe to rely on the system解决方法,其实就是时区设置不正确造成的,本文提供了3种方法来解决这个问题。 实际上,从PHP 5.1.0开始当对使用date()等函数时,如果timezone设置不正确,在每一次调用时间函数时,都会 ...
分类:
其他好文 时间:
2017-05-27 23:47:08
阅读次数:
210
很长时间,web设计师总是得用一些“web-safe”字体,英文用body{font-family:"corbel", Arial, Sans-serif; }中文用body{font-family:"微软雅黑" }现在@font-face能够加载服务器端的字体文件,让浏览器端可以显示用户电脑里没有 ...
分类:
Web程序 时间:
2017-05-26 23:34:19
阅读次数:
375
原文转自 http://www.yanshiba.com/archives/638 1: 为什么需要base64? ASCII码一共规定了128个字符的编码,这128个符号,范围在[0,127]之间.其中,[0,31],及127, 33个属于不可打印的控制字符. 在电子邮件传输信息时,有些邮件网关会 ...
分类:
Web程序 时间:
2017-05-25 00:07:28
阅读次数:
267
业务反馈突然连接不上phxsql,没有权限,发现phxsql的17000端口挂掉了,也就是phxbinlogsrv进程挂掉root12304110May13?00:00:00sh/data1/phxsql/bin/mysqld_safe--defaults-file=/data1/phxsql/etc/my.cnf--super_read_only--plugin-load=phxsync_master_phxrpc.so
root1230521..
分类:
数据库 时间:
2017-05-22 13:20:55
阅读次数:
191
This files have types: *.___jb_old___ and *.___jb_bak___ The file left unchanged. You can disable "safe write" Use "safe write" (save changes to a tem ...
分类:
其他好文 时间:
2017-05-20 13:22:44
阅读次数:
430
#1.停止mysql数据库 /etc/init.d/mysqld stop #2.执行如下命令 mysqld_safe --user=mysql --skip-grant-tables --skip-networking & #3.使用root登录mysql数据库 mysql -u root mys ...
分类:
数据库 时间:
2017-05-19 16:47:47
阅读次数:
196