Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
1
2011   5   22
[                ]




                2
2011   5   22
[                                 ]
       http://www.geminimobile.jp/




                             3
2011   5   22
[                                   ]
   http://oss.infoscience.co.jp/




                                   4
2011   5   22
[                 ]
                5
2011   5   22
[                                 ]




                http://j.mp/HBase3

                               6
2011   5   22
[                                  ]



           Twitter   #hbaseworkshop




                        7
2011   5   22
[                 ]
                8
2011   5   22
[                ]




                9
2011   5   22
[                 ]




                10
2011   5   22
[                                                             ]




                                                          11
   http://www.slideshare.net/clehene/hbase-and-hadoop-at-adobe
2011   5   22
[                 ]




                12
2011   5   22
[                 ]




                13
2011   5   22
[                 ]




                14
2011   5   22
[                 ]




                15
2011   5   22
[                 ]




                16
2011   5   22
[                 ]




                17
2011   5   22
[                 ]




                18
2011   5   22
[                 ]




                19
2011   5   22
[                 ]




                20
2011   5   22
[                 ]




                21
2011   5   22
[                 ]




                22
2011   5   22
[                 ]




                23
2011   5   22
[                  ]
                24
2011   5   22
[                 ]




                25
2011   5   22
[                 ]




                26
2011   5   22
[                                                                                     ]

                                                                 [00 - 28)
                                [00 - 62)        [00 - 62)
                                                                 [28 - 62)
       [00 -    )   [00 -   )
                                                                             [62 - 80)
                                [62 -   )                    [62 -   )
                                                                             [80 -   )




                                            27
2011   5   22
[                                                                        ]


                            [00 - 05)   [18 - 22)               [12 - 18)

                [00 - 05)                           [05 - 12)

                [05 - 12)
                [12 - 18)
                [18 - 22)


                                             28
2011   5   22
[                 ]




                29
2011   5   22
[                 ]




                30
2011   5   22
[                 ]




                31
2011   5   22
[                 ]




                32
2011   5   22
[                 ]




                33
2011   5   22
[                 ]




                34
2011   5   22
[                 ]




                35
2011   5   22
[                  ]
                36
2011   5   22
[                 ]




                37
2011   5   22
[                 ]




                38
2011   5   22
[                                                                                     ]
           MediaWiki             MySQL

                                            0..


                       1




                       1   0..




                                   http://www.mediawiki.org/wiki/Manual:Database_layout/ja
                                        39
2011   5   22
[                 ]




                40
2011   5   22
[                 ]




                41
2011   5   22
[                 ]




                42
2011   5   22
[                  ]
                43
2011   5   22
[                 ]




                44
2011   5   22
[                 ]




                45
2011   5   22
[                 ]




                46
2011   5   22
[                 ]




                47
2011   5   22
[                 ]




                48
2011   5   22
[                 ]




                49
2011   5   22
[                 ]




                50
2011   5   22
[                                           ]
     // ===           ===
     //            put

    Put putA = new Put(     A             );
    putA.set(       A           );

    Put putB = new Put(     B             );
    putB.set(       B           );

    Put putC = new Put(     C             );
    putC.set(       C           );

                                     51
2011   5   22
[                                                                     ]
   // ===               ===
   //           B   C                        RowLog
   //           A        RowLog

   RowLogMessage walB =
           wal.putMessage(rowA, Bytes.toBytes("       B"), putB, putA)

   RowLogMessage walC =
           wal.putMessage(rowA, Bytes.toBytes("       C"), putC, putA)




                                        52
2011   5   22
[                                                             ]
     // ===          ===
     //                                      A
     //                                      A
     //
     //

     boolean tableA_updated =          A.checkAndPut(   putA);

     boolean tableB_updated = false;
     boolean tableC_updated = false;




                                        53
2011   5   22
[                                                  ]
     // ===          ===
     //                      B             C
     if (tableA_updated) {
         tableB_updated = wal.processMessage(walB);
         tableC_updated = wal.processMessage(walC);
     }




                                      54
2011   5   22
[                 ]




                55
2011   5   22
[                  ]
                56
2011   5   22
[                                                                                    ]




           Yahoo! Cloud Serving Benchmark Report v4.4 http://research.yahoo.com/node/3202
                                                  57
2011   5   22
[                 ]




                58
2011   5   22

