
软件综合
iteye_3911
这个作者很懒,什么都没留下…
展开
-
New beginning
Today is my new job first day.Enjoy the job! Enjoy the life! Enjoy the family.原创 2011-12-28 14:02:48 · 120 阅读 · 0 评论 -
Hive + Hbase
在hive-site.xml里面有两个配置选项,配置好后可以应用hive执行到hbase集群 hive.aux.jars.path file:///app/java/hive/lib/hive-hbase-handler-0.7.1.jar,file:///app/java/hive/lib/hbase-0.90.3.jar,file:///app/java/hive/lib/...原创 2012-03-12 16:25:29 · 242 阅读 · 0 评论 -
Hadoop study notes - Hive simple example
hive> create table dumprecord (line string);OKTime taken: 3.813 secondshive> load data local inpath '/home/userkkk/dump20gfile/DumpFileDemo.out' > overwrite into table dumprecord;Copying...原创 2012-03-14 11:50:22 · 130 阅读 · 0 评论 -
Hbase shell in practise
create 'test', {NAME => 'col', VERSIONS => 100}describe 'test'disable 'test'drop 'test'put 'test', '9993', 'col:EXCEPTION', '9993:1111:xxxxx'put 'test', '9993', 'col:EXCEPTION', '9993:1112...原创 2012-03-29 14:16:26 · 93 阅读 · 0 评论 -
REST
http://www.ibm.com/developerworks/webservices/library/ws-restful/http://blog.sina.com.cn/s/blog_628b45090100rnds.htmlhttp://shop.oreilly.com/product/9780596529260.do原创 2012-07-30 17:16:33 · 89 阅读 · 0 评论 -
GET VS POST
http://mzhou.me/?p=77001http://www.diffen.com/difference/Get_vs_Posthttp://stevenclark.com.au/2008/01/12/get-vs-post-for-the-beginner/http://www.cs.tut.fi/~jkorpela/forms/methods.htmlh...原创 2012-08-14 14:10:41 · 84 阅读 · 0 评论 -
tomat multiple instance setup
http://www.shaunabram.com/multiple-tomcat-instances/http://www.coderanch.com/t/550067/Tomcat/Starting-Stopping-multiple-instances-apachehttp://kief.com/running-multiple-tomcat-instances-on-one...原创 2012-08-15 14:10:42 · 138 阅读 · 0 评论 -
Hbase Miscellaneous
FAQ1. Lease does not existhttp://www.linuxlefty.com/SysAdmin/lease-does-not-exist-error-hbase-export.htmlHbase Performance Toolhttp://wiki.apache.org/hadoop/Hbase/PerformanceEvaluation...原创 2012-08-29 14:37:58 · 126 阅读 · 0 评论 -
SSH password less login
http://www.thegeekstuff.com/2008/11/3-steps-to-perform-ssh-login-without-password-using-ssh-keygen-ssh-copy-id/原创 2012-04-25 20:15:11 · 371 阅读 · 0 评论 -
Solr tomcat setup
In the production env, we need to create sponge account to do below steps.for now, just use solr as example.Server is SOLRMASTER 1. Install JDK or JRE(1.6)2. Download the Solr and tomcat b...原创 2012-05-22 15:21:00 · 118 阅读 · 0 评论 -
Solr tomcat replication
SOLRMASTER MasterSOLRSLAVE1 SlaveSOLRSLAVE2 Slave 1. Add below replication handler to solrconfig.xml in the $SOLR_HOME dir for all 3 above servers.${solr.master.enable:false}sta...原创 2012-05-22 15:23:13 · 90 阅读 · 0 评论 -
Solr Jetty Replication
===========================================================How to build a Solr cluster(One Master, two Slaves)===========================================================1. Add below replication ...原创 2012-05-22 15:39:22 · 109 阅读 · 0 评论 -
Solr FQA
1. Question: sometimes the after closing the SolrServer, there is a file write.lock generated in the folder $INDEX_HOME/index/write.lock. Then next time, you want to start the server, there is an exce...原创 2012-06-14 18:37:09 · 92 阅读 · 0 评论 -
Jenkins SVN
$pwd/root/.jenkins/jobs/projectName_wasce/workspace$ls -a. build-parser.xml .project.. build.xml solr-projectNamebuild ...原创 2012-10-25 16:43:46 · 125 阅读 · 0 评论 -
YAML
http://www.yaml.org/ YAML: YAML Ain't Markup LanguageWhat It Is: YAML is a human friendly data serialization standard for all programming languages.YAML Resources: YAML 1.2 (3rd Ed...原创 2012-10-30 13:47:29 · 114 阅读 · 0 评论 -
Jenkins installation
ENV listOS : redhat linux enterprise server 5.6 Install Jenkins1. download rpm installer from http://pkg.jenkins-ci.org/redhat/2. logon your system, scsu to root $pwd/root$lsapache-a...原创 2012-10-31 18:06:24 · 158 阅读 · 0 评论 -
编程 感悟
1 运行时绑定的能力无论是java的继承方法重写,还是运用组合以达到子类覆盖父类的方法,还是spring的注入机制,还是sping的面向方向编程。所有这些东西都为了达到一个目的,那就是运行时绑定。确定运行时绑定的时机和方式对面向对象编程有着深刻的影响,是衡量一门语言是否成熟的标志。2 加入中间层。23种设计模式可以归结为一种核心思想,那就是代理模式。计算机中所有的复杂问题,如果引入...原创 2012-06-18 14:32:02 · 122 阅读 · 0 评论 -
Log Management
http://kibana.org/ http://graylog2.org/ http://www.elasticsearch.org/ http://logstash.net/ http://lucene.apache.org/core/3_6_1/queryparsersyntax.html http://twitter.github.com/bo...原创 2013-01-24 11:02:11 · 166 阅读 · 0 评论 -
Hbase study notes - operation task
[color=red][size=medium]Node Decommissioning[/size][/color]1 $ ./bin/hbase-daemon.sh stop regionserverDisabling the Load Balancer Before Decommissioning a Nodehbase(main):001:0> balance_switch...原创 2012-03-08 14:36:14 · 113 阅读 · 0 评论 -
Hadoop study notes - monitoring metrics
There is a good blog on this.[color=red][size=medium]http://www.cloudera.com/blog/2009/03/hadoop-metrics/[/size][/color]The HDFS and MapReduce daemons collect information about events and meas...原创 2012-03-06 13:21:10 · 107 阅读 · 0 评论 -
Hadoop study notes - how to reformat hadoop hdfs
[size=medium][color=red]1 stop all the hbase or hadoop deamon[/color][/size]$stop-all.sh[size=medium][color=red]2 check the physical file system location[/color][/size]Hdfs-site.xml dfs.n...原创 2012-03-06 13:20:38 · 120 阅读 · 0 评论 -
GRUB
http://www.dedoimedo.com/computers/grub.htmlhttp://www.gnu.org/software/grub/manual/legacy/grub.html原创 2012-01-03 12:22:31 · 108 阅读 · 0 评论 -
CDH3
CDH3 bookO'Reilly's 'Hadoop: The Definitive Guide'http://dl.dbank.com/c0hh1arjizhttp://down.51cto.com/data/221416#原创 2012-01-05 11:46:46 · 116 阅读 · 0 评论 -
jetty
http://www.blogjava.net/vcycyv/archive/2011/02/13/344214.htmlhttp://java.chinaitlab.com/ServletJsp/784448.htmlhttp://jetty.codehaus.org/jetty/http://www.theserverside.com/news/thread.tss...原创 2012-01-05 12:59:42 · 78 阅读 · 0 评论 -
SVN check out 不是java项目
如果从svn上check out出来的项目不是eclipse的java项目的话,可以修改.project file,直接加上黑色的配置就行了. emt-weblogic-11-latest ...原创 2012-01-12 16:00:38 · 158 阅读 · 0 评论 -
Linux下手动创建数据库
[size=large][b]环境:已经存在一个数据库,且运行正常其他环境设置和检查如下:[/b][/size]spsuzor01:~ # grep oracle /etc/passwdoracle:x:1000:1000::/opt/oracle:/bin/bashspsuzor01:~ # grep oinstall /etc/groupoinstall:!:1000:...原创 2010-07-21 09:53:19 · 96 阅读 · 0 评论 -
Windows下集成tomcat和apache http server的最简单方法
环境: Windows XP, Apache 2.2, Tomcat 6.0 监听端口8181目的:将tomcat下的应用examples集成到apache中步骤: 1 修改apache 配置文件httpd.conf添加以下指令 LoadModule proxy_module modules/mod_proxy.so ...2010-07-23 15:40:02 · 110 阅读 · 0 评论 -
Windows下用tomcat-connectors集成tomcat和apache httpd
How to integrate apache httpd and tomcat server in windows using mod_jkhttp://tomcat.apache.org/connectors-doc/webserver_howto/apache.htmlENV: httpd version 2.2 port 80 tomcat version 6.0 OS...2010-07-26 13:56:09 · 229 阅读 · 0 评论 -
Apache http 一句话
Apache httpd is very fastest web server for static contents. Apache httpd web server has biggest market share of more than 60% in web server in world. [size=xx-large][color=red]Today apache httpd web ...原创 2010-07-26 16:31:21 · 167 阅读 · 0 评论 -
tomcat垂直集群例子
tomcat vertical clusteringhttp://www.easywayserver.com/implementation-tomcat-clustering.htmENV: tomcat 6.0 httpd 2.2 os winxp sp31 copy extracted tomcat to tomcatA change the sever.xml as b...2010-07-27 16:10:51 · 152 阅读 · 0 评论 -
tomcat水平集群例子
Horizontal tomcat clustering or tomcat clustering on different machine systemhttp://www.easywayserver.com/implementation-tomcat-clustering.htmAssume we need 3 tomcats as cluster node in 3 differ...原创 2010-07-27 16:30:49 · 136 阅读 · 0 评论 -
Hadoop Cluster Setup
http://ankitasblogger.blogspot.com/2011/01/hadoop-cluster-setup.htmlhttp://ankitasblogger.blogspot.com/2011/05/installing-flume-in-cluster-complete.html原创 2012-01-13 16:11:42 · 140 阅读 · 0 评论 -
Flume usage list - How 2 submit shell command from Java API
[code="java"]FlumeShell shell = new FlumeShell();int aPort = FlumeConfiguration.get().getConfigAdminPort(); shell.executeLine("connect " + masters.get(0) + ":" + aPort);shell.executeLine(u...2012-02-03 11:20:30 · 95 阅读 · 0 评论 -
Hadoop study notes - dfsadmin tool
[color=red][size=medium]1 Reports basic filesystem information and statistics[/size][/color]# hadoop dfsadmin -reportConfigured Capacity: 20711452672 (19.29 GB)Present Capacity: 6368899072 (5.9...原创 2012-02-29 14:10:46 · 105 阅读 · 0 评论 -
Hadoop study notes - fsck tool
[color=red][size=medium]Hadoop provides an fsck utility for checking the health of files in HDFS.[/size][/color]% hadoop fsck /.................Status: HEALTHY Total size: 2928057882 B ...原创 2012-02-29 14:25:16 · 99 阅读 · 0 评论 -
Hadoop study notes - Datanode block scanner
Every datanode runs a block scanner, which periodically verifies all the blocks storedon the datanode. This allows bad blocks to be detected and fixed before they are readby clients. The DataBlock...原创 2012-02-29 14:29:06 · 115 阅读 · 0 评论 -
Hadoop study notes - balancer
# start-balancer.shstarting balancer, logging to /usr/local/hadoop_20_1/bin/../logs/hadoop-loginuserid-balancer-hostname.out#The -threshold argument specifies the threshold percentage that def...原创 2012-02-29 14:42:54 · 104 阅读 · 0 评论 -
Hadoop study notes - monitoring logging
Setting log levelsThere are 2 ways we can use to set log level.http://jobtracker-host:50030/logLevelThe same thing can be achieved from the command line as follows:% hadoop daemonlog -setlev...原创 2012-02-29 14:49:18 · 78 阅读 · 0 评论 -
Gitub change username
http://alvinalexander.com/git/git-show-change-username-email-address原创 2013-03-20 21:56:19 · 106 阅读 · 0 评论