Try like this :

  HTable table = new HTable(conf, Text tableName);
  long lockId = table.startUpdate(getRow());

  table.put(lockId, Text columnName, byte[] value);
  table.commit(lockId);

On 1/20/08, ma qiang <[EMAIL PROTECTED]> wrote:
> Dear colleagues:
>         I don't know how to insert new rows in a table, and there's
> no insert method in HTable class. Can you tell me how to insert some
> rows in a  new table?
>        Thanks.
>
> Best wishes!
>
> Qiang Ma
> Department of Computer Science and Engineering
> Fudan University
> Shanghai, P. R. China
> EMail: [EMAIL PROTECTED]
>


-- 
B. Regards,
Edward yoon @ NHN, corp.

Reply via email to