- 博客(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关注的人