1、检查空间是否够用(我的就是这个原因) df -hl 查看,如果可用的很少,那就是了。2、datanode是否正常启动 访问:50070,查看datanode的个数,如果不对应,重新启动3、是否在safemode下 hadoop dfsadmin -safemode get,查看,leave...
分类:
其他好文 时间:
2014-06-19 00:14:41
阅读次数:
306
You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?public class Soluti...
分类:
其他好文 时间:
2014-06-18 21:54:54
阅读次数:
232
题目
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
方法
矩阵坐标的转换,循环替换。
public voi...
分类:
其他好文 时间:
2014-06-16 11:28:03
阅读次数:
199
在Build Settings/Swift Complier-Code Generation/Objective-C Bridging Header找到对应的文件路径,删除一般就ok了第二种办法,就新建一个这样命名的.h文件(不推荐使用)
分类:
其他好文 时间:
2014-06-15 22:03:01
阅读次数:
202
php基本的语法网上看一些别人写的网站就会了)
php下的执行sql语句:
1.建立数据库连接:
$conn = mysql_connect("localhost", "root", "admin") or die("Could not connect " );
Localhost:本地主机名,root:mysql数据库账号 admin:mysql数据库密码
my...
分类:
编程语言 时间:
2014-06-15 19:17:52
阅读次数:
298
Given a binary tree containing digits from
0-9 only, each root-to-leaf path
could represent a number.
An example is the root-to-leaf path
1->2->3 which represents the number 123.
F...
分类:
其他好文 时间:
2014-06-15 14:51:02
阅读次数:
167
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
思路:第一种思路是一层一层的进行旋转,比较直观,但是花费的时间要久一些;第二种思路则比较取巧,首先沿着...
分类:
其他好文 时间:
2014-06-15 08:46:26
阅读次数:
170
刚刚 部署了ii7的dll的有x86写的,就会出现以下这样的问题 iis 7 x86,Could not load file or assembly 'Name' or one of its dependencies. An attempt was made to load a program wi...
分类:
Web程序 时间:
2014-06-14 23:07:21
阅读次数:
428
出现这种错误是因为主机名和/etc/hosts 文件不一致,只需要把主机名和其IP 写入/etc/hosts 文件,就ok了。注意名字不能有下划线修改network 文件之外,再使用hostname 命令指定一下主机名,就不用重启OS了。 1. 修改/etc/sysconfig/network 文件[root@localhost~]# cat /etc/sysconfig/networkN...
分类:
数据库 时间:
2014-06-14 17:29:44
阅读次数:
418
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:
其他好文 时间:
2014-06-14 08:52:31
阅读次数:
265