DBILITY

tajo 0.11.3 compile 본문

bigdata/tajo

tajo 0.11.3 compile

DBILITY 2018. 4. 11. 15:53
반응형

hadoop이 먼저 설치되어 있어야 한다. tajo는 SQL On Hadoop이니까!

http://www.dbility.com/247

 

[root@big-master ~]# adduser tajo; echo 'tajo' | passwd --stdin tajo; usermod -G datagroup tajo
Changing password for user tajo.
passwd: all authentication tokens updated successfully.
[root@big-master ~]# ssh big-slave1 "adduser tajo; echo 'tajo' | passwd --stdin tajo; usermod -G datagroup tajo"
Changing password for user tajo.
passwd: all authentication tokens updated successfully.
[root@big-master ~]# ssh big-slave2 "adduser tajo; echo 'tajo' | passwd --stdin tajo; usermod -G datagroup tajo"
Changing password for user tajo.
passwd: all authentication tokens updated successfully.
[root@big-master ~]# ssh big-slave3 "adduser tajo; echo 'tajo' | passwd --stdin tajo; usermod -G datagroup tajo"
Changing password for user tajo.
passwd: all authentication tokens updated successfully.
[root@big-master ~]# ssh big-slave4 "adduser tajo; echo 'tajo' | passwd --stdin tajo; usermod -G datagroup tajo"
Changing password for user tajo.
passwd: all authentication tokens updated successfully.

[root@big-master ~]# su - tajo
Last failed login: Sat Apr 14 13:52:16 KST 2018 on pts/1
There was 1 failed login attempt since the last successful login.
[tajo@big-master ~]$ ssh-keygen -t rsa -b 4096
Generating public/private rsa key pair.
Enter file in which to save the key (/home/tajo/.ssh/id_rsa):
Created directory '/home/tajo/.ssh'.
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/tajo/.ssh/id_rsa.
Your public key has been saved in /home/tajo/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:wBpV29sLvh7GVYSAHEw+mercBobvyN7ceJZn4OA1O8o tajo@big-master
The key's randomart image is:
+---[RSA 4096]----+
|      .=+o.. ..  |
|     o .+=  ..   |
|    . o * .   .  |
|     + o . o .   |
|    o + S o o    |
|     =.o+o o .   |
|     .++o== .    |
|   . *.+B.oo     |
|   .+ E+.=o      |
+----[SHA256]-----+

[tajo@big-master ~]$ cd .ssh/
[tajo@big-master .ssh]$ ls
id_rsa  id_rsa.pub
[tajo@big-master .ssh]$ cp id_rsa.pub ./authorized_keys

[tajo@big-master .ssh]$ ssh-copy-id big-master
[tajo@big-master .ssh]$ ssh-copy-id big-slave1
[tajo@big-master .ssh]$ ssh-copy-id big-slave2
[tajo@big-master .ssh]$ ssh-copy-id big-slave3
[tajo@big-master .ssh]$ ssh-copy-id big-slave4
[tajo@big-master .ssh]$ exit
logout
[root@big-master ~]# cd /usr/local/src
[root@big-master src]# wget http://apache.tt.co.kr/tajo/tajo-0.11.3/tajo-0.11.3-src.tar.gz
[root@big-master src]# wget http://www.apache.org/dist/tajo/KEYS
[root@big-master src]# wget http://www.apache.org/dist/tajo/tajo-0.11.3/tajo-0.11.3-src.tar.gz.md5
[root@big-master src]# wget http://www.apache.org/dist/tajo/tajo-0.11.3/tajo-0.11.3-src.tar.gz.asc
[root@big-master src]# wget http://www.apache.org/dist/tajo/tajo-0.11.3/tajo-0.11.3-src.tar.gz.sha256
[root@big-master src]# wget http://www.apache.org/dist/tajo/tajo-0.11.3/tajo-0.11.3-src.tar.gz.md5

[root@big-master src]# gpg --import KEYS
[root@big-master src]# gpg --verify tajo-0.11.3-src.tar.gz.asc
[root@big-master src]# sha256sum tajo-0.11.3-src.tar.gz
[root@big-master src]# md5sum -c tajo-0.11.3-src.tar.gz.md5

[root@big-master src]# tar -zxpf tajo-0.11.3-src.tar.gz
[root@big-master src]# cd tajo-0.11.3-src
[root@big-master tajo-0.11.3-src]#

