본문 바로가기

java34

elasticsearch 2.0 Getting Started elasticsearch 2.0으로 정식 릴리즈 되었고 필요에 의해서 2.0으로 설정해서 사용하기로... elasticsearchhttps://www.elastic.co/products/elasticsearch Download$ wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.0.0/elasticsearch-2.0.0.tar.gz$ tar zxvf elasticsearch-2.0.0.tar.gz Setup elastic search# ---------------------------------- Cluster ------------------------.. 2015. 11. 4.
Steps to install Distributed HBase HBaseDownload$ wget http://mirror.apache-kr.org/hbase/hbase-0.98.0/hbase-0.98.0-hadoop2-bin.tar.gz$ tar zxvf hbase-0.98.0-hadoop2-bin.tar.gz Configurationhbase-env.shexport JAVA_HOME=/usr/lib/jvm/java-7-oracle # Tell HBase whether it should manage it's own instance of Zookeeper or not.export HBASE_MANAGES_ZK=false hbase-site.xml hbase.rootdir hdfs://master:9000/hbase hbase.cluster.distributed tr.. 2014. 5. 9.
Steps to install Hadoop 2.2.0 release on multi-node cluster HBase 를 위해서 hadoop, zookeeper를 설치하고 HBase 연동까지 테스트한다. EnvironmentOS : Ubuntu 12.04Hadoop : Hadoop 2.2.0ZooKeeper : ZooKeeper 3.4.5HBase : HBase 0.98.0Java : oracle java 7버전은 아래 문서를 참고하여 설치하려는 HBase 지원여부에 따라 선택하였다. http://hbase.apache.org/book/configuration.html#hadoop java$ sudo add-apt-repository ppa:webupd8team/java$ sudo apt-get update$ sudo apt-get install oracle-java[6-8]-installer $ java -.. 2014. 5. 9.
Hadoop 2.4.0 Installation on Untuntu Fully-Distributed Purpose개발 테스트를 위해 ubuntu에 hadoop을 설치한다. Prerequisitesubuntu 12.04$ sudo apt-get install openjdk-7-jdk$ sudo apt-get install ssh hadoop 구동을 위해서 자바 설치hadoop 서버간 통신을 위해서 ssh 키를 공유한다.hosts 파일에 서버간 host 설정 Oracle JDK Installation$ sudo add-apt-repository ppa:webupd8team/java$ sudo apt-get update$ sudo apt-get install oracle-java[6-8]-installer $ java -versionjava version "1.7.0_55" Java(TM) SE Runtim.. 2014. 4. 28.
Getting Started Thrift 아무런 지식이 없이 無에서 시작해하기json으로 응답하는 API 서버를 thrift로 응답하기로 결정nginx + thrift + spring 을 개발하기로..... 삽질기 소개The Apache Thrift software framework, for scalable cross-language services development, combines a software stack with a code generation engine to build services that work efficiently and seamlessly between C++, Java, Python, PHP, Ruby, Erlang, Perl, Haskell, C#, Cocoa, JavaScript, Node.js, Smallta.. 2014. 1. 3.
JedisSentinelPool 사용기 Jedis + sentinel.. java로 redis에 접근하기 위해서는 jedis 라이브러리를 대부분 사용한다. 이런식으로... (!) spring data redis도 내부적으로는 JedisPool을 사용하고 있다. JedisPool pool = new JedisPool(new JedisPoolConfig(), "localhost"); Jedis jedis = pool.getResource(); JedisPool 코드를 보면 Pool.class 클래스를 상속받고 있고, Pool 클래스를 상속받는 클래스들은 아래와 같다. JedisPool JedisSentinelPool ShardedJedisPool 위 클래스 중 JedisSentinelPool 클래스는 config로 sentinel들의 주소를 받고, 설정에서 받은 sentinel .. 2013. 11. 28.
728x90