Hello again,
After doing a parallel import of a large data set without any index configured (just FYI: I had set mqFeeder enabled=false as that option had tickled me), I tried building an index over my data.
The setup: CDH3b4, hbase and lily with a 3-node zk-quorum, and hbase on a non-standard znode.
First of all, I got an error trying to install this indexer configuration which worked fine on lily-0.2.1 (and on lily-0.3, at least using the lily-provided minicluster):
https://github.com/michaelku/bugzilla_etl/blob/master/configuration/lily/indexer/indexerconf.xml========
[INFO ][10:50:41,648][main ] org.lilyproject.client.LilyClient - Current Lily servers = [
10.2.72.183:42883]
Failed to parse & build the indexer configuration.
If this problem occurs because no Lily node is available
or because certain field types or record types do not exist,
then you can skip this validation using the option --force
Indexer configuration: Error in the configuration.
null
null
========
After that, I retried it using "--force" and got the index to install.
When I updated the index to request a rebuild using map-reduce, it got stuck in this state:
========
Number of indexes: 1
development
+ General state: ACTIVE
+ Update state: SUBSCRIBE_AND_LISTEN
+ Batch build state: BUILD_REQUESTED
+ Queue subscription ID: IndexUpdater_development
+ SOLR shards:
+ development_1: http://[host]:1337/solr/
========
From there, it does not seem to progress. I can find no errors in the jobtracker logs or in the lily logs.
Also, I cannot update the index to the DELETE_REQUESTED state:
========
org.lilyproject.indexer.model.api.IndexUpdateException: Cannot move index build state from BUILD_REQUESTED to BUILD_REQUESTED
at org.lilyproject.indexer.model.impl.IndexerModelImpl.updateIndex(IndexerModelImpl.java:248)
at org.lilyproject.indexer.admin.cli.UpdateIndexCli.run(UpdateIndexCli.java:103)
at org.lilyproject.cli.BaseCliTool.runBase(BaseCliTool.java:158)
at org.lilyproject.cli.BaseCliTool.start(BaseCliTool.java:50)
at org.lilyproject.indexer.admin.cli.UpdateIndexCli.main(UpdateIndexCli.java:34)
========
I should mention that the first full rebuild I attempted failed because of wrong permissions in our hadoop setup.
Getting stuck, I manually deleted that index configuration from zookeeper before trying another rebuild. That got stuck again without error messages then.
Which also makes me wonder, is there a safe way to "reset" the lily state in zk?
Thanks for your help, have a nice Weekend!
Michael