Item 1: Consider static factory methods instead of constructorsAdvantage:One advantage of static factory methods is that, unlike constructors, they ha...
分类:
编程语言 时间:
2014-08-29 18:12:38
阅读次数:
262
初次在VM上配置Hadoop,开了三台虚拟机,一个作namenode,jobtracker另外两台机子作datanode,tasktracker配置好后,启动集群通过http://localhost:50700查看cluster状况Hadoop配置datanode无法连接到master发现没有dat...
分类:
其他好文 时间:
2014-08-29 15:54:18
阅读次数:
201
最近搭了个主从复制,中间出了点小问题,排查搞定,记录下来
1
环境:
虚拟机:
OS:
centos6.5
Linux host2 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
服务器IP
192.168.18.66
192.168....
分类:
数据库 时间:
2014-08-28 18:08:15
阅读次数:
442
原题戳我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
目标:
当前我环境中是有两个节点RAC1
和RAC2 节点,现在增加一个RAC3节点。
概要:为现有的Oracle10g RAC 添加节点大致包括以下步骤:
1. 配置新的服务器节点上的硬件及操作系统环境
2. 向 Cluster 集群中加入该节点
3. 在新节点上安装 Oracle Database software
4. 为新的节点配置监听器 LISTENER
5....
分类:
其他好文 时间:
2014-08-27 18:43:08
阅读次数:
303
1.Tachyon简介Tachyon是一个高容错的分布式文件系统,允许文件以内存的速度在集群框架中进行可靠的共享,就像Spark和 MapReduce那样。通过利用信息继承,内存侵入,Tachyon获得了高性能。Tachyon工作集文件缓存在内存中,并且让不同的 Jobs/Queries以及框架都能...
分类:
其他好文 时间:
2014-08-27 18:32:08
阅读次数:
454
在Havana、icehouse版本的生产环境部署中,常常会启用一个外部cron job去监控是否存在down掉的L3,如果存在则将此L3上所有绑定的VRouter重新绑定到其他L3上。...
分类:
其他好文 时间:
2014-08-27 14:43:48
阅读次数:
236
原码安装heartbeat需要三个包1.groupaddhaclient2.useradd-ghaclienthaclusterHeartbeat-3-0-7e3a82377fa8.tar.bz2Reusable-Cluster-Components-glue--glue-1.0.9.tar.bz2ClusterLabs-resource-agents-v3.9.2-0-ge261943.tar俩台主机centos6.51安装Gluetar-jxvfReusable-Cluste..
分类:
其他好文 时间:
2014-08-27 11:09:38
阅读次数:
282
storm操作zookeeper的主要函数都定义在命名空间backtype.storm.cluster中(即cluster.clj文件中)。backtype.storm.cluster定义了两个重要protocol:ClusterState和StormClusterState。clojure中的pr...
分类:
其他好文 时间:
2014-08-26 22:38:32
阅读次数:
354