phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey Jacoby (Jira)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-5481) can't active phoenix secondary index
Date Tue, 17 Sep 2019 16:37:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Geoffrey Jacoby resolved PHOENIX-5481.
--------------------------------------
    Resolution: Not A Bug

> can't active phoenix secondary index
> ------------------------------------
>
>                 Key: PHOENIX-5481
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5481
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.14.2
>            Reporter: xie qiang
>            Priority: Major
>
> my environment is cdh5.16.2+hbase1.2+phoenix 4.14.2,i created phoenix ASYNC index,
then i used command:
> hadoop --config conf jar /opt/cloudera/parcels/APACHE_PHOENIX-4.14.0-cdh5.14.2.p0.3/lib/phoenix/phoenix-4.14.0-cdh5.14.2-client.jar
\
> org.apache.phoenix.mapreduce.index.IndexTool \
> --schema db_enterprise \
> --data-table t_change_records \
> --index-table index_chg_recds \
> --output-path /hbase-index
> to active index,
> but last finded the error:
> java.lang.Exception: java.lang.IllegalArgumentException: Row length 34415 is > 32767java.lang.Exception:
java.lang.IllegalArgumentException: Row length 34415 is > 32767 at org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:489)
at org.apache.hadoop.mapred.LocalJobRunner$Job.run(LocalJobRunner.java:549)Caused by: java.lang.IllegalArgumentException:
Row length 34415 is > 32767 at org.apache.hadoop.hbase.client.Mutation.checkRow(Mutation.java:537)
at org.apache.hadoop.hbase.client.Put.<init>(Put.java:110) at org.apache.hadoop.hbase.client.Put.<init>(Put.java:68)
at org.apache.hadoop.hbase.client.Put.<init>(Put.java:58) at org.apache.phoenix.schema.PTableImpl$PRowImpl.newMutations(PTableImpl.java:902)
at org.apache.phoenix.schema.PTableImpl$PRowImpl.<init>(PTableImpl.java:898) at org.apache.phoenix.schema.PTableImpl.newRow(PTableImpl.java:797)
at org.apache.phoenix.schema.PTableImpl.newRow(PTableImpl.java:813) at org.apache.phoenix.execute.MutationState.generateMutations(MutationState.java:666)
at org.apache.phoenix.execute.MutationState.addRowMutations(MutationState.java:519) at org.apache.phoenix.execute.MutationState.access$600(MutationState.java:120)
at org.apache.phoenix.execute.MutationState$3.init(MutationState.java:724) at org.apache.phoenix.execute.MutationState$3.<init>(MutationState.java:721)
at org.apache.phoenix.execute.MutationState.toMutations(MutationState.java:719) at org.apache.phoenix.execute.MutationState.toMutations(MutationState.java:709)
at org.apache.phoenix.util.PhoenixRuntime.getUncommittedDataIterator(PhoenixRuntime.java:388)
at org.apache.phoenix.mapreduce.index.PhoenixIndexImportMapper.map(PhoenixIndexImportMapper.java:103)
at org.apache.phoenix.mapreduce.index.PhoenixIndexImportMapper.map(PhoenixIndexImportMapper.java:48)
at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145) at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:793)
at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341) at org.apache.hadoop.mapred.LocalJobRunner$Job$MapTaskRunnable.run(LocalJobRunner.java:270)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message