기본 콘텐츠로 건너뛰기

라벨이 개발가이드인 게시물 표시

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 업로드 중간에 나감, 확인 안하고 나감, 세션 종료됨, 스프링 + 임팔라 다이렉트 쿼리 + 결과 도출, 조회로그

offline dev environment guide

 private no internet access eclipse maven nexus 1. 이클립스 p2 복제  이클립스 레파지토리 미러링 1.1 도스창에서 아래 명령 실행 eclipsec.exe -nosplash -verbose -application org.eclipse.equinox.p2.metadata.repository.mirrorApplication -source http://download.eclipse.org/releases/neon -destination file:D:/dev/repo/eclipse-neon eclipsec.exe -nosplash -verbose -application org.eclipse.equinox.p2.artifact.repository.mirrorApplication -source http://download.eclipse.org/releases/neon -destination file:D:/dev/repo/eclipse-neon 다운로드가 완료 되면 neon 기준으로 6.35 G 정도 나온다. 2.Maven Repository Replication 2.1 wget 을 이용해 다운로드 다운로드 http://gnuwin32.sourceforge.net/packages/wget.htm 도스창에서 아래 명령 실행 wget --mirror -p -r --no-parent http://repo.maven.apache.org/maven2/ -e robots=off -U "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" index.html 삭제 del /s index.html maven2 폴더 루트에 있는 파...

angularjs 게시판 및 페이징

<table class="basicTb noticeTb"> <thead> <tr> <th>종류</th> <th width="150px">섹터</th> <th>제목</th> <th>등록자</th> <th>등록일</th> </tr> </thead> <tbody id="tb_content"> <!-- <tr> <td class="agC"><span class="bxRed">뉴스</span></td> <td><span class="bxA"><em>A</em>자동차</span></td> <td>현지 주 정부 재협상 요구... 기아차 멕시코 공장 급제동</td> <td class="agC">Peter</td> <td class="agC">2016-05-09</td> </tr> <tr> <td class="agC"><span class="bxDblue">공시</span></td> <td><span class=...

angularjs ui routing 적용

angularjs ui routing 적용 메뉴 추가 및 컨트롤러 없는 html 적용 # 해시맵 사용 /src/main/resources/static/index.html /src/main/resources/static/home.html /src/main/resources/static/company.html /src/main/resources/static/js/hello.js index.html hello.js home.html company.html <!doctype html> <html> <head> <title>Hello AngularJS</title> <link href="css/angular-bootstrap.css" rel="stylesheet"> <style type="text/css"> [ng\:cloak], [ng-cloak], .ng-cloak { display: none !important; } </style> </head> <body ng-app="hello"> <div class="container"> <h1>Greeting</h1> <div ng-controller="homeController as home" ng-cloak class="ng-cloak"> <p>The ID is {{home.greeting.id}}</p> <p>The content is {{home.greeting.content}}</p> <a href="#/home">home</a> | <a href="#/company...

angularjs ui routing 적용

angularjs ui routing 적용 메뉴 추가 및 컨트롤러 없는 html 적용 # 해시맵 사용 /src/main/resources/static/index.html /src/main/resources/static/home.html /src/main/resources/static/company.html /src/main/resources/static/js/hello.js index.html hello.js home.html company.html <!doctype html> <html> <head> <title>Hello AngularJS</title> <link href="css/angular-bootstrap.css" rel="stylesheet"> <style type="text/css"> [ng\:cloak], [ng-cloak], .ng-cloak { display: none !important; } </style> </head> <body ng-app="hello"> <div class="container"> <h1>Greeting</h1> <div ng-controller="homeController as home" ng-cloak class="ng-cloak"> <p>The ID is {{home.greeting.id}}</p> <p>The content is {{home.greeting.content}}</p> <a href="#/home">home</a> | <a href="#/company...

maven Angular js 설정

Angular js 시작 hello world using json /pom.xml webjar 를 통한 angularjs 실행 설정 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.dangun</groupId> <artifactId>boot</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>war</packaging> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.3.5.RELEASE</version> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> ...

메이븐 웹 프로젝트 tomcat 배포

메이븐 웹 프로젝트 tomcat 배포 이클립스 톰캣 서버 위치 변경 톰캣 서버 사용자 추가 C:\Program Files\Apache Software Foundation\Tomcat 8.0\conf\tomcat-users.xml <?xml version='1.0' encoding='cp949'?> <tomcat-users xmlns="http://tomcat.apache.org/xml"               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"               xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"               version="1.0"> <role rolename="manager-script"/> <user username="admin" password="admin" roles="manager-script"/> </tomcat-users> role 과 사용자를 추가 하였다. maven-war-plugin , tomcat-maven-plugin 추가 및 설정 추가 한 부분은 build node 아래 plugins 노드에 있다. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd...