posts - 33,  comments - 70,  trackbacks - 0
  2009年3月7日
     摘要: tabs=true

Replace the if structure at the bottom of the file with the following:

# Last step: fire up vim.
if [ "$gui" ]; then
if $tabs && [[ `$binary --serverlist` = "VIM" ]]; then
exec "$binary" -g $opts --remote-tab-silent ${1:+"$@"}
else
exec "$binary" -g $opts ${1:+"$@"}
fi
else......

  阅读全文
posted @ 2010-11-17 15:32 地狱男爵(hellboys) 阅读(1036) | 评论 (0)编辑 收藏
     摘要: 1、选取最适用的字段属性
2、使用连接(JOIN)来代替子查询(Sub-Queries)
3、使用联合(UNION)来代替手动创建的临时表
4、事务
5、锁定表
6、使用外键
7、使用索引
8、优化的查询语句  阅读全文
posted @ 2009-03-25 13:35 地狱男爵(hellboys) 阅读(2700) | 评论 (2)编辑 收藏
     摘要: 虽然Namenode 可以设置的比较隐秘,但是依然可以被扫描到,所以只靠隐秘Namenode方法对HDFS系统的安全保障是并不可取的.
虽然可以用网络划分或防火墙进行隔离,但是对于Hadoop框架设计而言,是有重大安全遗漏的.
本文讨论Hadoop安全隐患问题. 如何可对Hadoop进行攻击,如何进行安全防护.   阅读全文
posted @ 2009-03-07 12:23 地狱男爵(hellboys) 阅读(3533) | 评论 (1)编辑 收藏
<2009年3月>
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

常用链接

随笔分类

随笔档案

文章档案

相册

连接

最新随笔

搜索

  •  

最新评论

阅读排行榜

评论排行榜