GitHub user xsq0718 opened a pull request:
https://github.com/apache/phoenix/pull/280
indextool inedxTable is not an index table for dataTable
Phoenix;phoenix-4.8.0-cdh5.8.0
Hbase;1.2.0
Create phoenixTable ;
CREATE Table "everAp"(pk VARCHAR PRIMARY KEY,"ba"."ap" varchar,"ba"."ft"
varchar,"ba"."et" varchar,"ba"."n" varchar);
Create Index;
create local index EVERAP_INDEX_AP on "everAp"("ba"."ap") async;
Use indexToolï¼
./hbase org.apache.phoenix.mapreduce.index.IndexTool -dt \"\"everAp\"\" -it
EVERAP_INDEX_AP -op hdfs:/hbase/data/default/everApIndc
/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/lib/hbase/bin/../lib/native/Linux-amd64-64
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:java.io.tmpdir=/tmp
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:java.compiler=<NA>
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client environment:os.name=Linux
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client environment:os.arch=amd64
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:os.version=2.6.32-504.el6.x86_64
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:user.name=root
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:user.home=/root
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Client
environment:user.dir=/opt/cloudera/parcels/CDH-5.8.2-1.cdh5.8.2.p0.3/bin
17/11/02 15:08:09 INFO zookeeper.ZooKeeper: Initiating client connection,
connectString=slave1:2181,slave2:2181,master:2181 sessionTimeout=60000
watcher=hconnection-0x4470f8a60x0, quorum=slave1:2181,slave2:2181,master:2181,
baseZNode=/hbase
17/11/02 15:08:09 INFO zookeeper.ClientCnxn: Opening socket connection to
server master/192.168.0.250:2181. Will not attempt to authenticate using SASL
(unknown error)
17/11/02 15:08:09 INFO zookeeper.ClientCnxn: Socket connection established,
initiating session, client: /192.168.0.250:53140, server:
master/192.168.0.250:2181
17/11/02 15:08:09 INFO zookeeper.ClientCnxn: Session establishment complete
on server master/192.168.0.250:2181, sessionid = 0x35f518ca651786a, negotiated
timeout = 60000
17/11/02 15:08:10 INFO metrics.Metrics: Initializing metrics system: phoenix
17/11/02 15:08:10 WARN impl.MetricsConfig: Cannot locate configuration:
tried hadoop-metrics2-phoenix.properties,hadoop-metrics2.properties
17/11/02 15:08:10 INFO impl.MetricsSystemImpl: Scheduled snapshot period at
10 second(s).
17/11/02 15:08:10 INFO impl.MetricsSystemImpl: phoenix metrics system
started
17/11/02 15:08:11 INFO Configuration.deprecation: hadoop.native.lib is
deprecated. Instead, use io.native.lib.available
17/11/02 15:08:12 ERROR index.IndexTool: An exception occurred while
performing the indexing job: IllegalArgumentException: EVERAP_INDEX_AP is not
an index table for everAp at:
java.lang.IllegalArgumentException: EVERAP_INDEX_AP is not an index table
for everAp
at org.apache.phoenix.mapreduce.index.IndexTool.run(IndexTool.java:190)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.phoenix.mapreduce.index.IndexTool.main(IndexTool.java:394)
You have mail in /var/spool/mail/root
**help!!!**
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/phoenix master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/phoenix/pull/280.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #280
----
commit 489a945159e08e663dc73d3cd51568e6ba0a0f38
Author: Samarth Jain <[email protected]>
Date: 2017-06-14T18:19:58Z
PHOENIX-3890 Disable EncodedQualifierCellsList optimization for tables with
more than one column family
commit 993164b6388a263f1931eae624693e30bf848d29
Author: Thomas <[email protected]>
Date: 2017-06-08T18:20:28Z
PHOENIX-3918 Ensure all function implementations handle null args correctly
commit de6fbc4e2a13cdc482cbc1c91e51c4bc526aa12f
Author: Samarth Jain <[email protected]>
Date: 2017-06-14T19:44:03Z
PHOENIX-3937 Remove @AfterClass methods from test classes annotated with
@NeedsOwnMiniClusterTest
commit 64121a3c403a3c5206174b33b3c8762d530279f0
Author: Josh Elser <[email protected]>
Date: 2017-06-15T20:34:43Z
PHOENIX-3940 Handle PERCENTILE_CONT against no rows
commit 98db5d63bd3572328da6ba52ba53357f692c6222
Author: Samarth Jain <[email protected]>
Date: 2017-06-16T17:59:45Z
PHOENIX-3942 Fix failing PhoenixMetricsIT test
commit fba5fa28a03279e3fc427de800774690d280edca
Author: Samarth Jain <[email protected]>
Date: 2017-06-19T20:54:39Z
PHOENIX-3930 Move BaseQueryIT to ParallelStatsDisabledIT (Samarth Jain &
James Taylor)
commit d0fd931e614f71eddf4670e9454b96125b6af2b8
Author: Mujtaba <[email protected]>
Date: 2017-06-21T18:36:07Z
Set version to 4.12.0-HBase-1.3-SNAPSHOT after release
commit 3093e9bd0e5b72787236b798b5488c0ce82f7288
Author: Samarth Jain <[email protected]>
Date: 2017-06-22T00:14:33Z
PHOENIX-3968 Region boundary with key smaller than fixed width size causes
skip scan filter to fail
commit 9a65ee9bcac4f270c1f7f46346f18ed539928d68
Author: Samarth Jain <[email protected]>
Date: 2017-06-22T05:45:52Z
PHOENIX-3971 Disable assertion in ConnectionQueryServicesTestImpl to get
builds passing
commit 3c68a87ef80d1443d2abfaa8e485a00f9780adbc
Author: Ohad Shacham <[email protected]>
Date: 2017-06-25T07:55:10Z
Connect TAL to Phoenix
commit 21d648a9282579a6f1d03b9c97df120a1355dbaf
Author: Thomas <[email protected]>
Date: 2017-06-28T03:02:22Z
PHOENIX-3980 Wrap iterator returned by BaseQueryPlan so that it always
closes dependencies
commit ef7851fd06fb031a4b03996c79e01b67f8cca2ae
Author: Samarth Jain <[email protected]>
Date: 2017-06-28T20:30:43Z
PHOENIX-3981 Ensure iterators are closed for join plans
commit 5c43b347a4cd2c3c38b28bee2983e716460e50db
Author: chenglei <[email protected]>
Date: 2017-06-30T08:57:00Z
PHOENIX-3964 Index.preWALRestore should handle index write failure
commit 84c825066ac44515b7c3f445bdef8828153d48ff
Author: Thomas <[email protected]>
Date: 2017-07-06T18:09:20Z
PHOENIX-3734 Refactor Phoenix to use TAL instead of direct calls to Tephra
(addendum)
commit 77509422266adfc190892bd57faf8b81b072519e
Author: Samarth Jain <[email protected]>
Date: 2017-07-06T20:56:27Z
PHOENIX-3938 Don't throw IOException out of coprocessor hooks
commit f5f32e3b8d111b47c3f5c83f4dfff4e4e7af6863
Author: Thomas <[email protected]>
Date: 2017-07-06T02:17:26Z
PHOENIX-3986 UngroupedAggregateRegionObserver.commitBatch() should set the
index metadata as an attribute on every mutation
commit b0109feb92fdd9e19bb6f70412d0c476ec60d3d4
Author: Ankit Singhal <[email protected]>
Date: 2017-07-07T11:08:49Z
PHOENIX-3944 ReadOnlyTableException occurs when we map Phoenix view to an
existing HBase table with Namespace Mapping enabled (Toshihiro Suzuki)
commit a752cd14851f1b1730c0ea3043a6dd0017fac5fc
Author: Samarth Jain <[email protected]>
Date: 2017-07-11T17:59:02Z
PHOENIX-4000 Increase zookeeper session timeout in tests to prevent region
server aborts
commit c9bc3a7e5e380b0f6225091429976c8d705d15d1
Author: Samarth Jain <[email protected]>
Date: 2017-07-11T18:04:19Z
PHOENIX-3994 Index RPC priority still depends on the controller factory
property in hbase-site.xml
commit b7b571b7db0c58ff488e435d5a3cf6c45a41fe86
Author: Josh Elser <[email protected]>
Date: 2017-07-11T17:57:28Z
PHOENIX-4011 Use more reasonable branch names for Phoenix and Hadoop
versions
commit 4aac7fce629109d653384abcad38d48e15abb079
Author: Samarth Jain <[email protected]>
Date: 2017-07-12T07:25:37Z
Revert "PHOENIX-3994 Index RPC priority still depends on the controller
factory property in hbase-site.xml"
commit caeaec8355023ce93656f56ad6dfa77d5dbc3517
Author: Samarth Jain <[email protected]>
Date: 2017-07-12T18:03:05Z
PHOENIX-4015 Change UpsertSelectIT to extend ParallelStatsDisabledIT
commit e05b7cdd3286d7021d5836ecf7446a1c2aed0b9c
Author: Thomas <[email protected]>
Date: 2017-07-08T18:22:03Z
PHOENIX-3978 Expose mutation failures in our metrics
commit 06c10dc391220da8e54f0191bef1c9b8b702f651
Author: Samarth Jain <[email protected]>
Date: 2017-07-12T18:48:52Z
PHOENIX-4016 Comment out handler count overrides and reduce number of
forked JVMs in tests
commit 64b9a6c5d5aacb13cd2a0fd65589435f7acd155a
Author: Samarth Jain <[email protected]>
Date: 2017-07-13T00:43:01Z
Revert "PHOENIX-4016 Comment out handler count overrides and reduce number
of forked JVMs in tests"
This reverts commit 06c10dc391220da8e54f0191bef1c9b8b702f651.
commit f2eac858eab64fda3eacf7f6e1b2ab9656bf4cfa
Author: shiwang <[email protected]>
Date: 2017-06-26T06:27:31Z
PHOENIX-3598 Implement HTTP parameter impersonation for PQS
Includes some ITs for PQS by elserj.
Signed-off-by: Josh Elser <[email protected]>
commit 8a34de7a4c74584f5fb3a7ab9aaa64fd6269717b
Author: Samarth Jain <[email protected]>
Date: 2017-07-13T19:53:49Z
PHOENIX-3994 Index RPC priority still depends on the controller factory
property in hbase-site.xml
commit ce52c37f0b22c35a98d50193ed5647e44eb27e0b
Author: Samarth Jain <[email protected]>
Date: 2017-07-14T01:47:02Z
PHOENIX-3947 Increase scan time out for partial index rebuild and retry
only once
commit 3477977f3589e5458013715652953a6aa1697814
Author: Samarth Jain <[email protected]>
Date: 2017-07-14T21:24:35Z
PHOENIX-4024 Renew lease thread names should be unique across various
ConnectionQueryServices instances
commit d541d6f2875a590580e8ccf05f26795083b06658
Author: Samarth Jain <[email protected]>
Date: 2017-07-15T00:56:16Z
PHOENIX-4027 Mark index as disabled during partial rebuild after
configurable amount of time
----
---