自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 An example of Integrating Spark and Cassandra

export SPARK_CLASSPATH=/usr/local/cassandra/current/lib/*export MASTER=mesos://hadoop1:5050./spark-shellimport java.nio.ByteBufferimport java.util.{ Map => JMap }import org.apache.cassandr

2013-08-30 15:23:17 1703

原创 Eclipse Bug 笔记

本文记录我在开发过程中遇到的Bug及其可能的应对方法一、m2e-wtp*有时候不会自动生成application.xml删除项目重新导入即可(不需要删除文件)

2013-07-17 19:04:54 378

原创 Implementing TF×IDF and PageRank Algorithms with MapReduce and Scala

PDFhttp://pan.baidu.com/share/link?shareid=516781&uk=3523719488

2013-06-01 21:16:00 823

原创 Installing SolrClould

1. create /solr in zookeeper (in zkCli: create /solr solr_dir2. edit $TOMCAT_HOME/conf/server.xml, following the book "apache_solr_4_cookbook", p113. edit $TOMCAT_HOME/bin/setenv.sh(set JAVA_OPT

2013-06-01 19:36:20 615

原创 Install Cassandra 1.2.x on Ubuntu 12

1. Add the DataStax Community repository to the /etc/apt/sources.list.d/cassandra.sources.listdeb http://debian.datastax.com/community stable main2. Add the DataStax repository key to

2013-05-24 17:27:50 817

原创 Scala Learning Notes

From Java to Scala1.Use class parameters and default primary constructor. e.g.: class Rational(n: Int, d: Int){//do sth. \n def ...}2.Use require to check class parameters (preconditions). e.g

2013-04-29 15:25:03 499

原创 Setup MySQL in user home without superuser using generic linux distribution

sudo apt-get install libaio-dev~/mysql/scripts$> ./mysql_install_db --user=luyi --basedir=$HOME/db/mysql-5.5.30 --ldata=$HOME/db/mysql-5.5.30/dataconfig my.cnfchmod 755 my.cnfmysqld --defa

2013-04-29 15:24:22 456

原创 Installing Moses

On Ubuntu 12.04.2 LTS 64bit1.preparesudo apt-get install libboost-all-dev automake csh tcl tcl-dev tk gawk gzip bzip2 p7zip subversion git libtoolcd ~mkdir mosescd mosesmkdir bin

2013-04-29 15:19:35 1288

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除