際際滷

際際滷Share a Scribd company logo
觜一危 ~ 襾語()
る企 覦一磯 觜一危 蠍一
 れ娠(Sqoop)-Import 
 ロ蠍 - 2ク 
蟾螳
れ娠-Import ?
Hadoop RDBMS  一危一 Import  蠍磯
 Sqoop 蠍磯蓋 螳螻 蠍磯ルれ 蟲蠍襷 牛  語!
朱 襦  (1/2)
豈 360 伎 譴 (螳)
れ娠  Import 
朱 襦  (2/2)
ロク れ
れ娠  Import
 Server01 
 DB Driver 覲旧
$ cp /opt/cloudera/parcels/CDH/jars/postgresql-9.0-801.jdbc4.jar
/opt/cloudera/parcels/CDH/lib/sqoop/lib
Step-1
 PostgreSQL  螻/觜覯 
$ cat /var/lib/cloudera-scm-server-db/data/generated_password.txt
Step-2
 PostgreSQL 
$ psql -U cloudera-scm -p 7432 -h localhost -d postgres
Step-3
 Import  一危 
postgres=# select * from smartcar_symptom_info;
Step-4
 PostgreSQL  HDFS襦 螳語り鍵(Import) ろ
$ sqoop import --connect jdbc:postgresql://127.0.0.1:7432/postgres --username cloudera-scm --
password Cw1zSFSFy6 --target-dir /pilot-pjt/collect/sqoop/car-symptom --query "select * from
smartcar_symptom_info where $CONDITIONS AND speed_p_symptom = '觜'" --num-
mappers 1
Step-5
 Hue 一危 
http://server02.hadoop.com:8888
Step-6
る企 覦一磯 觜一危 蠍一
ロ蠍 2ク  Sqoop Import 
[ 螳襭 ]
   : 觚 www.youtube.com
 れ給語: 殊企 www.slideshare.net

More Related Content

What's hot (20)

