lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Gross <cogr...@gmail.com>
Subject Re: HTTPS for SolrCloud
Date Tue, 02 Sep 2014 15:21:09 GMT
Getting closer.

I can at least get the file to be there, but I can't figure out what to put
into it.
I make a "clusterprops.json" file, and its had:
{ "urlScheme": "https" }
{ \"urlScheme\": \"https\" }
{ \\"urlScheme\\": \\"https\\" }

Which gets loaded in like this:
./zkCli.sh -zkhost localhost:2181 -cmd put /cluserprops.json "`cat
./clusterprops.json`"
(and I've also tried just pushing those above values within the zkCli app
to no avail)

I always get a message like this:
Caused by: org.noggit.JSONParser$ParseException: Expected string:
char=\,position=1 BEFORE='{\' AFTER='"urlScheme\":\"https\"}'

I'm not getting a whole lot on searches for "clusterprops.json" -- any
advice would be appreciated.


-- Chris


On Tue, Sep 2, 2014 at 8:59 AM, Christopher Gross <cogross@gmail.com> wrote:

> Solr 4.8.1
> Java 1.7
> Tomcat 7.0.50
> Zookeeper 3.4.6
>
> Trying to get a SolrCloud running with https only.  I found this:
> https://issues.apache.org/jira/browse/SOLR-3854
>
> I don't have a clusterprops.json file, and running the zkCli command
> doesn't add one either.
> Command is along the lines of:
> ./zkCli.sh -zkhost host:port -cmd put /clusterprops.json
> '{"urlScheme":"https"}'
> (run from the zookeeper/bin directory).
>
> I've done some googling, but I can't seem to figure out what I'm doing
> wrong.  I'm not getting an error message when doing the command.
>
> Any ideas?  Thanks.
>
> -- Chris
>

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