原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:
其他好文 时间:
2014-08-28 13:04:59
阅读次数:
162
vidir-listening.sh#!/bin/bash#commanddate="/bin/date"ha="/usr/bin/hadoopfs-ls-d"#vary=`$date+%Y`m=`$date+%D|cut-d"/"-f1`d=`$date+%d`h=`$date+%H`dir="/cstreaming/DAT/${y}${m}${d}${h}*"$ha$dir|grep-v-ifound|awk‘{print$6,$7,$8}‘./dir-listening.sh2014-08-2717:0..
分类:
其他好文 时间:
2014-08-27 18:56:00
阅读次数:
188
1.Tachyon简介Tachyon是一个高容错的分布式文件系统,允许文件以内存的速度在集群框架中进行可靠的共享,就像Spark和 MapReduce那样。通过利用信息继承,内存侵入,Tachyon获得了高性能。Tachyon工作集文件缓存在内存中,并且让不同的 Jobs/Queries以及框架都能...
分类:
其他好文 时间:
2014-08-27 18:32:08
阅读次数:
454
hadoop多次格式化后,导致datanode启动不了,并且在datanode里面执行hadoop datanode -upgrade 会抛出如下异常:************************************************************/2014-08-27 14...
分类:
其他好文 时间:
2014-08-27 16:20:27
阅读次数:
365
在Havana、icehouse版本的生产环境部署中,常常会启用一个外部cron job去监控是否存在down掉的L3,如果存在则将此L3上所有绑定的VRouter重新绑定到其他L3上。...
分类:
其他好文 时间:
2014-08-27 14:43:48
阅读次数:
236
Spark Standalone集群是Master-Slaves架构的集群模式,和大部分的Master-Slaves结构集群一样,存在着Master单点故障的问题。如何解决这个单点故障的问题,Spark提供了两种方案:基于文件系统的单点恢复(Single-Node Recovery with Loc...
分类:
其他好文 时间:
2014-08-26 19:00:56
阅读次数:
567
高可用集群的前提:1、节点需要不停的向其他节点通告自己的心跳信息,以判断节点的健康状态。2、需要使用加密暗号进行沟通,防止任意主机的加入。
3、使用投票机制决定哪个主机为活动主机。一般高可用集群节点为奇数个(至少3个),且当节点过多时,会被划分为多个小的集群,当..
分类:
其他好文 时间:
2014-08-26 17:36:47
阅读次数:
342
Install Ubuntu 12.04 and update the system
apt-get update;
apt-get upgrade;
Install dependencies
apt-get install automake autoconf gcc uml-utilities libtoolbuild-essential pkg-config...
分类:
其他好文 时间:
2014-08-26 11:47:05
阅读次数:
173
执行apt-getdist-upgrade时出现“E:Sub-process/usr/bin/dpkgreturnedanerrorcode(1)”,新内核就是不能完成设置,解决办法如下:cd/var/lib/dpkg
mvinfoinfobak;mkdirinfo然后重新来过就没问题了。
分类:
其他好文 时间:
2014-08-26 03:00:06
阅读次数:
197
原题戳我Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)You ha...
分类:
其他好文 时间:
2014-08-26 00:14:25
阅读次数:
334