Changes between Version 7 and Version 8 of waue/2009/0626


Ignore:
Timestamp:
Jun 26, 2009, 5:47:56 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0626

    v7 v8  
    1 = 新 hbase 解析 =
     1{{{
     2#!html
     3<div style="text-align: center;"><big
     4 style="font-weight: bold;"><big><big> hbase 0.19 程式設計 </big></big></big></div>
     5}}}
     6
     7
    28[[PageOutline]]
     9 = 前言 =
    310 * hbase 已經到0.19.3了,可惜的是 hbase 0.18.1的api及文件都已經從官方網頁被拿掉了,所幸hbase 0.18 與hbase 0.19相差無幾
    411 * hbase 0.1.3 到 hbase 0.19.3 中間好像已經包含了十幾代,但是其實類似java 1.4 直接跳躍 到 java 5 一樣,hbase 0.1.3 -> hbase 0.2.x -> hbase 0.18.x -> hbase 0.19.x
    512   * 從 hbase 0.18.x 之後,其版本名稱就直接對應hadoop 的版本名稱,如 hbase 0.18 搭配 hadoop 0.18 , hbase 0.19 搭配hadoop 0.19
    6 
    7  == 差別 ==
    8 筆者開發hbase時是 hbase 0.13的時代,現在又重拾舊業,發現已經差很多了。如撈取資料的方式:
     13 * 筆者開發hbase時是 hbase 0.13的時代,現在又重拾舊業,發現已經差很多了。如撈取資料的方式:
    914   * hbase 0.13 : select * from 'table_name'
    1015   * hbase 0.19 : scan 'table_name'
    11    
    12  == 資料庫結構: ==
     16
     17 = 資料庫結構 =
    1318table A
    1419 || || column_family:column_quolify1|| column_family:column_quolify2|| column_family:column_quolify3||
     
    1924   * 每個 column_family有許多column_quolify1
    2025   * 每個 row 又分許多 timestamp
    21  
     26
    2227 = 程式碼 =
    2328 * 設計Hbase 的程式,首先要先規劃要建構怎樣功能的程式碼,在看需要用到什麼類別,類別產生出的物件的function可以靠eclipse產生(alt+/)再來挑選