SlideShare une entreprise Scribd logo
1  sur  17
Hadoop
Edit by Cassell Hsu
                      2013.04.19
Hadoop
              Slave

Master        Slave

              Slave
Hadoop
• Master
 • NameNode
 • JobTracker
 • SecondaryNameNode
NameNode
• Where is NameNode?
 • Master
 • HDFS(Hadoop Distributed File System)
• What is NameNode?
 • 資料之位置資訊 ??
 • 資料之屬性
NameNode

• 位置資訊 ?
 • 所有資料皆存放在 – DataNode
DataNode
• What is DataNode
 • 存放資料
• Where is DataNode
 • HDFS
 • Slaves (and Master)
DataNode




User        NameNode                      DataNode

                  A      A
128             64Mb   64Mb


Mb                B      B
                64Mb   64Mb
                               DataNode

       Check hdfs-site.xml
Hadoop
                          Slaves
      Master
                         DataNode


NameNode   DataNode



                          DataNode



                         DataNode
Hadoop
• Master
 • NameNode
 • JobTracker
 • SecondaryNameNode
JobTracker
• What is JobTracker?
 • 排程工作 誰來工作?
• Where is JobTracker?
 • Master
JobTracker & TaskTracker
          JobTracker   TaskTracker


  Where     Master        Slaves


  What     排程工作         執行工作
Hadoop
                             Slaves
      Master
                              DataNode


                             TaskTracker
NameNode      DataNode

      JobTracker
Hadoop
• Master
 • NameNode
 • JobTracker
 • SecondaryNameNode
SecondaryNameNode
• What is SecondaryNameNode?
 • NameNode 發生錯誤時補救
• Where is SecondaryNameNode?
 • Master
Hadoop
                             Slaves
      Master
                              DataNode


                             TaskTracker
NameNode      DataNode

      JobTracker


    SecondaryNode
MapReduce
                NameNode   Reduce
                           Slave1     A1
         HDFS              Final Result
                             Result1
User             Master
                            Result2
  Task            Task
   A                        Slave2    A2
MapReduce

• 檔案切割
 • Hadoop 上區塊切割
   • 程式指定

Contenu connexe

Tendances

New features in Pig 0.11
New features in Pig 0.11New features in Pig 0.11
New features in Pig 0.11
Hortonworks
 
Hadoop+Cassandra_Integration
Hadoop+Cassandra_IntegrationHadoop+Cassandra_Integration
Hadoop+Cassandra_Integration
Joyabrata Das
 
Hive vs Pig for HadoopSourceCodeReading
Hive vs Pig for HadoopSourceCodeReadingHive vs Pig for HadoopSourceCodeReading
Hive vs Pig for HadoopSourceCodeReading
Mitsuharu Hamba
 

Tendances (20)

Introduction to Mongodb
Introduction to MongodbIntroduction to Mongodb
Introduction to Mongodb
 
알쓸신잡
알쓸신잡알쓸신잡
알쓸신잡
 
The Hadoop Ecosystem
The Hadoop EcosystemThe Hadoop Ecosystem
The Hadoop Ecosystem
 
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph DatabaseBringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
Bringing the Semantic Web closer to reality: PostgreSQL as RDF Graph Database
 
Big data, just an introduction to Hadoop and Scripting Languages
Big data, just an introduction to Hadoop and Scripting LanguagesBig data, just an introduction to Hadoop and Scripting Languages
Big data, just an introduction to Hadoop and Scripting Languages
 
Hadoop Integration in Cassandra
Hadoop Integration in CassandraHadoop Integration in Cassandra
Hadoop Integration in Cassandra
 
Apache spark session
Apache spark sessionApache spark session
Apache spark session
 
Intro to py spark (and cassandra)
Intro to py spark (and cassandra)Intro to py spark (and cassandra)
Intro to py spark (and cassandra)
 
