Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
The Transporter 4 MySQL
Search
Sagar Nikam
July 11, 2013
Programming
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
The Transporter 4 MySQL
import & export to HDFS, Hive, HBase, csv, sql, text, tsv, xml
Sagar Nikam
July 11, 2013
More Decks by Sagar Nikam
See All by Sagar Nikam
Who Changed my Password ?
sagarnikam123
1
79
Small Wonders of BioAccumulators
sagarnikam123
2
110
BIM_2010_20-Project Presentation
sagarnikam123
2
65
Toxicology of Modern Medicine
sagarnikam123
1
81
Other Decks in Programming
See All in Programming
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
R8 の設定見直しでアプリサイズ削減
andpad
0
220
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
380
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
AWSに止められる覚悟してますか?
morizo_1984
2
530
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
Web Framework Benchmark Battle 2026, Any%
a_matsuda
2
2k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
Next.js: The final boss of Web Performance
guaca
0
250
Featured
See All Featured
Between Models and Reality
mayunak
4
500
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
780
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
How STYLIGHT went responsive
nonsquared
100
6.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
The SEO Collaboration Effect
kristinabergwall1
1
590
Speed Design
sergeychernyshev
33
2.2k
Side Projects
sachag
456
43k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Transcript
The Transporter 4 MySQL A visual Guide 4 Importing &
Exporting csv, xml, tsv, text, sql, MySql, HDFS, Hive, HBase
contents • Export 2 csv • Import csv • Exporting
2 sql • Importing sql • Exporting 2 xml • Importing xml • Exporting 2 tsv • Exporting 2 text • Exporting 2 HDFS • Installing Apache Sqoop • exporting 2 HDFS • Importing 2 MySQL • Exporting 2 Hive • Exporting 2 HBase
open MySQL
exporting to CSV
exporting CSV – Problem ?
check Appamor status
AA Status
AA
go to apparmor.d
edit usr.sbin.mysqld
usr.sbin.mysqld
after editing usr.sbin.mysqld
make /tmp/data directory
make /data directory
mounting
reload apparmor
restarting apparmor . . .
exporting .csv
Importing csv
importing .csv – problem ?
importing .csv
edit my.cnf
my.cnf file
after editing my.cnf
importing .csv
exporting sql
view tables
create country table
inserting data into country table
exporting .sql
exported .sql file
Importing sql
importing .sql
exporting xml
exporting .xml
importing xml
importing xml
exporting tsv
exporting .tsv
exported .tsv file
exporting txt
exporting .txt
exported .txt file
exporting to HDFS
installing Apache Sqoop
Apache Sqoop Home Page
Sqoop folder structure
add mysqlJ connector in SqoopHome/lib
export & check version
sqoop help
list databases
make dir in HDFS
check mysql tables
grant permissions
exporting 2 HDFS
exporting completes
Intermediate .java file (mapReduce)
HDFS table
exporting to HDFS
exporting to HDFS
importing to MySQL (4m HDFS)
HDFS table
make MySQL table structure
importing to MySQL
importing completes
imported table
exporting to Hive
check Hive for redundant table
exporting 2 Hive
libthrift version error
export fake HBase_Home
check Hive tables
export to HBase
mysql table
employee table
start HBase daemons
exporting to HBase
exporting completes
all Sqoop queries
finish