태그

2013년 11월 17일 일요일

Google Big Data Reference

Hadoop DFS :
http://static.googleusercontent.com/external_content/untrusted_dlcp/research.google.com/en//archive/gfs-sosp2003.pdf

Hadoop MapReduce :
http://static.usenix.org/event/osdi04/tech/full_papers/dean/dean.pdf

HBase, Cassandra .. :
http://static.googleusercontent.com/external_content/untrusted_dlcp/research.google.com/en//archive/bigtable-osdi06.pdf

Hive, Pig :
http://research.google.com/archive/sawzall.html

Apache ZooKeeper :
http://static.googleusercontent.com/external_content/untrusted_dlcp/research.google.com/en//archive/chubby-osdi06.pdf

2013년 11월 3일 일요일

Eclipse configuration tuning

1. JVM Heap memory(eclipse.ini 설정변경)
-vm
C:/G-MES2.0/jdk1.6.0_26/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms256m
-Xmx768m
2. Automatic folding 설정 해제
Window > Preferences > Java > Editor > Folding 옵션을 모두 해제(disable)한다.
3. Automatic Code Insight 설정 해제 (개발자 선택)
Window > Preferences > Java > Editor > Code Assit 에서 Enable auto activation 항목을 해제(disable)
4. spelling check 설정 해제
Window > Preferences > General > Editors > Text Editors > Spelling 에서 Enable spelling checking 항목을 해제
5. validation check 설정 해제
Window > Preferences > Validation 모든 항목 체크 해제
6. eclipse compare 에서 공백 배제하는 법
Window > Preferences > General > Compae/Patch 에서 Ignore white space 항목을 체크
7. 사용자 정보 수집 해제
Window > Preferences > Usage Data Collector 에서 Enable capture 항목 해제
8. Maven index 해제
Window > Preferences > Maven에서 모든 항목 해제
9. KeepResident 플러그인
메모리에 여유가 있다면 KeepResident Eclpse plugin for Windows - KeepResident Eclipse plugin 을 설치한다. (화면 창을 내렸다 올릴경우 버벅이는 현상 제거 - 대기중이던 모든 GC가 작동하여 느리게 됨)
link - http://suif.stanford.edu/pub/keepresident/
10. 이클립스 자동 업데이트
Window > Preferences > Automatic Updates 에서 Automatically find new updates and notify me 항목 해제
11. 시작을 빠르게
Window > Preferences > General > Editors > close all editors on exist 항목을 설정(enable) 한다.
Window > Preferences > General > Startup and Shutdown 에서 KeepResident 플러그인을 제외한 모든 플러그인을 startup list 에서 제외한다.

12. 개발 Perspective를 Java로 설정해서 사용한다.
Window > Open Perspective > Other 에서 Java 선택

How to deploy node.js to Heroku in Windows


It is not working only for Getting Start Guide in official link.
https://devcenter.heroku.com/articles/getting-started-with-nodejs


Just follow above link, and when you push source to Heroku, you will see this massage.

C:\heroku\KanbanBoardProject>git push heroku master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 This problem was not on my SSH key.. Even I put right SSH key in Heroku's account, my command prompt cannot get SSH key by itself. I just got reason from below link.
http://stackoverflow.com/questions/17626944/heroku-permission-denied-publickey-fatal-could-not-read-from-remote-reposito

And window solution is here.
http://wordgraphs.com/post/5000/Heroku--Permission-denied--publickey---fatal--Could-not-read-from-remote-repository-

C:\heroku\KanbanBoardProject>ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-TFTddq3932/agent.3932; export SSH_AUTH_SOCK;
SSH_AGENT_PID=6616; export SSH_AGENT_PID;
echo Agent pid 6616;

C:\heroku\KanbanBoardProject>set SSH_AUTH_SOCK=/tmp/ssh-TFTddq3932/agent.3932

C:\heroku\KanbanBoardProject>set SSH_AGENT_PID=6616

C:\heroku\KanbanBoardProject>ssh-add C:\Users\chris\.ssh\id_rsa
Identity added: C:\Users\chris\.ssh\id_rsa (C:\Users\chris\.ssh\id_rsa)

C:\heroku\KanbanBoardProject>heroku keys:add
Found existing public key: C:/Users/chris/.ssh/id_rsa.pub
Uploading SSH public key C:/Users/chris/.ssh/id_rsa.pub... done

C:\heroku\KanbanBoardProject>git push heroku master
Counting objects: 1138, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1041/1041), done.
Writing objects: 100% (1138/1138), 1.39 MiB | 159 KiB/s, done.
Total 1138 (delta 117), reused 0 (delta 0)

It is working as a charm, I spent lots of time to solve it..T.T

I hope windows user can solve this issue with below solultion!!