• Like
  • Save
Taste Java In The Clouds
Upcoming SlideShare
Loading in...5
×
 

Taste Java In The Clouds

on

  • 3,042 views

 

Statistics

Views

Total Views
3,042
Views on SlideShare
3,034
Embed Views
8

Actions

Likes
0
Downloads
72
Comments
0

2 Embeds 8

http://www.slideshare.net 7
http://www.mefeedia.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Taste Java In The Clouds Taste Java In The Clouds Presentation Transcript

  • Taste Java in the Clouds 朱仲傑 Jacky Chu
  • Agenda
    • Evolution of computing with the network
    • What is Cloud Computing
    • Cloud Computing in the world
    • How to develop a cloud application
    • Hadoop Overview
    • Your First Cloud Program
    • Who needs Cloud Computing
  • Evolution of Computing with the Network
  • Internet Services around the World
  • What is Cloud Computing
    • 松下問童子,
    • 言師採藥去。
    • 只在此山中,
    • 雲深不知處。
    • 尋隱者不遇
    • 唐 賈島
  • Cloud Computing is …
    • Services and data in the cloud
    • Accessible with any device
    • Connected to the cloud with a browser
  • The Key Technical Issue for Developers is …
  • Cloud vs. Grid Cloud Computing Grid Computing Leading Service Provider Academic Circles Standard No Yes Open Source Partial Fully Hardware PC Heterogeneous Characteristic Small data for each process A large number of repeat process Huge data for once process
  • Cloud Computing in the World
  • How to Develop a Cloud Application
  • MapReduce http://www.gridgainsystems.com/wiki/display/GG15UG/MapReduce+Overview Storage Database
  • MapReduce Map Reduce Data (Key1, Value) (Key2, Value) … (Key n, Value) (Key1, Value) (Key3, Value) … (Key m, Value) (Key2, Value) (Key3, Value) … (Key n, Value) (Key1, Value) (Key2, Value) (Key3, Value) … (Key m, Value) (Key n, Value)
  • Hadoop History Doug Cutting
  • Hadoop Overview HDFS
  • Map Class
    • Extends MapReduceBase
    • Implements Mapper
      • <K1, V1, K2, V2>
      • <WritableComparable, Writable, WritableComparable, Writable>
    • map
      • K1, V1
      • OutputCollector<K2, V2>
      • Reporter
  • Key Class
    • org.apache.hadoop.io.WritableComparable
    • BooleanWritable, BytesWritable
    • IntWritable, LongWritable
      • VIntWritable, VLongWritable
    • FloatWritable
    • Text, UTF8
    • NullWritable
  • Value Class
    • org.apache.hadoop.io.Writable
    • Super Interface of WritableComparatable
    • ArrayWritable, MapWritable
    • ObjectWritable
  • Reduce Class
    • Extends MapReduceBase
    • Implements Reducer
      • <K2, V2, K3, V3>
      • <WritableComparable, Writable, WritableComparable, Writable>
    • reduce
      • K2, Iterator<V2>
      • OutputCollector<K3, V3>
      • Reporter
  • Job Configuration
    • org.apache.hadoop.mapred.JobConf
    • new JobConf(Class)
    • setJobName(String)
    • setMapperClass(Class <? extends Mapper>)
    • setCombinerClass(Class <? extends Reducer>)
    • setReducerClass(Class <? extends Reducer>)
    • setInputFormat(Class <? extends InputFormat>)
    • setOutputFormat(Class <? extends OutputFormat>)
  • Input/Output Format
    • org.apache.hadoop.mapred.*
    • FileInputFormat
      • setInputPath(JobConf, Path ... )
      • The array of Path s
      • org.apache.hadoop.fs.Path
    • FileOutputFormat
      • setOutputPath(JobConf, Path)
  • Run Job
    • JobClient
      • runJob(JobConf)
  • DEMO
  • Who needs Cloud Computing
    • ASP (Application Service Provider)
    • SaaS (Software as a Service)
    • PaaS (Platform as a Service)
  • The Key is …
  • References
    • Google AppEngine
      • http://code.google.com/appengine
    • Hadoop
      • http://hadoop.apache.org
    • Amazon Web Services
      • http://aws.amazon.com
    • Windows Azure
      • http://www.microsoft.com/azure/default.mspx
  •