기본 콘텐츠로 건너뛰기

cloudera 개발환경 구축

환경 구성 목표
윈도우 환경에 virtualbox 로
master + namenode + namenode
총 3대의 환경을 구축한다.

이번에 구축할 환경은 cludera 에 impala 를 사용한다. 엄밀히 말하면
하둡에 임팔라를 올린 것이다.

기존의 설명들은 centos 기반의 설명이 많은데, 개인적으로 ubuntu 를
좋아하는 관계로 ubuntu 기반으로 설치를 진행 하려 한다.

처음 환경구축을 위해 검색어는 cludera ubuntu 였는데, ubuntu hadoop 로 해서 찾아보니
더 많은 문서가 있다.


1. 크라우데라 다운로드
https://www.cloudera.com/downloads.html

virtualbox 용으로 다운로드

2. virtualbox 윈도우용 다운로드 설치
https://www.virtualbox.org/wiki/Downloads


참고 : http://ourcstory.tistory.com/171

파일 업로드
http://addio3305.tistory.com/83

업로드 중간에 나감, 확인 안하고 나감, 세션 종료됨,

스프링 + 임팔라 다이렉트 쿼리 + 결과 도출, 조회로그




댓글

이 블로그의 인기 게시물

윈도우 톰캣 네트워크 드라이버 잡기

윈도우 톰캣 네트워크 드라이버 설정(windows tomcat network driver setting) TOMCAT_HOME/conf/server.xml 의 Host 노드 아래 경로 추가     <Context path="/resources" docBase="//192.168.200.100/cifs/pds" /> 서버스 재구동 하면 다음 메시지 뜸 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.beforeStart Exception fixing docBase for context [/resources] java.io.IOException: 사용자 이름 또는 암호가 올바르지 않습니다 at java.io.WinNTFileSystem.canonicalize0(Native Method) at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428) at java.io.File.getCanonicalPath(File.java:618) at org.apache.catalina.startup.ContextConfig.fixDocBase(ContextConfig.java:593) at org.apache.catalina.startup.ContextConfig.beforeStart(ContextConfig.java:744) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:300) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401)...

Jsp 서버 아이피 확인

한줄버전 <% String svrIP =  InetAddress.getLocalHost() .getHostAddress(); %> <%@ page language="java" import="java.net.InetAddress" %> InetAddress inet = InetAddress.getLocalHost(); String svrIP = inet.getHostAddress(); Reference http://yoontaesub.egloos.com/m/1925800

quartz 사용 하기

http://www.quartz-scheduler.org/documentation/quartz-2.2.x/quick-start.html 프로젝트 만들고 , lib 안에 다운로드 받은 jar 들 복사 후 QuartzTest.java 생성 1. 샘플 ================================================ QuartzTest.java ================================================ import org.quartz.Scheduler; import org.quartz.SchedulerException; import org.quartz.impl.StdSchedulerFactory; import static org.quartz.JobBuilder.*; import static org.quartz.TriggerBuilder.*; import static org.quartz.SimpleScheduleBuilder.*; public class QuartzTest { public static void main(String[] args) { try { // Grab the Scheduler instance from the Factory Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler(); // and start it off scheduler.start(); scheduler.shutdown(); } catch (SchedulerException se) { se.printStackTrace(); } } } ======================================================= log4j.properties 생성 ===================================================...