- 博客(511)
- 资源 (25)
- 收藏
- 关注
转载 IT must prepare for Hadoop security issues
IT must prepare for Hadoop security issuesAggregating data from multiple sources can cause access control and data entitlement problems, analysts saysource: http://www.computerworld.com/s/article/92
2013-05-01 11:29:33 911
转载 Authorization and Authentication In Hadoop
Source:http://blog.cloudera.com/blog/2012/03/authorization-and-authentication-in-hadoopOne of the more confusing topics in Hadoop is how authorization and authentication work in the system.
2013-04-30 22:12:15 737
转载 Cloud Security Front and Center
Source:http://blogs.forrester.com/security_and_risk/2009/11/cloud-security-front-and-center.htmlCLOUD SECURITY FRONT AND CENTERCloud computing is the latest trend that has the industry abuzz
2013-04-25 22:21:12 732
转载 hadoop远程客户端安装配置、多用户权限配置
hadoop远程客户端安装配置客户端系统:ubuntu12.04客户端用户名:mjiang服务器用户名:hadoop下载hadoop安装包,保证和服务器版本一致(或直接copy服务器的hadoop安装包) 到 http://mirror.bjtu.edu.cn/apache/hadoop/common/ 下载tar.gz安装包,解压。tar zxvf h
2013-04-25 10:03:49 1299
转载 Linux网络驱动器:NFS /etc/export配置
nfs服务器的配置,配置文件/etc/exports:ro 该主机对该共享目录有只读权限rw 该主机对该共享目录有读写权限root_squash 客户机用root用户访问该共享文件夹时,将root用户映射成匿名用户no_root_squash 客户机用root访问该共享文件夹时,不映射root用户all_squash 客户机上的任何用户访问该共享目录时都映射成匿名用户ano
2013-04-11 09:28:21 1321
转载 Perl文件类型判断
示例:if(-e "FileName"){ print "TRUE\n";}else{ print "FALSE\n";} 检测选项 含义-r 文件或目录对此(有效的)用户(effective user)或组是可读的-w 文件或目录对此(有效的)用户或组是可
2013-04-08 17:26:56 2098
转载 Symmetric key cryptography
Source: http://en.wikipedia.org/wiki/Symmetric_key_cryptographySymmetric-key algorithms are a class of algorithms for cryptography that use the same cryptographic keys for both encryption of plain
2013-04-08 16:09:10 1058
转载 Replay attack
Source: http://en.wikipedia.org/wiki/Replay_attackA replay attack is a form of network attack in which a valid data transmission is maliciously(恶意地) or fraudulently(欺骗地) repeated or delayed. This
2013-04-07 14:19:50 1965
转载 Kerberos (protocol)
source: http://en.wikipedia.org/wiki/Kerberos_(protocol)Kerberos is a computer network authentication protocol which works on the basis of "tickets" to allow nodes communicating over a non-secur
2013-04-02 09:47:55 1085
转载 Access Control List
source: http://en.wikipedia.org/wiki/Access_control_listAn access control list (ACL), with respect to a computer file system, is a list of permissions attached to an object. An ACL specifies whi
2013-04-02 09:31:24 999
转载 JAVA正则表达式
正则表达式在处理文本方面用处非常大,最早像在Perl和awk语言中,提供了这种机制,Java在Java 2中也增加了正则表达式这个包java.util.regex。这个包为用户使用正则表达式,提供了易用而全面的支持。一、首先我们看一下怎么使用正则表达式的一个例子: A Matcher examines the results of applying a pattern. 我们希
2013-03-28 13:50:05 578
转载 Windows的命令行下设置网络代理
Windows的命令行下设置网络代理在公司访问网络的时候,需要设置代理,设置浏览器的代理是相当的方便了。但有的时候要使用命令行,就需要自己设置了(貌似只要浏览器设置好了,可以直接使用命令行,但我们公司的借,需要有用户名和密码,如果没有使用浏览器先输入的话,在命令行下还是无法访问网络的),设置的方式也比较简单,只需要设置http_proxy,http_proxy_user和http_
2013-03-26 17:55:38 20411 1
转载 Tensor(张量)
source: http://en.wikipedia.org/wiki/TensorTensors are geometric objects that describe linear relations between vectors, scalars, and other tensors. Elementary examples of such relations include
2013-03-25 21:11:02 1226
转载 System Activity Reporter (sar)
source: http://www.softpanorama.org/Admin/Monitoring/sar.shtmlThe SAR suite of utilities originated in Solaris. It became popular and now runs on most flavors of UNIX, including AIX, HP-UX, and Linu
2013-03-19 16:58:12 1333
转载 fedora14配置无线连接
首先安装无线网卡驱动查看无线网卡设备型号:输入命令:$ lspci -v找到终端以下信息: 03:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01) Subsystem: Foxconn International, Inc. Device e021 Flags: bus
2013-03-13 01:18:22 1042
原创 Win7关闭自动播放
1. 关闭自动播放的方法:在“运行”中输入gpedit.msc回车,进入“组策略”设置界面,依次点开“计算机配置”、“管理模版”、“Window组件”前的“+”号,单击下面的“自动播放策略”,在右边“设置”框中右击“关闭自动播放”单击“编辑”,在"编辑"项下单选“已启用”,下面选“所以驱动器”、点击“确定”。2. 打开控制面板------查看方式选大图标-----自动播放-----去掉为所
2013-03-13 00:31:58 782
转载 调出远程桌面的任务管理器
问题:当Windows自带的远程桌面控制托管在机房中的服务器,登录服务器后,有时候想调出远程机器的任务管理器,但按下Ctrl+Alt+Del后,总是本地机器的任务管理器出现,这是为何?需要进行什么设置吗?谢谢!解决方案:在微软的设置中,Ctrl+Alt+Del总对本地桌面有效,如果想在远程桌面中调出任务管理器,则需要按下Ctrl+ Shift+Esc代替,另外也可以通过Ctrl+Alt+E
2013-03-09 16:10:10 4205
转载 查看linux系统版本命令
一。查看内核版本命令:1) [root@SOR_SYS ~]# cat /proc/versionLinux version 2.6.18-238.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50)) #1 SMP Sun Dec 19 14:22:4
2013-02-25 14:56:13 365
原创 为GP一个schema下所有表授权的函数
CREATE OR REPLACE FUNCTION setTablePrivilege(schemaname text, role_name text) RETURNS text AS$BODY$DECLARE sqlstr text; aTable RECORD; privilegeStr text; fullname text;BEGINsqlstr:='select
2013-02-22 10:47:41 2479
转载 hadoop入门学习资料大全
Hadoop 是一个分布式系统基础架构,由Apache 基金会开发。用户可以在不了解分布式底层细节的情况下,开发分布式程序。充分利用集群的威力高速运算和存储。简单地说来,Hadoop 是一个可以更容易开发和运行处理大规模数据的软件平台。Hadoop 实现了一个分布式文件系统(Hadoop Distributed File System),简称HDFS。HDFS 有着高容错性(fault
2013-02-20 14:41:24 554
原创 Greenplum增加分区相关
alter table mydb.mytab alter partition mytab201301 drop partition mytab201301;alter table mydb.mytab add partition mytab201301 start (date '2013-01-01') inclusive end (date '2013-02-01') exclusive;
2013-01-30 15:27:13 4725
原创 Teradata alter table title
alter table your_db.your_table ADD job_code TITLE 'depart number';
2013-01-25 17:26:19 2225
原创 批量创建linux用户并设置初始密码
for item in `cat user.lst`; do mkdir $item; useradd -d /home/${item} -g gid $item; echo "$item:123456"|chpasswd; chown ${item}:Group home/${item}; chage -d 0 $item; done使用root用户,其中当前目录为home。ec
2013-01-23 15:44:07 3002
原创 TD表权限、用户角色查询
查询哪个用户对schema.table有权限:select * from dbc.allrights where databasename='schema' and tablename='table' 查询哪个角色对其有权限:select * from dbc.allrolerights where databasename='schema' and tablename='table'
2013-01-23 11:15:20 1700
转载 Greenplum: Partitioning an Existing Table
It is not possible to partition a table that has already been created. Tables can only be partitioned at CREATE TABLE time. If you have an existing table that you want to partition, you must recreate
2013-01-17 16:27:35 454
转载 Perl 中的线程(2)
>#!/usr/bin/perluse threads ('yield', 'stack_size' => 64*4096, 'exit' => 'threads_only',
2013-01-14 17:17:59 654
转载 Perl 中的线程(1)
线程概述线程是一个单一的执行流程,它是所有程序执行过程中最小的控制单位,即能被 CPU 所调度的最小任务单元。线程与进程之间既有联系,又完全不同。简单地说,一个线程必然属于某一个进程,而一个进程包含至少一个或者多个线程。早期的计算机系统一次只能运行一个程序,因此,当有多个程序需要执行的时候,唯一的办法就是让它们排成队,按顺序串行执行。进程的出现打破了这种格局,CPU 资源按时间片被分割开来
2013-01-14 15:29:17 729
转载 Perl多进程与多线程简单示例
多进程:#!/usr/bin/perluse strict;use warnings;print "Starting main program\n";my @childs;for ( my $count = 1; $count <= 10; $count++) { my $pid = fork(); if ($pid) { # parent #print "pi
2013-01-14 09:01:49 1752
转载 Teradata Compression (V2R4)
来源:http://www.teradataforum.com/l020829a.htmTeradata Compression (V2R4)Written by Mark Morris (Teradata-NCR)IntroductionWe are entering a unique period
2013-01-08 17:27:32 1546
转载 The Sociolinguistic Variable
1 Labovian MethodologyThe sociolinguistic variable is, Fasold (1990) says, a set of alternative ways of saying the same thing, although the alternatives, or variants, have social significance. Mor
2012-12-31 09:22:55 893
转载 Variation (linguistics)
Variation (linguistics)From Wikipedia, the free encyclopediaIn sociolinguistics, variation in language use among speakers or groups of speakers is a principal concern. Such variation m
2012-12-31 00:17:39 1551
转载 postgresql常用函数汇总
函数:string || string 说明:String concatenation 字符串连接操作例子:'Post' || 'greSQL' = PostgreSQL 函数:string || non-string or non-string || string说明:String concatenation with one non-string input 字符串
2012-12-24 17:43:55 1091
原创 cmd for 数字枚举
for /f "tokens=1,2* delims=." %%a in (list\table.lst) do ( for /l %%n in (1 1 12) do if %%n LEQ 9 ( echo %%a.%%b110%%n ) else ( echo %%a.%%b11%%n ) )
2012-12-24 17:37:07 727
转载 Apparent-time hypothesis
In sociolinguistics, the apparent-time hypothesis(显象时间假设) states that age-stratified(年龄分层) variation in a linguistic form is often indicative of a change in progress. That is, if in a survey of a po
2012-12-24 01:43:30 1238
原创 从Greenplum中查询用户名
SELECT u.usename AS "User name", u.usesysid AS "User ID", CASE WHEN u.usesuper AND u.usecreatedb THEN CAST('superuser, createdatabase' AS pg_catalog.text) WHEN u.usesuper THEN CAST('superu
2012-12-21 11:11:18 4230
转载 postgres function: COALESCE
COALESCECOALESCE(value [, ...])The COALESCE function returns the first of its arguments that is not null. Null is returned only if all arguments are null. It is often used to substitute a defa
2012-12-20 17:30:28 2789
原创 GP中查询表和视图清单,视图的字段及其类型
查询schema_name.view_name的字段及其类型:select a.attname, pg_catalog.format_type(a.atttypid, a.atttypmod) as type,a.attnotnullfrom pg_catalog.pg_attribute a,pg_catalog.pg_class c, pg_catalog.pg_namespace n
2012-12-18 17:21:26 8001
转载 left join 和 left outer join 的区别
来源:http://www.cnblogs.com/cy163/archive/2008/10/16/1312920.htmlleft join 和 left outer join 的区别通俗的讲: A left join B 的连接的记录数与A表的记录数同 A right join B 的连接的记录数与B表的记录数同
2012-12-18 16:24:40 645
转载 英文书籍下载网站推荐
http://en.bookfi.org近来下载了很多英文书籍,分享一下自己的下载心得,希望对书友有好处。以前常常抱怨由于老外版权意识强,读英语原版书籍难。后来有机会认识了rapidshare,很多新书都能够找到下载,才恍然大悟:并不是找不到书籍阅读,而是没有找到方法。当然并非所有图书都可以在网上免费下载,能免费下载的是少数,一般而言,畅销书、计算机类图书比较多。但是这
2012-12-15 23:04:50 2372
原创 在DOS脚本中加入计数器
@echo off & setlocal EnableDelayedExpansionset count=0for /f "tokens=1,2* delims=." %%a in (not_in_final.lst) do set /a COUNT+=1 & echo insert into myschema.tablename values ('!COUNT!', '%%a', '%%b
2012-12-15 22:41:59 2103
The C++ Programming Language.Third Edition.1997
2011-11-13
The C++ Programming Language Special 3rd Edition
2011-06-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人