Home
Explore
Submit Search
Upload
Login
Signup
Advertisement
Check these out next
Introduction to reactive programming & ReactiveCocoa
Florent Pillet
DBD::Gofer 200809
Tim Bunce
TLS305 Using DynamoDB with the AWS SDK for PHP - AWS re: Invent 2012
Amazon Web Services
Going crazy with Node.JS and CakePHP
Mariano Iglesias
Rhebok, High Performance Rack Handler / Rubykaigi 2015
Masahiro Nagano
Ruby meets Go
NTT Communications Technology Development
Ruby on Rails Oracle adaptera izstrāde
Raimonds Simanovskis
Puppet Camp Chicago 2014: Smoothing Troubles With Custom Types and Providers ...
Puppet
1
of
15
Top clipped slide
Lightweight wrapper for Hive on Amazon EMR
Sep. 25, 2011
•
0 likes
4 likes
×
Be the first to like this
Show More
•
2,118 views
views
×
Total views
0
On Slideshare
0
From embeds
0
Number of embeds
0
Report
Technology
Shinji Tanaka
Follow
Software Developer at Hatena
Advertisement
Advertisement
Advertisement
Recommended
High Performance tDiary
Hiroshi SHIBATA
1K views
•
25 slides
Using Node.js to Build Great Streaming Services - HTML5 Dev Conf
Tom Croucher
22.6K views
•
51 slides
Node.js streaming csv downloads proxy
Ismael Celis
18.2K views
•
30 slides
Practical Testing of Ruby Core
Hiroshi SHIBATA
16.6K views
•
51 slides
PL/Perl - New Features in PostgreSQL 9.0
Tim Bunce
3.7K views
•
29 slides
The worst Ruby codes I’ve seen in my life - RubyKaigi 2015
Fernando Hamasaki de Amorim
16.3K views
•
141 slides
More Related Content
Slideshows for you
(20)
Introduction to reactive programming & ReactiveCocoa
Florent Pillet
•
7.1K views
DBD::Gofer 200809
Tim Bunce
•
2.4K views
TLS305 Using DynamoDB with the AWS SDK for PHP - AWS re: Invent 2012
Amazon Web Services
•
11.6K views
Going crazy with Node.JS and CakePHP
Mariano Iglesias
•
13.7K views
Rhebok, High Performance Rack Handler / Rubykaigi 2015
Masahiro Nagano
•
75.7K views
Ruby meets Go
NTT Communications Technology Development
•
28.8K views
Ruby on Rails Oracle adaptera izstrāde
Raimonds Simanovskis
•
473 views
Puppet Camp Chicago 2014: Smoothing Troubles With Custom Types and Providers ...
Puppet
•
818 views
AnyMQ, Hippie, and the real-time web
clkao
•
4K views
Streams are Awesome - (Node.js) TimesOpen Sep 2012
Tom Croucher
•
4.9K views
Node.js - A Quick Tour
Felix Geisendörfer
•
9.3K views
Don't Be Afraid of Abstract Syntax Trees
Jamund Ferguson
•
3.3K views
Perl: Hate it for the Right Reasons
Matt Follett
•
1K views
Workshop Infrastructure as Code - Suestra
Mario IC
•
284 views
JavaScript on the GPU
Jarred Nicholls
•
41.4K views
Introduction to Nodejs
Gabriele Lana
•
17.6K views
Creating Reusable Puppet Profiles
Bram Vogelaar
•
54 views
Nodejs - A quick tour (v6)
Felix Geisendörfer
•
3.9K views
Replacing "exec" with a type and provider: Return manifests to a declarative ...
Puppet
•
4.9K views
Nodejs Explained with Examples
Gabriele Lana
•
112.2K views
Viewers also liked
(16)
Securing big data (july 2012)
Marc Vael
•
485 views
4 cebrations
Sergey70
•
315 views
Abr
Michael and Rebecca Straley
•
200 views
5 at the market.урок
Sergey70
•
350 views
ASU Diploma
John E Hellemn
•
1.2K views
Gato vs extraterestre presentacion numero2
Fernando Espinel
•
145 views
Atelier Delplanque Fouré JFK2009
Pierre Trudelle
•
1.2K views
W.JONES Resume
Willie Jones
•
132 views
Academic social club
scharrlibrary
•
136 views
letter
Raven Wortham
•
120 views
Handle list
Robin Luo
•
116 views
87 158-1-sm
Felipe Morgantini
•
303 views
Distribuciones de asientos
Universidad Laica 'Vicente Rocafuerte de Guayaquil
•
145 views
Core Story - Markenbildung mittels Storytelling
Pia Kleine Wieskamp
•
1.7K views
Poster moodboard
afkbbs_
•
139 views
אלבום תמונות סדנא לבניית דידג'רידו 30.11.12
gonen bar lev
•
174 views
Advertisement
Similar to Lightweight wrapper for Hive on Amazon EMR
(20)
Background Jobs - Com BackgrounDRb
Juan Maiz
•
488 views
Introduction to cloudforecast
Masahiro Nagano
•
1.6K views
Perl on Amazon Elastic MapReduce
Pedro Figueiredo
•
2.3K views
CLI Wizardry - A Friendly Intro To sed/awk/grep
All Things Open
•
178 views
Toolbox of a Ruby Team
Arto Artnik
•
419 views
Profiling Ruby
Ian Pointer
•
2.3K views
Hiveminder - Everything but the Secret Sauce
Jesse Vincent
•
2.9K views
fast prototyping with sinatra sequel w2tags
widi harsojo
•
1.9K views
Flex With Rubyamf
Tony Hillerson
•
2.6K views
Integrating Flex And Rails With Ruby Amf
railsconf
•
1.3K views
MLflow with R
Databricks
•
2.3K views
Hacking parse.y (RubyConf 2009)
ujihisa
•
2.3K views
Under the Hood with Docker Swarm Mode - Drew Erny and Nishant Totla, Docker
Docker, Inc.
•
1.4K views
Wider than rails
Alexey Nayden
•
1.8K views
Exactly once with spark streaming
Quentin Ambard
•
1.6K views
Serializing Ruby Objects in Redis
Brian Kaney
•
9K views
React Development with the MERN Stack
Troy Miles
•
2.2K views
Introduction to Rails - presented by Arman Ortega
arman o
•
505 views
Beijing Perl Workshop 2008 Hiveminder Secret Sauce
Jesse Vincent
•
1.1K views
OSC2007-niigata - mashup
Yuichiro MASUI
•
2K views
More from Shinji Tanaka
(8)
Mackerelによる 簡単サーバー管理入門と発展形
Shinji Tanaka
•
8K views
Using Windows Azure
Shinji Tanaka
•
2.2K views
MySQL Multi-master on EC2
Shinji Tanaka
•
2.4K views
Original Server Conference
Shinji Tanaka
•
1.6K views
Scala on Hadoop
Shinji Tanaka
•
2.5K views
Performance and Scalability of Web Service
Shinji Tanaka
•
1.9K views
How to use Virtualization Technology in Hatena
Shinji Tanaka
•
2.8K views
Hatena's Infrastructure from the beginning
Shinji Tanaka
•
3.2K views
Advertisement
Recently uploaded
(20)
Raspberry pi presentation.pptx
FrankAnthonyChin
•
2 views
Pill Camera.pptx
Md Refatul Amin Refat
•
4 views
【本科生、研究生】美国德鲁大学毕业证文凭购买指南
sutseu
•
3 views
GSM FRAME STRUCTURE.pptx
Rasufsd
•
0 views
presentation.pdf
Mahdi_Fahmideh
•
4 views
Technology Companies Development Story
Hamidreza Soleimani
•
2 views
architecture of android.pptx
allurestore
•
0 views
Introduction to Virtualization.pptx
latifdhalait
•
2 views
【本科生、研究生】英国埃克塞特大学毕业证文凭购买指南
akuufux
•
0 views
Transverse-and-Longitudinal-Waves.pdf
AbdulRehman35508
•
0 views
【本科生、研究生】英国克兰菲尔德大学毕业证文凭购买指南
akuufux
•
3 views
Office 365
Princy Nadar
•
0 views
Configure Network Services.pptx
YanaDangle
•
2 views
fis-cn all staff 8.19.19.pptx
tamz331
•
0 views
NS-CUK Seminar: S.T.Nguyen, Review on "Improving Graph Neural Network Express...
ssuser4b1f48
•
2 views
【本科生、研究生】美国叶史瓦大学毕业证文凭购买指南
foxupud
•
0 views
zkStudyClub - cqlin: Efficient linear operations on KZG commitments
Alex Pruden
•
16 views
【本科生、研究生】美国迈阿密大学牛津分校毕业证文凭购买指南
akuufux
•
2 views
OODBMSvsORDBMSppt.pptx
MEHMOODNadeem
•
0 views
NS-CUK Seminar: J.H.Lee, Review on "GCC: Graph Contrastive Coding for Graph ...
ssuser4b1f48
•
5 views
Lightweight wrapper for Hive on Amazon EMR
Lightweight wrapper for
Hive on Amazon EMR @stanaka
n n
CTO n
Hive on Amazon
EMR n Amazon Elastic MapReduce n Hive n HiveQL
EMR
@ n Hadoop n 20 n n n n MapReduce n Hadoop Streaming n Perl Mapper, Reducer
EMR
n ! n ! n n S3 n ? n
1:
S3 n S3 n log2s3.pl n S3 n 1 1 (logrotate)
Hive
n Hive SerDe n n n label:value n n LogFormat "time:%tthost:%htreq:%rtstatus:%>s ... n time:[25/Sep/2011:12:17:51 +0900] host:11.22.33.44
2:
n Hive n n Wrapper n Perl n Net::Amazon::EMR n ruby elastic-mapreduce n Net::Amazon::EMR::Wrapper
n n
n n SerDe n HiveQL n n Perl n !!!
use Net::Amazon::EMR::Wrapper; my $emr
= Net::Amazon::EMR::Wrapper-‐>new({ name => ’testcluster', start_cluster => 1, num_instances => 5, slave_instance_type => 'm1.small', master_instance_type => 'm1.small', alive => 0, log => Log::Dispatch::Config-‐>instance, jar => 's3://somelogs/_lib/hadoop/hive/serde/hatena-‐ serde.jar', });
$emr-‐>create_table('diary'); $emr-‐>add_partition('diary',
[ DateTime-‐>new(year => 2011, month => 5, day => 19), DateTime-‐>new(year => 2011, month => 5, day => 20) ], ); $emr-‐>do_select( "select * from logs limit 10", # HiveQL “line_sample”); # $emr-‐>do_select( "select count(1) from logs", "page view"); $emr-‐>do_select( "select count(distinct referer) from logs", "unique referer"); $emr-‐>get_results; #
% perl bin/sample.pl [Sun
Sep 25 11:30:57 2011] [notice] j-‐1IT82USV5OM0J is initiating [Sun Sep 25 11:37:00 2011] [notice] testcluster-‐20449-‐1317004256 (j-‐1IT82USV5OM0J) is ready. [Sun Sep 25 11:37:49 2011] [notice] Step 'create_table' is finished. (2 steps left) [Sun Sep 25 11:47:20 2011] [notice] Step 'page view' is finished. (1 steps left) [Sun Sep 25 11:56:54 2011] [notice] Step 'unique referer' is finished. (0 steps left) result: $VAR1 = { 'unique referer' => ’24235538', 'page view' => ’3596154323', }; [Sun Sep 25 11:56:57 2011] [notice] Finished.
Wrapper
#1 n n Perl n n cron n HiveQL
Wrapper
#2 n n n .. n n S3 n
Advertisement