Re: SSL using CloudSolrClient

2021-02-03 Thread ChienHuaWang
Thanks for the information. 

Could you advise whether CloudSolrClient is compatible with non-TLS? even
client is not configure, it can still connect to Solr (TLS enabled)?  



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


SSL using CloudSolrClient

2021-02-03 Thread ChienHuaWang
Hi,

I am implementing SSL between Solr and Client communication. The clients
connect to Solr via CloudSolrClient

According to  doc

 
, the passwords should also be set in clients.
However, in testing, client is still working well without any change but
with SSL enabling in Solr (passwords are setup)

Is this the expected behavior?  Could anyone share the experience, and
advise how to verify SSL?   
Appreciate any feedback.



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: replica deleted but directory remains

2020-07-07 Thread ChienHuaWang
Hi Erick,

I also have issue about deleting collections or replicas but the data is
still in directory.
It not show in admin UI, but data is still in folder and the disk is not
clean.
Not observing specific error message, could you please advise any other
possible reason to fix this?

Regards,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: solrj - get metrics from all nodes

2020-07-02 Thread ChienHuaWang
Thanks for Jan's response.

I tried to set this "nodes" parameter by ModifiableSolrParams. But the null
is return from GenericSolrRequest. 
Could anyone advise the best approach to setup this parameter for multiple
nodes? 


Thanks,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: solrj - get metrics from all nodes

2020-06-30 Thread ChienHuaWang
Hi Jan,

Thanks for the response.
Could you please share more detail how you request the metric with multiple
nodes same time?
I do something as below, but only get one node info, the data I'm interested
most is, ex: CONTAINER.fs.totalSpace, CONTAINER.fs.usableSpace. etc..


solr/admin/metrics?group=node=node1_name,node2_name




--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: solrj - get metrics from all nodes

2020-06-27 Thread ChienHuaWang
For people who is also looking for the solution - you can append
"node=node_name" in metrics request to get specific data of node. 
If anyone know how to get the data if all the nodes together, please kindly
share, thanks.


Regards,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: solrj - get metrics from all nodes

2020-06-25 Thread ChienHuaWang
I observed the exactly same thing - the metrics for only one node. 
Looking for the solution to get the metrics of all the nodes.
Could anyone advice?

Thanks,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Solr 8.5.1 cannot add replica using solr admin UI

2020-06-24 Thread ChienHuaWang
Use Solr 8.5.1, no issue to add replica/collection from my side.
What's the step you use? and for sure logs would be helpful



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Retrieve disk usage & release disk space after delete

2020-06-23 Thread ChienHuaWang
Q1: I'm looking for the disk usage data in Solr admin - Solr Cloud/Nodes. Any
way to get the Node data in table thru API call?

Q2: Thanks for helpful information about deleting the data. 
The main issue I have now is for deleting collections, even if I delete by
admin UI, this suppose not to hang around in data dirs? not observing
specific error message so far, anything could induce? 

Regards,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Retrieve disk usage & release disk space after delete

2020-06-23 Thread ChienHuaWang
Hi Solr users,

Q1: Wondering if there is any way to retrieve disk usage by host? Could we
get thru metrics API or any other methods? I know the data shows in Solr
Admin UI, but have other approach for this kind of data.

Q2: 
After delete the collections, it seems not physically removed from the disk.
Did the research, someone suggest to run an optimize which re-writes the
index out to disk without the deleted documents, then deletes the original. 
Is there any other way to do clean up without re-writes the index? have to
manually clean up now, and look for better approach

Appreciate your feedback.


Regards,
Chien





--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Use case of UTILIZENODE API

2020-06-19 Thread ChienHuaWang
For someone who is interested in this API

It seems a known issue that UTILIZENODE does not enforce policy rules as
found in Jira
https://issues.apache.org/jira/browse/SOLR-12050

Please feel free to comment.



Regards,
Chien



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Use case of UTILIZENODE API

2020-06-10 Thread ChienHuaWang


While exploring the UTILIZENODE API to move replicas, it would depend on the
preferences & autoscaling policies defined.
But wondering what's the priority for its decision? Let's say I define
maximize freedisk & minimize heapUsage, and also set-cluster-policy as
example in doc. {"replica": "<2", "shard": "#EACH", "node": "#ANY"}
 
Would it check violation first? How it pick replica to delete and add?
Sometimes I observed "No node can satisfy the rules", even I tried to move
to a new node.

If I want to rebalance for new/existing node, what's the best approach? It
seems I have limited control of UTILIZENODE API, would this be suggested to
use in production? 

Appreciate if anyone can share the use case of UTILIZENODE API to move
replicas.




--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Secure communication between Solr and Zookeeper

2020-05-14 Thread ChienHuaWang
Hi Jan,
Could you provide more detail what are the steps to setup between zookeeper
& Solr?



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Solr TLS for CDCR

2020-05-14 Thread ChienHuaWang
Does anyone have experience to setup TLS for Solr CDCR?

I read the documentation:
https://lucene.apache.org/solr/guide/7_6/enabling-ssl.html
Would this apply to CDCR once enable? or we need additional configuration
for CDCR?

Appreciate any feedback




--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Secure communication between Solr and Zookeeper

2020-05-10 Thread ChienHuaWang
Hi Jan,

Could you advise more detail in step by step how we setup between Solr &
Zookeeper?
Do we need to put jetty-all.jar of Zookeeper 3.5.5 to the classpath of Solr?
or it has been taken care? 
What's the configuration we need for SSL-enabled Zookeeper to communicate
with Solr? 



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Secure communication between Solr and Zookeeper

2020-05-10 Thread ChienHuaWang
Hi,
Does anyone figure how to handle the TLS between Solr and Zookeeper?
>From Solr doc, I only find the Solr internal communication, no specific
detail about how zookeeper should be handled. 
Appreciate any suggestion, thanks.



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html


How upgrade to Solr 8 impact performance

2020-04-15 Thread ChienHuaWang
Do anyone have experience to upgrade the application with Solr 7.X to 8.X?
How's the query performance? 
Found out a little slower response time from application with Solr8 based on
current measurement, still looking into more detail it. 
But wondering is any one have similar experience? is that something we
should expect for Solr 8.X? 

Please kindly share, thanks.

Regards,
ChienHua



--
Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html