- 浏览: 56848 次
- 性别:
- 来自: 广州
-
最新评论
文章列表
hcatalog study
- 博客分类:
- hadoop
https://cwiki.apache.org/confluence/display/Hive/HCatalog+UsingHCat
git http.sslVerify=false
- 博客分类:
- j2ee
打开eclipse中的windows-->Preferences-->Team-->Git-->Configuration-->User Settings.然后点Add Entry新建一个键值对,输入http.sslVerify=false。
public class FileName
{
//static String filename ="publish_aa_bb_cc_dd.element";
static String filename =".element";
public static void ...
http://lyb520320.iteye.com/blog/720478
这个文章写的很清晰
http://www.blogjava.net/hk2000c/archive/2006/03/23/jaas.html
http://blog.csdn.net/huachao1/article/details/4290206
kerberos
http://idior.cnblogs.com/archive/2006/03/20/354027.html
http://running.iteye.com/blog/963383
hdfs://hadoopmaster:9000/user/hadoop/ncdc_data.txt<r 2> 71hdfs://hadoopmaster:9000/user/hadoop/user <dir>grunt> cat ncdc_data.txt1953:122:51954:83:51955:44:51956:33:51957:50:51958:33:51959:55:5grunt> A = LOAD 'ncdc_data.txt' USING PigStorage(':') AS(year:int,temp:int,quality ...
http://blog.csdn.net/zythy/article/details/18098651 记录
http://blackproof.iteye.com/blog/1791980 初学者可以参考这个博文
nohup command &
- 博客分类:
- linux
[root@linuxstudy testshell]# jobs -l[1]+ 2568 Running nohup python pytest1.py &[root@linuxstudy testshell]# bg %1-bash: bg: job 1 already in background[root@linuxstudy testshell]# jobs[1]+ Running nohup python pytest1.py &[r ...
[root@linuxstudy testshell]# cut -d: -f 1 /etc/passwdrootbindaemonadmlpsyncshutdownhaltmailuucpoperatorgamesgopherftpnobodydbususbmuxdvcsartkitavahi-autoipdabrthaldaemongdmntpapachesaslauthpostfixpulsesshdtcpdumpwujihuhadoopmysql[root@linuxstudy testshell]# cat /etc/passwdroot:x:0:0:root:/root:/bin ...
[root@linuxstudy testshell]# cat s2.sh #!/bin/sh
export name=jack
printf "p0=%s \n" "$0"echo "p1="$1echo "p2="$2echo $name
echo "pid="$$echo "all param num:"$#echo "all param:"$@
echo `./s1.sh` (注意点)
[root@linuxstudy testshe ...
hadoop jar command
- 博客分类:
- hadoop
hadoop jar /opt/jack.jar org.apache.hadoop.t1.WordCount /jackdemodir/wordcount/input /jackdemodir/wordcount/output1
hadoop jar /opt/jack.jar org.apache.hadoop.t1.WordCount /jackdemodir/wordcount/input /jackdemodir/wordcount/output1
hadoop fs -ls /jackdemodir/wordcount/output1hadoop fs -cat / ...
service iptables status
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop
uname -a
view all the information of the linux
cat /proc/cpuinfo
dmesg |grep CPU
find the cpu info
file /bin/ls
find the bit of the system
lsb_release -a
find the release version
* * * * command
crontab -e
create new task
crontab -r
删除所有的任务
crontab -l
查看 ...
ChainMapper 支持多个map reduce
参考http://blog.csdn.net/chaoping315/article/details/6221440
keytool -genkey -alias tigerwu -keyalg RSA -keystore d:/keys/tigerwukey输入密钥库口令:jack123再次输入新口令:您的名字与姓氏是什么? [Unknown]: jacklocal您的组织单位名称是什么? [Unknown]: sandbox您的组织名称是什么? [Unknown]: sandbox您所在的城市或区域名称是什么? [Unknown]: gz您所在的省/市/自治区名称是什么? [Unknown]: gd该单位的双字母国家/地区代码是什么? [Unknown]: cnCN=jacklo ...
linux mysql
- 博客分类:
- linux
enquiry mysql version in centos linux
yum list installed | grep mysql
yum -y remove mysql-libs.x86_64
enquiry mysql version in yum repositoryyum list | grep mysql oryum -y list mysql*
install mysql againyum -y install mysql-server mysql mysql-devel
start/stop/restart mysql
before versio ...
sqoop command
- 博客分类:
- hadoop
1. list the database
sqoop list-databases --connect jdbc:mysql://192.168.1.9:3306/ -username root -password root;
2. list tables in one database
sqoop list-tables --connect jdbc:mysql://192.168.1.9:3306/test -username root -password root;
3. import only table structure from mysql to hive ...