Re: SolrZKClient changed interface

2012-11-12 Thread Trym R. Møller
Can anyone verify that the jira has been created sensible? Thanks in advance. https://issues.apache.org/jira/browse/SOLR-4066 Best regards Trym Den 10-11-2012 00:54, Mark Miller skrev: Please file a JIRA issue for this change. - Mark On Nov 9, 2012, at 8:41 AM, Trym R. Møller wrote: Hi T

Re: SolrZKClient changed interface

2012-11-09 Thread Mark Miller
Please file a JIRA issue for this change. - Mark On Nov 9, 2012, at 8:41 AM, Trym R. Møller wrote: > Hi > > The constructor of SolrZKClient has changed, I expect to ensure clean up of > resources. The strategy is as follows: > connManager = new ConnectionManager(...) > try { >... > } catc

Re: SolrZKClient changed interface

2012-11-09 Thread Per Steffensen
Hi Trym I believe one of the reasons that they started throwing RuntimeExceptions insted of UnknownHostException, TimeoutException etc is that the method signature has changed to not have a "throws"-part. They probably do not want do deal with those checked exceptions. Im not sure I completel

SolrZKClient changed interface

2012-11-09 Thread Trym R. Møller
Hi The constructor of SolrZKClient has changed, I expect to ensure clean up of resources. The strategy is as follows: connManager = new ConnectionManager(...) try { ... } catch (Throwable e) { connManager.close(); throw new RuntimeException(); } try { connManager.waitForConnec