Changes between Version 5 and Version 6 of waue/2009/0729


Ignore:
Timestamp:
Jul 29, 2009, 6:28:19 PM (15 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2009/0729

    v5 v6  
    274274}}}
    275275
     276測試資料:
     277{{{
     2781;2404;5;attack_method_1;Attempted_Privilege;1;08;06;16;09;46;1.2.3.4:3394;140.110.138.22:445;TCP;
     2791;2404;5;attack_method_1;Attempted_Privilege;1;08;06;16;09;48;5.6.7.8:3394;140.110.138.22:445;TCP;
     2801;2404;5;attack_method_2;Attempted_Privilege;1;08;06;16;09;48;5.6.7.8:3394;140.110.138.22:445;TCP;
     2811;2404;5;attack_method_3;Attempted_Privilege;1;08;06;16;09;48;5.6.7.8:3394;140.110.138.22:445;TCP;
     2821;2404;5;attack_method_4;Attempted_Privilege;1;08;06;16;09;48;5.6.7.8:3394;140.110.138.22:445;TCP;
     2831;2404;5;attack_method_1;Attempted_Privilege;1;08;06;16;09;48;5.6.7.8:3394;140.110.141.33:445;TCP;
     284}}}
     285
     286結果:
     287{{{
     288hbase(main):005:0> scan 'ICAS'
     289ROW                          COLUMN+CELL                                                                     
     290 140.110.138.22              column=infor:class, timestamp=1248863177234, value=Attempted_Privilege           
     291 140.110.138.22              column=infor:date, timestamp=1248863177234, value=1/08/06_16:09:46 ; 1/08/06_16:0
     292                             9:48 ; 1/08/06_16:09:48 ; 1/08/06_16:09:48 ; 1/08/06_16:09:48                   
     293 140.110.138.22              column=infor:signature, timestamp=1248863177234, value=attack_method_1;attack_met
     294                             hod_1;attack_method_2;attack_method_3;attack_method_4                           
     295 140.110.138.22              column=infor:source_ip, timestamp=1248863177234, value=1.2.3.4 ; 5.6.7.8 ; 5.6.7.
     296                             8 ; 5.6.7.8 ; 5.6.7.8                                                           
     297 140.110.138.22              column=infor:type, timestamp=1248863177234, value=TCP                           
     298 140.110.141.33              column=infor:class, timestamp=1248863177268, value=Attempted_Privilege           
     299 140.110.141.33              column=infor:date, timestamp=1248863177268, value=1/08/06_16:09:48               
     300 140.110.141.33              column=infor:signature, timestamp=1248863177268, value=attack_method_1           
     301 140.110.141.33              column=infor:source_ip, timestamp=1248863177268, value=5.6.7.8                   
     302 140.110.141.33              column=infor:type, timestamp=1248863177268, value=TCP                           
     30310 row(s) in 0.1550 seconds
     304}}}
    276305
    277306 * 問題1: 如何讓run裡宣告的物件,map可使用,reduce也可以呼叫到