some hadoop demo codes