原创 avro learning rpc

protocol {"namespace": "com.test.avro", "protocol": "AvroTestInterface", "types": [ { "name":"typ",

原创 在Linux下安裝和使用MySQL

二、安裝Mysql   1、下載MySQL的安裝文件   安裝MySQL需要下面兩個文件:    MySQL-server-4.0.16-0.i386.rpm      MySQL-client-4.0.16-0.i386.rpm  

原创 avro learning

sample1: schema: { "namespace":"com.test.avro", "type":"record", "name":"User", "fields":[ {"n

原创 MIME type

http://blog.csdn.net/fanweiwei/article/details/1787747

原创 btrace exercise

1. 方法被調用時打印調用堆棧 @OnMethod(clazz = "com.test.test.btrace.AppObj", method = "execute") public static void traceEx

原创 windows hadoop issue

1: 在hadoop安裝目錄下,運行運行命令 bin/hadoop fs -put /home/files/* /input 報錯,提示 put: File /home/files/ does not exist. 由於 Cygw

原创 數字簽名是什麼

http://www.ruanyifeng.com/blog/2011/08/what_is_a_digital_signature.html 數字簽名是什麼? 作者:David Youd 翻譯:阮一峯 原文網址:http://www

原创 使用Tomcat+Eclipse遠程Debug

轉載: http://www.cnblogs.com/GYoungBean/archive/2013/03/07/2948491.html catalina.bat中 行rem Guess CATALINA_HOME if not

原创 Failed to set setXIncludeAware(true) for parser

解決方法:在JVM啓勸參數中增加: -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.documentbuilderfac

原创 編譯openjdk

export LANG=C export ALT_BOOTDIR=/home/zlh/java/jdk1.6.0_45/ export ALT_DROPS_DIR=/home/zlh/software/patch/ export ALLO

原创 LDAP簡稱對應

o– organization(組織-公司) ou – organization unit(組織單元-部門) c - countryName(國家) dc - domainComponent(域名) sn

原创 @suppresswarnings

http://www.thebuzzmedia.com/supported-values-for-suppresswarnings/ all to suppress all warningsboxing to suppress war

原创 fedora12 安裝 mplayer

先添加源Livna源倉庫:#yum install livna 如果上面的命令執行失敗的話,就用這一句:#rpm -ivh http://rpm.livna.org/livna-release.rpm 接下來添加Fusion源倉庫

原创 線上應用故障排查

http://www.blogjava.net/hankchen/archive/2012/08/09/377735.html

原创 sequencefile header

key-type: Text value-type: Text key1:text-key value1:text-value key2:text-key2 value2:text-value2 header: 83