Just pushing up the entire configset would be easiest, but the
Zookeeper command line tools allow you to push up a single
file if you want.

Yeah, it puzzles me too that the import worked yesterday, not really
sure what happened, the file shouldn't just disappear....

Erick

On Sat, Sep 19, 2015 at 2:46 PM, Ravi Solr <ravis...@gmail.com> wrote:
> Thank you for the prompt response Erick. I did a full-import yesterday, you
> are correct that I did not push dataimport.properties to ZK, should it have
> not worked even for a full import ?. You may be right about 'clean' option,
> I will reindex again today. BTW how do we push a single file to a specific
> config name in zookeeper ?
>
>
> Thanks,
>
> Ravi Kiran Bhaskar
>
>
> On Sat, Sep 19, 2015 at 1:48 PM, Erick Erickson <erickerick...@gmail.com>
> wrote:
>
>> Could not read DIH properties from
>> /configs/sitesearchcore/dataimport.properties
>>
>> This looks like somehow you didn't push this file up to Zookeeper. You
>> can check what files are there in the admin UI. How you indexed
>> yesterday is a mystery though, unless somehow this file was removed
>> from ZK.
>>
>> As for why you lost all the docs, my suspicion is that you have the
>> clean param set up for delta import....
>>
>> FWIW,
>> Erick
>>
>> On Sat, Sep 19, 2015 at 10:36 AM, Ravi Solr <ravis...@gmail.com> wrote:
>> > I am facing a weird problem. As part of upgrade from 4.7.2 (Master-Slave)
>> > to 5.3.0 (Solrcloud) I re-indexed 1.5 million records via DIH using
>> > SolrEntityProcessor yesterday, all of them indexed properly. Today
>> morning
>> > I just ran the DIH again with delta import and I lost all docs...what am
>> I
>> > missing ? Did anybody face similar issue ?
>> >
>> > Here are the errors in the logs
>> >
>> > 9/19/2015, 2:41:17 AM ERROR null SolrCore Previous SolrRequestInfo was
>> not
>> > closed!
>> > req=waitSearcher=true&distrib.from=
>> http://10.128.159.32:8983/solr/sitesearchcore/&update.distrib=FROMLEADER&openSearcher=true&commit=true&wt=javabin&expungeDeletes=false&commit_end_point=true&version=2&softCommit=false
>> > 9/19/2015,
>> > 2:41:17 AM ERROR null SolrCore prev == info : false 9/19/2015, 2:41:17 AM
>> > WARN null ZKPropertiesWriter Could not read DIH properties from
>> > /configs/sitesearchcore/dataimport.properties :class
>> > org.apache.zookeeper.KeeperException$NoNodeException
>> >
>> > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode
>> > = NoNode for /configs/sitesearchcore/dataimport.properties
>> >         at
>> org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>> >         at
>> org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>> >         at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>> >         at
>> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:349)
>> >         at
>> org.apache.solr.handler.dataimport.ZKPropertiesWriter.readIndexerProperties(ZKPropertiesWriter.java:91)
>> >         at
>> org.apache.solr.handler.dataimport.ZKPropertiesWriter.persist(ZKPropertiesWriter.java:65)
>> >         at
>> org.apache.solr.handler.dataimport.DocBuilder.finish(DocBuilder.java:307)
>> >         at
>> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:253)
>> >         at
>> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:416)
>> >         at
>> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:480)
>> >         at
>> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:461)
>> >
>> > 9/19/2015, 11:16:43 AM ERROR null SolrCore Previous SolrRequestInfo was
>> not
>> > closed!
>> > req=waitSearcher=true&distrib.from=
>> http://10.128.159.32:8983/solr/sitesearchcore/&update.distrib=FROMLEADER&openSearcher=true&commit=true&wt=javabin&expungeDeletes=false&commit_end_point=true&version=2&softCommit=false
>> > 9/19/2015,
>> > 11:16:43 AM ERROR null SolrCore prev == info : false
>> >
>> >
>> >
>> > Thanks
>> >
>> > Ravi Kiran Bhaskar
>>

Reply via email to