apache phoenix填充异步索引表

时间:2019-08-27 13:02:42

标签: phoenix

我从文档中读取到可以异步创建索引。

使用ASYNC关键字创建索引后,然后启动MapReduce作业以 填充索引。

${HBASE_HOME}/bin/hbase org.apache.phoenix.mapreduce.index.IndexTool

-模式MY_SCHEMA-数据表MY_TABLE-索引表ASYNC_IDX    --output-path ASYNC_IDX_HFILES

我的问题:

-output-path的值(与ASYNC_IDX_HFILES一样)可以位于hdfs或Disk的任何位置吗? 还是必须匹配或必须不匹配hdfs中的HBase表路径?

i使用此命令:

hbase org.apache.phoenix.mapreduce.index.IndexTool  --data-table ALITEST_FUCK_UPPERCASE --index-table ASYNC_INDEX_ALITEST_FUCK_UPPERCASE --output-path "/home/ali/"  

但是我遇到这个错误:‌

enter image description here

0 个答案:

没有答案