You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "yinsong (JIRA)" <ji...@apache.org> on 2016/01/14 04:01:39 UTC
[jira] [Created] (PHOENIX-2596) Asynchronous Index is not available
yinsong created PHOENIX-2596:
--------------------------------
Summary: Asynchronous Index is not available
Key: PHOENIX-2596
URL: https://issues.apache.org/jira/browse/PHOENIX-2596
Project: Phoenix
Issue Type: Bug
Affects Versions: 4.6.0
Environment: CentOS release 6.6 (Final),hbase0.98.4,hadoop2.6.0,
Reporter: yinsong
The test steps is as follows:
1.create table use salt_bucket:
create table test.hbase_order_logs(
row_key varchar primary key
,m.id INTEGER
,m.device_id INTEGER
,m.box_order_id INTEGER
,m.box_type INTEGER
,m.reserve_period INTEGER
,m.user_id varchar
,m.send_tel varchar
,m.send_man varchar
,m.send_company varchar
,m.send_time timestamp
,m.bar_code varchar
,m.client_tel varchar
,m.sdy_order_id varchar
,m.business_type INTEGER
,m.open_code varchar
,m.take_time timestamp
,m.status INTEGER
,m.created_at timestamp
,m.updated_at timestamp
,m.lattice_id INTEGER
,m.lattice_name varchar
,m.rule_type INTEGER
,m.uuid varchar
,m.due_time timestamp
,m.due_price_daily INTEGER
,m.location varchar
,m.sms_status INTEGER
,m.bar_code_raw varchar
,m.sender_retrieve_code varchar
,m.due_price_paid INTEGER
,m.consignee_pay INTEGER
,m.delivery_type varchar
)DATA_BLOCK_ENCODING='NONE',SALT_BUCKETS=30,COMPRESSION='SNAPPY'
2.then create local index on the table:
create local index async_index on test.hbase_order_logs(m.client_tel) ASYNC;
3.run map reduce job like this:
hbase org.apache.phoenix.mapreduce.index.IndexTool -D mapreduce.framework.name=yarn --schema test --data-table hbase_order_logs --index-table async_index --output-path /tmp/phoenix_load/async_idx_dir
but report test.async_index is not an index table for test.hbase_order_logs
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)