lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <ans...@anshumgupta.net>
Subject Re: HTTPS for SolrCloud
Date Thu, 04 Sep 2014 19:28:58 GMT
I'm just curious, do you know why the CREATE failed for you?


On Thu, Sep 4, 2014 at 12:21 PM, Christopher Gross <cogross@gmail.com>
wrote:

> The DELETE from the collections API does get rid of it.  Guess I glossed
> over on that when I was looking over that section.
>
> Still -- if the CREATE fails, I don't think it should create anything that
> you'd need to go back and DELETE.
>
> Thanks Anshum.
>
> -- Chris
>
>
> On Thu, Sep 4, 2014 at 3:02 PM, Anshum Gupta <anshum@anshumgupta.net>
> wrote:
>
> > Chris,
> >
> > Did you try the Collections API to do whatever you're trying to do? 1.
> > Create collection and 2. Delete collection.
> >
> >
> https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api6
> >
> > The collection APIs cleanup things if stuff goes wrong. As I don't know,
> > I'm not sure about it but did you already try it and things didn't
> > work/clean up for you? If that's the case, was there an error that you
> > noticed?
> >
> >
> >
> > On Thu, Sep 4, 2014 at 4:45 AM, Christopher Gross <cogross@gmail.com>
> > wrote:
> >
> > > Shawn,
> > > How do I remove a collection from the SolrCloud?  I tried making
> > > "testcollection" and it failed, but now it is listed on the Graph part
> of
> > > the Cloud page for my Solr instances.  I tried using the "delete" on
> > zkCli
> > > but it still remains on that page.  The only reliable thing that I've
> > found
> > > is to wipe out the version-2 for all the zookeepers, restart them, then
> > > reload my configs back in.
> > >
> > > Thanks!
> > >
> > > -- Chris
> > >
> > >
> > > On Thu, Sep 4, 2014 at 4:12 AM, Shawn Heisey <solr@elyograg.org>
> wrote:
> > >
> > > > On 9/2/2014 11:44 AM, Christopher Gross wrote:
> > > > > OK -- so I think my previous attempts were causing the problem.
> > > > > Since this is a dev environment (and is still empty), I just went
> > ahead
> > > > and
> > > > > wiped out the "version-2" directories for the zookeeper nodes,
> > reloaded
> > > > my
> > > > > solr collections, then ran that command (zkcli.sh in the solr
> > distro).
> > > > > That did work.  What is a reliable way to remove a file from
> > Zookeeper?
> > > >
> > > > The zkcli that comes with zookeeper itself is really good for
> removing
> > > > things.  It's not easy for a beginner to use, though.
> > > >
> > > > There is also at least one GUI option.  The only one that I've used
> is
> > > > zookeeper client plugin for eclipse, because I use eclipse for other
> > > > things.  It can be a little hard to figure out, but once you do, it's
> > > > very useful for looking at and modifying zookeeper:
> > > >
> > > >
> > > >
> > >
> >
> http://www.massedynamic.org/mediawiki/index.php?title=Eclipse_Plug-in_for_ZooKeeper
> > > >
> > > > Thanks,
> > > > Shawn
> > > >
> > > >
> > >
> >
> >
> >
> > --
> >
> > Anshum Gupta
> > http://www.anshumgupta.net
> >
>



-- 

Anshum Gupta
http://www.anshumgupta.net

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message