More Related Content

HBase Workshop in Tokyo #001

  • 1. 1 2011 5 22
  • 2. [ ] 2 2011 5 22
  • 3. [ ] http://www.geminimobile.jp/ 3 2011 5 22
  • 4. [ ] http://oss.infoscience.co.jp/ 4 2011 5 22
  • 5. [ ] 5 2011 5 22
  • 6. [ ] http://j.mp/HBase3 6 2011 5 22
  • 7. [ ] Twitter #hbaseworkshop 7 2011 5 22
  • 8. [ ] 8 2011 5 22
  • 9. [ ] 9 2011 5 22
  • 10. [ ] 10 2011 5 22
  • 11. [ ] 11 http://www.slideshare.net/clehene/hbase-and-hadoop-at-adobe 2011 5 22
  • 12. [ ] 12 2011 5 22
  • 13. [ ] 13 2011 5 22
  • 14. [ ] 14 2011 5 22
  • 15. [ ] 15 2011 5 22
  • 16. [ ] 16 2011 5 22
  • 17. [ ] 17 2011 5 22
  • 18. [ ] 18 2011 5 22
  • 19. [ ] 19 2011 5 22
  • 20. [ ] 20 2011 5 22
  • 21. [ ] 21 2011 5 22
  • 22. [ ] 22 2011 5 22
  • 23. [ ] 23 2011 5 22
  • 24. [ ] 24 2011 5 22
  • 25. [ ] 25 2011 5 22
  • 26. [ ] 26 2011 5 22
  • 27. [ ] [00 - 28) [00 - 62) [00 - 62) [28 - 62) [00 - ) [00 - ) [62 - 80) [62 - ) [62 - ) [80 - ) 27 2011 5 22
  • 28. [ ] [00 - 05) [18 - 22) [12 - 18) [00 - 05) [05 - 12) [05 - 12) [12 - 18) [18 - 22) 28 2011 5 22
  • 29. [ ] 29 2011 5 22
  • 30. [ ] 30 2011 5 22
  • 31. [ ] 31 2011 5 22
  • 32. [ ] 32 2011 5 22
  • 33. [ ] 33 2011 5 22
  • 34. [ ] 34 2011 5 22
  • 35. [ ] 35 2011 5 22
  • 36. [ ] 36 2011 5 22
  • 37. [ ] 37 2011 5 22
  • 38. [ ] 38 2011 5 22
  • 39. [ ] MediaWiki MySQL 0.. 1 1 0.. http://www.mediawiki.org/wiki/Manual:Database_layout/ja 39 2011 5 22
  • 40. [ ] 40 2011 5 22
  • 41. [ ] 41 2011 5 22
  • 42. [ ] 42 2011 5 22
  • 43. [ ] 43 2011 5 22
  • 44. [ ] 44 2011 5 22
  • 45. [ ] 45 2011 5 22
  • 46. [ ] 46 2011 5 22
  • 47. [ ] 47 2011 5 22
  • 48. [ ] 48 2011 5 22
  • 49. [ ] 49 2011 5 22
  • 50. [ ] 50 2011 5 22
  • 51. [ ]    // === ===    // put   Put putA = new Put( A );   putA.set( A );   Put putB = new Put( B );   putB.set( B );   Put putC = new Put( C );   putC.set( C ); 51 2011 5 22
  • 52. [ ]    // === ===    // B C RowLog    // A RowLog    RowLogMessage walB =            wal.putMessage(rowA, Bytes.toBytes(" B"), putB, putA)    RowLogMessage walC =            wal.putMessage(rowA, Bytes.toBytes(" C"), putC, putA) 52 2011 5 22
  • 53. [ ]    // === ===    // A    // A    //    //    boolean tableA_updated = A.checkAndPut( putA);    boolean tableB_updated = false;    boolean tableC_updated = false; 53 2011 5 22
  • 54. [ ]    // === ===    // B C    if (tableA_updated) {        tableB_updated = wal.processMessage(walB);        tableC_updated = wal.processMessage(walC);    } 54 2011 5 22
  • 55. [ ] 55 2011 5 22
  • 56. [ ] 56 2011 5 22
  • 57. [ ] Yahoo! Cloud Serving Benchmark Report v4.4 http://research.yahoo.com/node/3202 57 2011 5 22
  • 58. [ ] 58 2011 5 22