Pig with Cassandra: Adventures in Analytics
Pig with Cassandra: Adventures in AnalyticsPig with Cassandra: Adventures in Analytics
Pig with Cassandra: Adventures in Analytics
 
PySpark in practice slides
PySpark in practice slidesPySpark in practice slides
PySpark in practice slides
 
Millions of Regions in HBase: Size Matters
Millions of Regions in HBase: Size MattersMillions of Regions in HBase: Size Matters
Millions of Regions in HBase: Size Matters
 
DMM.com ラボはなぜSparkを採用したのか? レコメンドエンジン開発の裏側をお話します
DMM.com ラボはなぜSparkを採用したのか? レコメンドエンジン開発の裏側をお話しますDMM.com ラボはなぜSparkを採用したのか? レコメンドエンジン開発の裏側をお話します
DMM.com ラボはなぜSparkを採用したのか? レコメンドエンジン開発の裏側をお話します
 
Gruter_TECHDAY_2014_04_TajoCloudHandsOn (in Korean)
Gruter_TECHDAY_2014_04_TajoCloudHandsOn (in Korean)Gruter_TECHDAY_2014_04_TajoCloudHandsOn (in Korean)
Gruter_TECHDAY_2014_04_TajoCloudHandsOn (in Korean)
 
New features in Pig 0.11
New features in Pig 0.11New features in Pig 0.11
New features in Pig 0.11
 
Hadoop+Cassandra_Integration
Hadoop+Cassandra_IntegrationHadoop+Cassandra_Integration
Hadoop+Cassandra_Integration
 
Introduction to Apache Tajo: Future of Data Warehouse
Introduction to Apache Tajo: Future of Data WarehouseIntroduction to Apache Tajo: Future of Data Warehouse
Introduction to Apache Tajo: Future of Data Warehouse
 
Hive vs Pig for HadoopSourceCodeReading
Hive vs Pig for HadoopSourceCodeReadingHive vs Pig for HadoopSourceCodeReading
Hive vs Pig for HadoopSourceCodeReading
 
A deeper-understanding-of-spark-internals
A deeper-understanding-of-spark-internalsA deeper-understanding-of-spark-internals
A deeper-understanding-of-spark-internals
 
Hadoop pig
Hadoop pigHadoop pig
Hadoop pig
 
Unleash your cluster with YARN
Unleash your cluster with YARNUnleash your cluster with YARN
Unleash your cluster with YARN
 

En vedette

Synchronous spindle lifting gears lift table system, synchronization mechanic...
Synchronous spindle lifting gears lift table system, synchronization mechanic...Synchronous spindle lifting gears lift table system, synchronization mechanic...
Synchronous spindle lifting gears lift table system, synchronization mechanic...
Jacton Electromechanical Co.,Ltd
 
Teste Para Slideshow
Teste Para SlideshowTeste Para Slideshow
Teste Para Slideshow
lucimeirecsf
 
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
Dr. Arne Roock
 
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
Neuza Pedro
 

En vedette (15)

Stc india 2015_salary_survey_results
Stc india 2015_salary_survey_resultsStc india 2015_salary_survey_results
Stc india 2015_salary_survey_results
 
Charles Randles- You're the problem why leadership culture is the last barrier
Charles Randles- You're the problem why leadership culture is the last barrierCharles Randles- You're the problem why leadership culture is the last barrier
Charles Randles- You're the problem why leadership culture is the last barrier
 
201503271838
201503271838201503271838
201503271838
 
R. VILLANO - STREET PHOTO (cd rom vol. 2 IT-2017) parte 4
R. VILLANO - STREET PHOTO (cd rom  vol. 2  IT-2017) parte 4R. VILLANO - STREET PHOTO (cd rom  vol. 2  IT-2017) parte 4
R. VILLANO - STREET PHOTO (cd rom vol. 2 IT-2017) parte 4
 
