hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tianying Chang <tych...@gmail.com>
Subject HBase Thrift2 does not support createTable() API anymore?
Date Tue, 21 Jan 2014 00:56:16 GMT

It seems some API that is supported by Thrift are not in the Thrift2
anymore, e.g. createTable, deleteTable, getTableRegions, and so on?
Basically, these are those API that supported by Thrift2. How can I
createTable through Thrift2? Am I missing something here?


print 'Functions:'
  print '  bool exists(string table, TGet get)'
  print '  TResult get(string table, TGet get)'
  print '   getMultiple(string table,  gets)'
  print '  void put(string table, TPut put)'
  print '  bool checkAndPut(string table, string row, string family, string
qualifier, string value, TPut put)'
  print '  void putMultiple(string table,  puts)'
  print '  void deleteSingle(string table, TDelete deleteSingle)'
  print '   deleteMultiple(string table,  deletes)'
  print '  bool checkAndDelete(string table, string row, string family,
string qualifier, string value, TDelete deleteSingle)'
  print '  TResult increment(string table, TIncrement increment)'
  print '  TResult append(string table, TAppend append)'
  print '  i32 openScanner(string table, TScan scan)'
  print '   getScannerRows(i32 scannerId, i32 numRows)'
  print '  void closeScanner(i32 scannerId)'
  print '  void mutateRow(string table, TRowMutations rowMutations)'
  print '   getScannerResults(string table, TScan scan, i32 numRows)'

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message