Changes between Version 7 and Version 8 of jazz/13-12-21


Ignore:
Timestamp:
Dec 21, 2013, 4:07:30 PM (11 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/13-12-21

    v7 v8  
    6262 * 執行 Sqoop 連到 MySQL 匯入資料的測試
    6363{{{
    64 jazz@master ~ $ sqoop import --connect jdbc:mysql://sql.3du.me/test --table mysql_data --username sqoop -P
     64jazz@master ~ $ sqoop import --connect jdbc:mysql://sql.3du.me/test --table mysql_data --username 帳號 -P
    6565jazz@master ~ $ hadoop fs -cat mysql_data/part-m-00000
     66jazz@master ~ $ sqoop import --connect jdbc:mysql://sql.3du.me/test --table nyse_daily --username 帳號 -P -m 1
     67jazz@master ~ $ hadoop fs -cat nyse_daily/part-m-00000 | wc
    6668}}}