http://gihyo.jp/dev/serial/01/bigdata-analysis/0003 http://qiita.com/hiroysato/items/397f36c4838a0a93e352 http://frsyuki.hatenablog.com/entry/2015/02/16/080150 http://qiita.com/muga_nishizawa/items/427c933aaa0e5e437063 curl --create-dirs -o ~/.embulk/bin/embulk -L "http://dl.embulk.org/embulk-latest.jar" chmod +x ~/.embulk/bin/embulk echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc source ~/.bashrc mkdir input mkdir output sudo apt-get install -y openjdk-7-jdk embulk gem install embulk-input-mysql embulk gem install embulk-output-sqlite3 sudo apt-get install lib32z1 sudo apt-get install mysql-server mysql -u root -proot CREATE DATABASE my_database; CREATE USER user IDENTIFIED BY 'password'; GRANT ALL ON my_database.* TO user; mysql -u user -ppassword use my_database sqlite3 ./input/db/input.db sqlite3 ./output/db/output.db embulk guess seed.yml -o guess.yml embulk preview guess.yml embulk run guess.yml https://github.com/embulk/embulk#quick-start git clone https://github.com/embulk/embulk.git ./gradlew cli ./gradlew gem http://qiita.com/muga_nishizawa/items/427c933aaa0e5e437063 java -jar $HOME/embulk/pkg/embulk-0.8.9.jar new java-output sample cd embulk-output-sample ./gradlew package http://www.ne.jp/asahi/hishidama/home/tech/embulk/new/java-formatter.html embulk new java-formatter sample cd embulk-formatter-sample ./gradlew package https://github.com/yuji-k64613/embulk_plugin.git embulk new java-filter myfilter ./gradlew gemPush embulk gem install embulk-filter-myfilter embulk gem list ./gradlew gem ./pkg/embulk-filter-myfilter-0.1.0.gem embulk gem install --local ./pkg/embulk-filter-myfilter-0.1.0.gem embulk guess seed2.yml -o guess2.yml embulk preview guess2.yml embulk run guess2.yml