【发布时间】:2016-02-10 14:05:57
【问题描述】:
我按照文档,在 Phoenix 4.2 中创建:
CREATE VIEW "t20" ( pk VARCHAR PRIMARY KEY, "f2"."name" VARCHAR );
然后创建一个索引:
create index idx on "t20" ("name");
(引用或取消引用的结果相同)
得到:
ERROR 1029 (42Y88): Mutable secondary indexes must have the hbase.regionserver.wal.codec property set to org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec in the hbase-sites.xml
现在我在尝试创建索引之前到处更改了这个属性:在 Ambari 高级配置上,直接在 /etc/hbase/conf/hbase-site.xml 中,在 phoenix 的 hbase-site.xml 中。
仍然是相同的错误消息。有什么想法吗?
【问题讨论】:
标签: hbase hortonworks-data-platform phoenix