Synchronous spindle lifting gears lift table system, synchronization mechanic...
Synchronous spindle lifting gears lift table system, synchronization mechanic...Synchronous spindle lifting gears lift table system, synchronization mechanic...
Synchronous spindle lifting gears lift table system, synchronization mechanic...
 
5th wave social impact evaluation
5th wave social impact evaluation5th wave social impact evaluation
5th wave social impact evaluation
 
2015 Hiring Trends
2015 Hiring Trends2015 Hiring Trends
2015 Hiring Trends
 
Teste Para Slideshow
Teste Para SlideshowTeste Para Slideshow
Teste Para Slideshow
 
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
Paradigmenwechselim projektmanagement x pdays - traian kaiser 11-2010
 
Specialist Disability Accommodation Presentation
Specialist Disability Accommodation PresentationSpecialist Disability Accommodation Presentation
Specialist Disability Accommodation Presentation
 
Violencia contra las mujeres y las niñas y la discapacidad.
Violencia contra las mujeres y las niñas y la discapacidad.Violencia contra las mujeres y las niñas y la discapacidad.
Violencia contra las mujeres y las niñas y la discapacidad.
 
Second ruling by the icc in the application for a finding of non compliance b...
Second ruling by the icc in the application for a finding of non compliance b...Second ruling by the icc in the application for a finding of non compliance b...
Second ruling by the icc in the application for a finding of non compliance b...
 
Read mepdf v3_0_01introduction
Read mepdf v3_0_01introductionRead mepdf v3_0_01introduction
Read mepdf v3_0_01introduction
 
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
Tecnologias, Educacao, Ensino Superior: Areas de investigacao 2012 13
 
Xử lý cơ bản khi Viêm họng
Xử lý cơ bản khi Viêm họngXử lý cơ bản khi Viêm họng
Xử lý cơ bản khi Viêm họng
 

Similaire à Hadoop

1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
Nitish Bhardwaj
 
Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)
Nitish Bhardwaj
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp015anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
Nitish Bhardwaj
 
Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)
Nitish Bhardwaj
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
Nitish Bhardwaj
 
1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
Nitish Bhardwaj
 
1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
Nitish Bhardwaj
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp015anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
Nitish Bhardwaj
 
Checkupload1 140213043220-phpapp01
Checkupload1 140213043220-phpapp01Checkupload1 140213043220-phpapp01
Checkupload1 140213043220-phpapp01
Nitish Bhardwaj
 

Similaire à Hadoop (20)

Pp1tx present
Pp1tx presentPp1tx present
Pp1tx present
 
1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
 
Pptx present
Pptx presentPptx present
Pptx present
 
Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)
 
Test schedule
Test scheduleTest schedule
Test schedule
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp015anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
 
Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)Hadoop 130419075715-phpapp02(1)
Hadoop 130419075715-phpapp02(1)
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
5anbcquvtfgv1pvhfif9 140508053553-phpapp01 (1)
 
1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
 
bitch please
bitch pleasebitch please
bitch please
 
Ppt1x present
Ppt1x presentPpt1x present
Ppt1x present
 
1cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp011cailbbtbilgqjw00cff 140424042232-phpapp01
1cailbbtbilgqjw00cff 140424042232-phpapp01
 
My bar
My barMy bar
My bar
 
Pptx present
Pptx presentPptx present
Pptx present
 
Ppt1x present
Ppt1x presentPpt1x present
Ppt1x present
 
Pptx present
Pptx presentPptx present
Pptx present
 
#jeet
#jeet#jeet
#jeet
 
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp015anbcquvtfgv1pvhfif9 140508053553-phpapp01
5anbcquvtfgv1pvhfif9 140508053553-phpapp01
 
Presentation Renamed
Presentation RenamedPresentation Renamed
Presentation Renamed
 
Checkupload1 140213043220-phpapp01
Checkupload1 140213043220-phpapp01Checkupload1 140213043220-phpapp01
Checkupload1 140213043220-phpapp01
 

Dernier

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Dernier (20)

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Hadoop