18. Install - Spark Streaming Env.
18. Install - Spark Streaming Env.18. Install - Spark Streaming Env.
18. Install - Spark Streaming Env.
merry7
19. Application - Spark Streaming 1
19. Application - Spark Streaming 119. Application - Spark Streaming 1
19. Application - Spark Streaming 1
merry7
10. Install - Phoenix
10. Install - Phoenix10. Install - Phoenix
10. Install - Phoenix
merry7
11. Application - Phoenix
11. Application - Phoenix11. Application - Phoenix
11. Application - Phoenix
merry7
3. Install - Tensorflow
3. Install - Tensorflow3. Install - Tensorflow
3. Install - Tensorflow
merry7
[殊瑚′襴讀] れ企 企殊磯 init script 覯 螳( 企殊磯 襭 ろ)
[殊瑚′襴讀] れ企 企殊磯  init script 覯 螳( 企殊磯 襭 ろ)[殊瑚′襴讀] れ企 企殊磯  init script 覯 螳( 企殊磯 襭 ろ)
[殊瑚′襴讀] れ企 企殊磯 init script 覯 螳( 企殊磯 襭 ろ)
NAVER CLOUD PLATFORMkれ企 企殊磯
15. Application - Solr Indexing & Searching
15. Application - Solr Indexing & Searching15. Application - Solr Indexing & Searching
15. Application - Solr Indexing & Searching
merry7
蟲蠍酷庄稼
蟲蠍酷庄稼蟲蠍酷庄稼
蟲蠍酷庄稼
zerk87
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
NAVER CLOUD PLATFORMkれ企 企殊磯
Airflow introduce
Airflow introduceAirflow introduce
Airflow introduce
t lc
Grafana Review
Grafana ReviewGrafana Review
Grafana Review
Sangmo Goo
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Seungmin Yu
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
r-kor
Data URI Scheme
Data URI SchemeData URI Scheme
Data URI Scheme
讌 蟾
CUBRIDInside_5th_CUBRID_Migration Process_DHLee
CUBRIDInside_5th_CUBRID_Migration Process_DHLeeCUBRIDInside_5th_CUBRID_Migration Process_DHLee
CUBRIDInside_5th_CUBRID_Migration Process_DHLee
Laura Oh
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL - ル讌
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL  - ル讌[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL  - ル讌
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL - ル讌
PgDay.Seoul
-襷給Μ 覦覯
-襷給Μ  覦覯-襷給Μ  覦覯
-襷給Μ 覦覯
Yunsu Lee
Ubuntu & C9(node.js) with AWS
Ubuntu & C9(node.js) with AWSUbuntu & C9(node.js) with AWS
Ubuntu & C9(node.js) with AWS
SeongSik Choi
譬豢磯 CLOUD 糾鍵(企覩)
譬豢磯 CLOUD 糾鍵(企覩)譬豢磯 CLOUD 糾鍵(企覩)
譬豢磯 CLOUD 糾鍵(企覩)
DONGMIN LEE
Zeppelin and Open Source Ecosystem and Silicon Valley
Zeppelin and Open Source Ecosystem and Silicon ValleyZeppelin and Open Source Ecosystem and Silicon Valley
Zeppelin and Open Source Ecosystem and Silicon Valley
Dataya Nolja
18. Install - Spark Streaming Env.
18. Install - Spark Streaming Env.18. Install - Spark Streaming Env.
18. Install - Spark Streaming Env.
merry7
19. Application - Spark Streaming 1
19. Application - Spark Streaming 119. Application - Spark Streaming 1
19. Application - Spark Streaming 1
merry7
10. Install - Phoenix
10. Install - Phoenix10. Install - Phoenix
10. Install - Phoenix
merry7
11. Application - Phoenix
11. Application - Phoenix11. Application - Phoenix
11. Application - Phoenix
merry7
3. Install - Tensorflow
3. Install - Tensorflow3. Install - Tensorflow
3. Install - Tensorflow
merry7
[殊瑚′襴讀] れ企 企殊磯 init script 覯 螳( 企殊磯 襭 ろ)
[殊瑚′襴讀] れ企 企殊磯  init script 覯 螳( 企殊磯 襭 ろ)[殊瑚′襴讀] れ企 企殊磯  init script 覯 螳( 企殊磯 襭 ろ)
[殊瑚′襴讀] れ企 企殊磯 init script 覯 螳( 企殊磯 襭 ろ)
NAVER CLOUD PLATFORMkれ企 企殊磯
15. Application - Solr Indexing & Searching
15. Application - Solr Indexing & Searching15. Application - Solr Indexing & Searching
15. Application - Solr Indexing & Searching
merry7
蟲蠍酷庄稼
蟲蠍酷庄稼蟲蠍酷庄稼
蟲蠍酷庄稼
zerk87
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
[殊瑚′襴讀] Jupyter襯 伎 覿 蟆 蟲豢蠍 - 谿渚 企殊磯 襭 ろ
NAVER CLOUD PLATFORMkれ企 企殊磯
Airflow introduce
Airflow introduceAirflow introduce
Airflow introduce
t lc
Grafana Review
Grafana ReviewGrafana Review
Grafana Review
Sangmo Goo
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Custom DevOps Monitoring System in MelOn (with InfluxDB + Telegraf + Grafana)
Seungmin Yu
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
RUCK 2017 - 螳覲 - Spark R 磯 觜一危 覿
r-kor
Data URI Scheme
Data URI SchemeData URI Scheme
Data URI Scheme
讌 蟾
CUBRIDInside_5th_CUBRID_Migration Process_DHLee
CUBRIDInside_5th_CUBRID_Migration Process_DHLeeCUBRIDInside_5th_CUBRID_Migration Process_DHLee
CUBRIDInside_5th_CUBRID_Migration Process_DHLee
Laura Oh
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL - ル讌
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL  - ル讌[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL  - ル讌
[Pgday.Seoul 2017] 1. PostGIS 襦襦 覲 PostgreSQL - ル讌
PgDay.Seoul
-襷給Μ 覦覯
-襷給Μ  覦覯-襷給Μ  覦覯
-襷給Μ 覦覯
Yunsu Lee
Ubuntu & C9(node.js) with AWS
Ubuntu & C9(node.js) with AWSUbuntu & C9(node.js) with AWS
Ubuntu & C9(node.js) with AWS
SeongSik Choi
譬豢磯 CLOUD 糾鍵(企覩)
譬豢磯 CLOUD 糾鍵(企覩)譬豢磯 CLOUD 糾鍵(企覩)
譬豢磯 CLOUD 糾鍵(企覩)
DONGMIN LEE
Zeppelin and Open Source Ecosystem and Silicon Valley
Zeppelin and Open Source Ecosystem and Silicon ValleyZeppelin and Open Source Ecosystem and Silicon Valley
Zeppelin and Open Source Ecosystem and Silicon Valley
Dataya Nolja

Similar to 2. Application - Sqoop Import (20)

螻糾SQL 伎 螻糾襭覿 蠍一れ
螻糾SQL 伎 螻糾襭覿 蠍一れ螻糾SQL 伎 螻糾襭覿 蠍一れ
螻糾SQL 伎 螻糾襭覿 蠍一れ
BJ Jang
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
I Goo Lee
Cloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcampCloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcamp
Sang-bae Lim
Bigdata with Google Cloud
Bigdata with Google CloudBigdata with Google Cloud
Bigdata with Google Cloud
豢 蟾
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
MinPa Lee
Kubernetes on GCP
Kubernetes on GCPKubernetes on GCP
Kubernetes on GCP
Daegeun Kim
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1 覓願鍵(譯) 豕 20170912
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1  覓願鍵(譯) 豕 20170912Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1  覓願鍵(譯) 豕 20170912
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1 覓願鍵(譯) 豕 20170912
Yooseok Choi
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
docker on GCE ( JIRA & Confluence ) - GDG Korea Clouddocker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
Jude Kim
[AI & DevOps] BigData Scale Production AI 觜るゼ 豕 ろ豌
[AI & DevOps] BigData Scale Production AI 觜るゼ  豕  ろ豌[AI & DevOps] BigData Scale Production AI 觜るゼ  豕  ろ豌
[AI & DevOps] BigData Scale Production AI 觜るゼ 豕 ろ豌
hoondong kim
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Dongil Yeom
Remote-debugging-based-on-notrace32-20130619-1900
Remote-debugging-based-on-notrace32-20130619-1900Remote-debugging-based-on-notrace32-20130619-1900
Remote-debugging-based-on-notrace32-20130619-1900
Samsung Electronics
Alluxio: Data Orchestration on Multi-Cloud
Alluxio: Data Orchestration on Multi-CloudAlluxio: Data Orchestration on Multi-Cloud
Alluxio: Data Orchestration on Multi-Cloud
Jinwook Chung
PostGIS - National Education Center for GIS: Open Source GIS
PostGIS - National Education Center for GIS: Open Source GIS PostGIS - National Education Center for GIS: Open Source GIS
PostGIS - National Education Center for GIS: Open Source GIS
MinPa Lee
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
譯殊 伎朱
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
Sang-ho Choi
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
NAVER D2
誤 れ覦蟆
誤 れ覦蟆誤 れ覦蟆
誤 れ覦蟆
Devgear
spark database Service
spark database Servicespark database Service
spark database Service
谿曙
Fluentd with MySQL
Fluentd with MySQLFluentd with MySQL
Fluentd with MySQL
I Goo Lee
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
Lee Dong Wook
螻糾SQL 伎 螻糾襭覿 蠍一れ
螻糾SQL 伎 螻糾襭覿 蠍一れ螻糾SQL 伎 螻糾襭覿 蠍一れ
螻糾SQL 伎 螻糾襭覿 蠍一れ
BJ Jang
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
ろる 襷 DB 覈磯 ろ (w/graphite+grafana)
I Goo Lee
Cloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcampCloudera session seoul - Spark bootcamp
Cloudera session seoul - Spark bootcamp
Sang-bae Lim
Bigdata with Google Cloud
Bigdata with Google CloudBigdata with Google Cloud
Bigdata with Google Cloud
豢 蟾
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
螻糾覲願碓 - PyQGIS 覦 蠏語 螳覦
MinPa Lee
Kubernetes on GCP
Kubernetes on GCPKubernetes on GCP
Kubernetes on GCP
Daegeun Kim
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1 覓願鍵(譯) 豕 20170912
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1  覓願鍵(譯) 豕 20170912Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1  覓願鍵(譯) 豕 20170912
Bigquery airflow襯 伎 一危 覿 ろ 蟲豢 v1 覓願鍵(譯) 豕 20170912
Yooseok Choi
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
docker on GCE ( JIRA & Confluence ) - GDG Korea Clouddocker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
docker on GCE ( JIRA & Confluence ) - GDG Korea Cloud
Jude Kim
[AI & DevOps] BigData Scale Production AI 觜るゼ 豕 ろ豌
[AI & DevOps] BigData Scale Production AI 觜るゼ  豕  ろ豌[AI & DevOps] BigData Scale Production AI 觜るゼ  豕  ろ豌
[AI & DevOps] BigData Scale Production AI 觜るゼ 豕 ろ豌
hoondong kim
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Udamp3 django apache-my_sql_python3_ubuntu14.04-v11
Dongil Yeom
Remote-debugging-based-on-notrace32-20130619-1900
Remote-debugging-based-on-notrace32-20130619-1900Remote-debugging-based-on-notrace32-20130619-1900
Remote-debugging-based-on-notrace32-20130619-1900
Samsung Electronics
Alluxio: Data Orchestration on Multi-Cloud
Alluxio: Data Orchestration on Multi-CloudAlluxio: Data Orchestration on Multi-Cloud
Alluxio: Data Orchestration on Multi-Cloud
Jinwook Chung
PostGIS - National Education Center for GIS: Open Source GIS
PostGIS - National Education Center for GIS: Open Source GIS PostGIS - National Education Center for GIS: Open Source GIS
PostGIS - National Education Center for GIS: Open Source GIS
MinPa Lee
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
譯殊 伎朱
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?[貉る ろ豎] 貉る 企至  貉豸襯 覈蟾?
[貉る ろ豎] 貉る 企至 貉豸襯 覈蟾?
Sang-ho Choi
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
[225]求求メ梶 堰= = 求午メ求 梶≡罪 =梶
NAVER D2
誤 れ覦蟆
誤 れ覦蟆誤 れ覦蟆
誤 れ覦蟆
Devgear
spark database Service
spark database Servicespark database Service
spark database Service
谿曙
Fluentd with MySQL
Fluentd with MySQLFluentd with MySQL
Fluentd with MySQL
I Goo Lee
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
沿看壊岳乙姻艶壊喝悌求甍估_悌宅求_悌議ツ雍槻撞.沿糸韓
Lee Dong Wook

2. Application - Sqoop Import

  • 1. 觜一危 ~ 襾語() る企 覦一磯 觜一危 蠍一 れ娠(Sqoop)-Import ロ蠍 - 2ク 蟾螳
  • 2. れ娠-Import ? Hadoop RDBMS 一危一 Import 蠍磯 Sqoop 蠍磯蓋 螳螻 蠍磯ルれ 蟲蠍襷 牛 語!
  • 3. 朱 襦 (1/2)
  • 4. 豈 360 伎 譴 (螳) れ娠 Import 朱 襦 (2/2)
  • 6. Server01 DB Driver 覲旧 $ cp /opt/cloudera/parcels/CDH/jars/postgresql-9.0-801.jdbc4.jar /opt/cloudera/parcels/CDH/lib/sqoop/lib Step-1 PostgreSQL 螻/觜覯 $ cat /var/lib/cloudera-scm-server-db/data/generated_password.txt Step-2 PostgreSQL $ psql -U cloudera-scm -p 7432 -h localhost -d postgres Step-3
  • 7. Import 一危 postgres=# select * from smartcar_symptom_info; Step-4 PostgreSQL HDFS襦 螳語り鍵(Import) ろ $ sqoop import --connect jdbc:postgresql://127.0.0.1:7432/postgres --username cloudera-scm -- password Cw1zSFSFy6 --target-dir /pilot-pjt/collect/sqoop/car-symptom --query "select * from smartcar_symptom_info where $CONDITIONS AND speed_p_symptom = '觜'" --num- mappers 1 Step-5 Hue 一危 http://server02.hadoop.com:8888 Step-6
  • 8. る企 覦一磯 觜一危 蠍一 ロ蠍 2ク Sqoop Import [ 螳襭 ] : 觚 www.youtube.com れ給語: 殊企 www.slideshare.net