'프로그래밍/Hadoop'에 해당되는 글 8건
- 2011/03/23 HBase 테이블 만들기
- 2011/03/21 Mac 에서 HBase eclipse 에 세팅하기 (2)
- 2011/02/10 Hadoop 클래스 용도 설명 (진행중)
- 2011/02/07 Datanode 가 사용하는 Client 객체 메카니즘
- 2011/01/31 DataNode 서버 실행
- 2011/01/26 DatanodeInfo 에는 어떤 값이??
- 2011/01/25 UTF8 타입과 DataOutputBuffer, DataInputBuffer 사용
- 2009/06/19 hadoop을 이런데다 쓰는 거구만.. (1)
hbase(main):001:0>create 'tb_emprelation', {NAME=>'source'}, {NAME=>'target'}, {NAME=>'read'}
source 컬럼패밀리에 mail 컬럼에 값을 넣을 경우
hbase(main):002:0>put 'tb_emprelation', 'source:email', 'skanddh@gmail.com'
1. 새로운 워크스페이스를 만든다.
2. HBaseEmptyWorkspace.tar.gz 을 다운받아 새로운 워크스페이스에 .metadata 드렉토리를 푼다.
3. 서브버전을 eclipse software install로 설치한다. (SubClipse Site 에 것을 설치하면 됨)
4. Subclipse 를 설치하면 CollabNet Subversion 을 다운받아 JavaHL을 추가로 설치한다.
CollabNet Subversion은 /opt/subversion 경로로 설치된다.
5. SVN Repositoty 에서 http://svn.apache.org/repos/asf/hbase/ 를 Root URL로 세팅한다.
6. eclipse 의 Project -> Build Automatically 를 해제.
7. checkout 으로 New Project Wizard 를 선택 -> Java Project -> HBase-trunk로 프로젝트 이름을 세팅
8. 디폴트 아웃풋 폴더로 PROJECT_HOME/build/eclipse-classes 로 폴더를 생성하여 지정
9. cmd 로 워크스페이스의 HBase-trunk 폴더로 이동하여 mvn eclipse:eclipse 를 치면 .project 파일이 다시 생성됨
Ant 스트립트
<project name="EmpRelationHadoop" default="compile">
<property name="classes.dir" value="build/classes"/>
<property name="jar.dir" value="build/jar"/>
<property name="library.dir" value="/Users/skanddh/.m2/repository"/>
<path id="libraries">
<fileset dir="${library.dir}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="clean">
<delete dir="build/classes"/>
<delete dir="build/jar"/>
</target>
<target name="compile">
<mkdir dir="${classes.dir}"/>
<javac srcdir="src" destdir="${classes.dir}" classpathref="libraries"/>
</target>
<target name="jar" depends="compile">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/EmpRelationHadoop.jar" basedir="${classes.dir}">
<manifest>
<attribute name="Main-Class" value="hbase.RelationCalculator"/>
</manifest>
</jar>
</target>
<!-- target name="run">
<java jar="${jar.dir}/EmpRelationHadoop.jar" fork="true"/>
</target -->
</project>
-
Nike Air Max 2011 2011/09/29 16:24
The latter won't get worthy interest, nevertheless it may be very fundamental. Due to merchandising we have now stylish apparel with the stores and suppliers.How can a single know no matter if trend merchandising certainly is the subject for him to get started on do the trick at? Glimpse in the adhering to characteristics of a possibilities style merchandiser and if not less than one stage coincides using your way of life, you will have all chances to make the profession in the field. As soon as you review at a merchandising college you're going to get a chance to understand all the ins and outs from the trade since there a single can obtain a practical working experience and build a powerful groundwork needed for additionally functioning during this field.A university student has the right to select no matter whether to obtain a two-year Affiliate in Artwork degree or even a four-year Bachelor of Science diploma within the discipline of vogue.
마침 회사에서 클라우데라(구글GFS 개념으로 클라우드컴퓨팅을 주장하여 적용한 사람들이 창업한 회사로 hadoop을 이용한 클라우드컴퓨팅 구축 및 컨설팅하는 회사)랑 MOU도 맺었겠다....
현재 첨부를 저장하는 NAS나 DAS 대용으로도 가능하네...
역시 분산/병렬시스템을 지원하는 오픈소스라 가능하구나..
NAS의 경우 장애가 나면 전체 서버의 장애로 이어지는 개념때문에 HA, 고가의 디스크를 쓰면서 돈도 많이 드는데...
사무실 리눅스 서버에 오픈메일서버 구축하고 파일시스템을 hadoop으로 한 다음에 내 메일을 이리로 포워딩하면~~ 메일 저장을 hadoop 기반으로 할 수 있겠는데?
가장 큰 문제는 마스터서버 장애시 HA 방법이네..
이걸 짜볼까??
전에 Sun One Ldap 도 마스터 ldap을 HA로 했을 경우 프로세스는 살아있었지만 실제로는 마스터가 작동을 안해서 HA에 실패한 적이 있는데..
마스터가 비정상적으로 동작하는데 heart beat은 살아있는 경우도 있고..
또 잠시 연결이 안되 다운된 줄 알고 HA가 가동되어 2개의 마스터가 작동된 적도 있었는데..
재미는 있겠다.. 우선 소스부터 봐야지..^^

Prev
Rss Feed