[tajo@big-master tajo-0.11.3-src]# mvn clean install -DskipTests -Pdist -Dtar -Dhadoop.version=2.7.6
~열심히 하는걸 구경~
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Tajo Main 0.11.3 ................................... SUCCESS [  1.805 s]
[INFO] Tajo Project POM ................................... SUCCESS [  1.070 s]
[INFO] Tajo Maven Plugins ................................. SUCCESS [  3.402 s]
[INFO] Tajo Common ........................................ SUCCESS [  8.343 s]
[INFO] Tajo Algebra ....................................... SUCCESS [  2.206 s]
[INFO] Tajo Catalog Common ................................ SUCCESS [  4.407 s]
[INFO] Tajo Plan .......................................... SUCCESS [  7.869 s]
[INFO] Tajo Rpc Common .................................... SUCCESS [  1.443 s]
[INFO] Tajo Protocol Buffer Rpc ........................... SUCCESS [  2.137 s]
[INFO] Tajo Catalog Client ................................ SUCCESS [  1.670 s]
[INFO] Tajo Catalog Server ................................ SUCCESS [  2.151 s]
[INFO] Tajo Storage Common ................................ SUCCESS [  2.987 s]
[INFO] Tajo HDFS Storage .................................. SUCCESS [  3.341 s]
[INFO] Tajo PullServer .................................... SUCCESS [  1.612 s]
[INFO] Tajo Client ........................................ SUCCESS [  3.002 s]
[INFO] Tajo CLI tools ..................................... SUCCESS [  2.351 s]
[INFO] Tajo SQL Parser .................................... SUCCESS [  3.847 s]
[INFO] ASM (thirdparty) ................................... SUCCESS [  1.993 s]
[INFO] Tajo RESTful Container ............................. SUCCESS [  1.846 s]
[INFO] Tajo Metrics ....................................... SUCCESS [  1.231 s]
[INFO] Tajo Core .......................................... SUCCESS [ 46.811 s]
[INFO] Tajo RPC ........................................... SUCCESS [  0.985 s]
[INFO] Tajo Catalog Drivers Hive .......................... SUCCESS [03:47 min]
[INFO] Tajo Catalog Drivers ............................... SUCCESS [  0.046 s]
[INFO] Tajo Catalog ....................................... SUCCESS [  1.032 s]
[INFO] Tajo Client Example ................................ SUCCESS [  1.236 s]
[INFO] Tajo HBase Storage ................................. SUCCESS [04:33 min]
[INFO] Tajo Cluster Tests ................................. SUCCESS [ 41.579 s]
[INFO] Tajo JDBC Driver ................................... SUCCESS [ 11.459 s]
[INFO] Tajo JDBC storage common ........................... SUCCESS [  0.958 s]
[INFO] Tajo PostgreSQL JDBC storage ....................... SUCCESS [05:01 min]
[INFO] Tajo Storage ....................................... SUCCESS [  1.036 s]
[INFO] Tajo Distribution .................................. SUCCESS [  5.567 s]
[INFO] Tajo Core Tests 0.11.3 ............................. SUCCESS [  7.602 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:21 min
[INFO] Finished at: 2018-04-20T00:19:52+09:00
[INFO] ------------------------------------------------------------------------
[root@big-master tajo-0.11.3-src]# cd tajo-dist/target/
[root@big-master target]# ll
total 38008
drwxr-xr-x. 2 root root       27 Apr 20 00:19 antrun
drwxr-xr-x. 4 root root       38 Apr 20 00:19 classes
-rw-r--r--. 1 root root     2781 Apr 20 00:19 dist-layout-stitching.sh
-rw-r--r--. 1 root root      563 Apr 20 00:19 dist-tar-stitching.sh
drwxr-xr-x. 2 root root       27 Apr 20 00:19 maven-archiver
drwxr-xr-x. 3 root root       21 Apr 20 00:19 maven-shared-archive-resources
-rw-r--r--. 1 root root     2547 Apr 20 00:19 rat.txt
drwxr-xr-x. 7 root root     4096 Apr 20 00:19 tajo-0.11.3
-rw-r--r--. 1 root root 38884908 Apr 20 00:19 tajo-0.11.3.tar.gz
-rw-r--r--. 1 root root     9234 Apr 20 00:19 tajo-dist-0.11.3.jar
drwxr-xr-x. 3 root root       21 Apr 20 00:19 test-classes
-rw-r--r--. 1 root root      594 Apr 20 00:19 verify-protocbuf.sh

 

반응형

'bigdata > tajo' 카테고리의 다른 글

apache tajo HA 설치  (0) 2018.04.12
설치 후 Tajo와 MapReduce 비교 테스트  (0) 2018.04.11
Comments