Re: SolrJ: ZooKeeper status path & admin requests

2020-03-20 Thread Jan Høydahl
Noble, you are confusing the ZK API with the ZK Status API.

The ZK Status API (/admin/zookeeper/status) is also currently only used by the 
UI, but it delivers a JSON detailing the status of all Zookeepers.
Feel free to make a patch for adding it.
However, we may want to mark the response as experimental/internal until we get 
another round of review/update of the response format. Right now both zk status 
and config are mashed together in the same k/v list which may not be what we 
want to support going forward, when we perhaps move to support ZK AdminServer 
as source of ZK status instead of TCP 4lw.
The API should probably also get its v2 equivalent...

Jan

> 20. mar. 2020 kl. 02:03 skrev Noble Paul :
> 
> The current zookeeper api is not for public consumption. That's specifically 
> designed to be consumed by the admin UI. We don't guarantee to support that 
> api at all. However, we plan to introduce a semi-supported api in the next 
> version of solr (8.6). 
> 
> On Fri, Mar 20, 2020, 01:56 Bram Van Dam  > wrote:
> Hey folks,
> 
> SolrJ's CommonParams.java contains a list of URL paths which are admin
> requests (ADMIN_PATHS). Requests to these paths follow a different route
> in the (Cloud)SolrClient, one where they don't require a "collection"
> property. Which makes sense, after all System Info etc does not relate
> to any individual collection.
> 
> The ZK_STATUS_PATH is conspicuously missing from this list, which means
> it effectively can't queried using SolrJ. The actual path,
> /admin/zookeeper/status, seems to suggest that it is, after all, an
> admin request.
> 
> Is there a reason this is missing? Or shall I open a jira and attach a
> patch? Right now I have to jump through hoops to obtain the ZK status
> info, it'd be much more convenient if I could just use SolrJ.
> 
> Thanks,
> 
>  - Bram
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org 
> 
> For additional commands, e-mail: dev-h...@lucene.apache.org 
> 
> 



Re: Welcome Alessandro Benedetti as a Lucene/Solr committer

2020-03-20 Thread Dawid Weiss
Benvenuto e complimenti, Alessandro. Saluti dalla Polonia!

Dawid

On Wed, Mar 18, 2020 at 2:01 PM David Smiley  wrote:
>
> Hi all,
>
> Please join me in welcoming Alessandro Benedetti as the latest Lucene/Solr 
> committer!
>
> Alessandro has been contributing to Lucene and Solr in areas such as More 
> Like This, Synonym boosting, and Suggesters, and other areas for years.  
> Furthermore he's been a help to many users on the solr-user mailing list and 
> has helped others through his blog posts and presentations about search.  We 
> look forward to his future contributions.
>
> Congratulations and welcome!  It is a tradition to introduce yourself with a 
> brief bio, Alessandro.
>
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



Re: Welcome Alessandro Benedetti as a Lucene/Solr committer

2020-03-20 Thread Shalin Shekhar Mangar
Congratulations and welcome Alessandro!

On Wed, Mar 18, 2020 at 6:31 PM David Smiley 
wrote:

> Hi all,
>
> Please join me in welcoming Alessandro Benedetti as the latest Lucene/Solr
> committer!
>
> Alessandro has been contributing to Lucene and Solr in areas such as More
> Like This, Synonym boosting, and Suggesters, and other areas for years.
> Furthermore he's been a help to many users on the solr-user mailing list
> and has helped others through his blog posts and presentations about
> search.  We look forward to his future contributions.
>
> Congratulations and welcome!  It is a tradition to introduce yourself with
> a brief bio, Alessandro.
>
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley
>


-- 
Regards,
Shalin Shekhar Mangar.


Re: SolrJ: ZooKeeper status path & admin requests

2020-03-20 Thread Noble Paul
--Noble, you are confusing the ZK API with the ZK Status API.

Sorry, I got confused

We should move all our APIs to V2 eventually

On Fri, Mar 20, 2020 at 7:27 PM Jan Høydahl  wrote:
>
> Noble, you are confusing the ZK API with the ZK Status API.
>
> The ZK Status API (/admin/zookeeper/status) is also currently only used by 
> the UI, but it delivers a JSON detailing the status of all Zookeepers.
> Feel free to make a patch for adding it.
> However, we may want to mark the response as experimental/internal until we 
> get another round of review/update of the response format. Right now both zk 
> status and config are mashed together in the same k/v list which may not be 
> what we want to support going forward, when we perhaps move to support ZK 
> AdminServer as source of ZK status instead of TCP 4lw.
> The API should probably also get its v2 equivalent...
>
> Jan
>
> 20. mar. 2020 kl. 02:03 skrev Noble Paul :
>
> The current zookeeper api is not for public consumption. That's specifically 
> designed to be consumed by the admin UI. We don't guarantee to support that 
> api at all. However, we plan to introduce a semi-supported api in the next 
> version of solr (8.6).
>
> On Fri, Mar 20, 2020, 01:56 Bram Van Dam  wrote:
>>
>> Hey folks,
>>
>> SolrJ's CommonParams.java contains a list of URL paths which are admin
>> requests (ADMIN_PATHS). Requests to these paths follow a different route
>> in the (Cloud)SolrClient, one where they don't require a "collection"
>> property. Which makes sense, after all System Info etc does not relate
>> to any individual collection.
>>
>> The ZK_STATUS_PATH is conspicuously missing from this list, which means
>> it effectively can't queried using SolrJ. The actual path,
>> /admin/zookeeper/status, seems to suggest that it is, after all, an
>> admin request.
>>
>> Is there a reason this is missing? Or shall I open a jira and attach a
>> patch? Right now I have to jump through hoops to obtain the ZK status
>> info, it'd be much more convenient if I could just use SolrJ.
>>
>> Thanks,
>>
>>  - Bram
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: dev-h...@lucene.apache.org
>>
>


-- 
-
Noble Paul

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org