6월, 2018의 게시물 표시

sorl 7.3.1 설치

cd /home wget http://apache.tt.co.kr/lucene/solr/7.3.0/solr-7.3.0.tgz tar zvf ./solr-7.3.0.tgz mv ./solr-7.3.0 /solr cd solr ./bin/solr -e cloud -noprompt

oozie-site.xml temp

<property>     <name>oozie.service.ActionService.executor.ext.classes</name>     <value>         org.apache.oozie.action.email.EmailActionExecutor,         org.apache.oozie.action.hadoop.HiveActionExecutor,         org.apache.oozie.action.hadoop.ShellActionExecutor,         org.apache.oozie.action.hadoop.SqoopActionExecutor     </value> </property> <property>     <name>oozie.service.SchemaService.wf.ext.schemas</name>     <value>shell-action-0.1.xsd,email-action-0.1.xsd,hive-action-0.2.xsd,sqoop-action-0.2.xsd,ssh-action-0.1.xsd</value> </property> <property>     <name>oozie.system.id</name>     <value>oozie-${user.name}</value>     <description>         The Oozie system ID.   ...

hive-site.xml temp

<?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <configuration> <!-- Hive Configuration can either be stored in this file or in the hadoop configuration files  --> <!-- that are implied by Hadoop setup variables.                                                --> <!-- Aside from Hadoop setup variables - this file is provided as a convenience so that Hive    --> <!-- users do not have to edit hadoop configuration files (that may be managed as a centralized --> <!-- resource).                                                                                 --> ...

hue oozie setup

f after installing your cluster and submitting some Oozie jobs you are seeing this type of error: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2015-03-11 09:11:19,821  WARN ActionStartXCommand:544 - SERVER[ local ] USER[hue] GROUP[-] TOKEN[] APP[pig-app-hue-script] JOB[0000000-150311091052117-oozie-hue-W] ACTION[0000000-150311091052117-oozie-hue-W@pig] Error starting action [pig]. ErrorType [FAILED], ErrorCode [It should never happen], Message [File /user/oozie/share/lib does not exist] org.apache.oozie.action.ActionExecutorException: File /user/oozie/share/lib does not exist      at org.apache.oozie.action.hadoop.JavaActionExecutor.addShareLib(JavaActionExecutor.java:601)      at org.apache.oozie.action.hadoop.JavaActionExecutor.addActionShareLib(JavaActionExecutor.java:725)      at org.apache.oozie.action.hadoop.JavaActionExecutor.addAllShareLibs(JavaActionExecutor.java:707)...

Chrome 설치 on Centos7

vi /etc/yum.repos.d/google- chrome.repo [google-chrome] name=google-chrome baseurl= http://dl.google.com/ linux/chrome/rpm/stable/$ basearch enabled=1 gpgcheck=1 gpgkey= https://dl-ssl.google. com/linux/linux_signing_key. pub yum install google-chrome-stable 

Connect HIVE by JDBC

URL : jdbc:hive2://CLUSTERNAME.azurehdinsight.net:443/default;transportMode=http;ssl=true;httpPath=/hive2 jdbc:hive://localhost:10000/default DRIVER :   org.apache.hive.jdbc.HiveDriver

Apache Livy 0.5.0 설치

su - hadoop cd /home wget http://apache.tt.co.kr/incubator/livy/0.5.0-incubating/livy-0.5.0-incubating-bin.zip unzip ./livy-0.5.0-incubating-bin.zip mv ./livy-0.5.0-incubating-bin.zip ./livy cd livy su - root vi /etc/profile ############# #LIVY export HADOOP_CONF_DIR=/home/hadoop/etc/hadoop su - hadoop cd livy ./bin/livy-server 아직 에러...

Virtualbox 설치 on CentOS (YUM)

[virtualbox] name=Oracle LinuxRHELCentOS-$releasever / $basearch - VirtualBox baseurl=http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey=https://www.virtualbox.org/download/oracle_vbox.asc

CentOS 7.2 한글설정

한글입력 1. 상단 메뉴에 프로그램을 선택 2. 시스템도구 -> 설정 -> 입력소스 -> + 선택 -> 한국어 선택 -> 한국어 (Hangul) 추가   3. 한국어는 - 로 제거 (괄호에 Hangul 없는 것) 4. 한국어 옆에 톱니바퀴 선택해서 토글에 spacebar + shift가 있으면 삭제하고 Hangul 만 남김 한글키 사용 1. 상단 메뉴에 프로그램을 선택 2. 시스템도구 -> 설정 -> 키보드 -> 자판입력 -> 다음입력 소스로 전환, 이전 입력 소스로 전환 각각 클릭해서 한/영 키를 누르고 저장

VirtualBOX 설치 on CentOS 7.4

cd /etc cd yu m.repos.d   vi oracle.repo [virtualbox] name=Oracle LinuxRHELCentOS-$releasever / $basearch - VirtualBox baseurl= http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch enabled=1 gpgcheck=1 repo_gpgcheck=1 gpgkey= https://www.virtualbox.org/download/oracle_vbox.asc yum list |grep -i virtual yum install VirtualBox-5.2.x86_64

GRUB 설정 CeotOS7

윈도우 설치 -> 리눅스 설치 하면 grub에서 윈도우랑 리눅스 멀티 부팅을 하도록 자동으로 잡아준다 하지만 여기에 다시 리눅스를 설치하면 기존 grub설정에서 윈도우는 사라진다 다시 윈도우랑 멀티 부팅을 하고 윈도우를 default 부팅으로 하기 위한 설정이다. 리눅스 설치 후 윈도우 설치시에 멀티부팅 방법은 다음 기회에... fdisk -l | more    Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT /dev/sda2          206848   249700351   124746752    7  HPFS/NTFS/exFAT /dev/sda3       499191808   500113407      460800   27  Hidden NTFS WinRE /dev/sda4       249700352   499191807   124745728    5...

CentOS 7.4 호스트명 변경

hostnamectl set-hostname 호스트명

Openstack(Devstack) make a system architecture

source openrc admin admin openstack project create --description 'Test General' General --domain default +-------------+----------------------------------+ | Field       | Value                            | +-------------+----------------------------------+ | description | Test General                     | | domain_id   | default                          | | enabled     | True                             | | id    ...