另外這是附上的程式碼 顯示錯誤的地方!!
public function mutateRow($tableName, $row, $mutations, $attributes) { $this->send_mutateRow($tableName, $row, $mutations, $attributes); this is 1228 line $this->recv_mutateRow(); }
public function send_mutateRow($tableName, $row, $mutations, $attributes) { $args = new Hbase_mutateRow_args(); $args->tableName = $tableName; $args->row = $row; $args->mutations = $mutations; $args->attributes = $attributes; $bin_accel = ($this->output_ instanceof TProtocol::$TBINARYPROTOCOLACCELERATED) && function_exists('thrift_protocol_write_binary'); ========================================================== # non-utf8 is not allowed in row names try { $mutations = array( new Mutation( array( 'column' => 'entry:foo', 'value' => $invalid ) ), ); $client->mutateRow( $t, $invalid, $mutations ); throw new Exception( "shouldn't get here!" ); (DemoClient.php on line:158)
} catch ( IOError $e ) { echo( "expected error: {$e->message}\n" ); }
|