Re: Possible to avoid hangs in org.apache.solr.handler.admin.SystemInfoHandler

2015-08-06 Thread Robert Krüger
Created SOLR-7884 and attached a patch. On Thu, Aug 6, 2015 at 10:25 AM, Robert Krüger wrote: > Thanks for the instructions. I will do that. > > Cheers, > > Robert > > On Wed, Aug 5, 2015 at 9:50 PM, Erick Erickson > wrote: > >> Robert: >> >> Just create a JIRA and submit it. It would be great

Re: Possible to avoid hangs in org.apache.solr.handler.admin.SystemInfoHandler

2015-08-06 Thread Robert Krüger
Thanks for the instructions. I will do that. Cheers, Robert On Wed, Aug 5, 2015 at 9:50 PM, Erick Erickson wrote: > Robert: > > Just create a JIRA and submit it. It would be great if there were a > test that illustrated this, but I'm not sure how that would be > written. See: https://wiki.apac

Re: Possible to avoid hangs in org.apache.solr.handler.admin.SystemInfoHandler

2015-08-05 Thread Erick Erickson
Robert: Just create a JIRA and submit it. It would be great if there were a test that illustrated this, but I'm not sure how that would be written. See: https://wiki.apache.org/solr/HowToContribute for the general bits on checking out code, creating and attaching patches and the like. Note that t

Re: Possible to avoid hangs in org.apache.solr.handler.admin.SystemInfoHandler

2015-08-05 Thread Robert Krüger
Just to follow up on this: Replacing getCanonicalHostName() by getHostName() would solve the problem AFAICS and e.g. Logback does exactly that for exactly the same purpose. http://logback.qos.ch/xref/ch/qos/logback/core/util/ContextUtil.html How do I submit a patch? Via this mailing list? Best r

Possible to avoid hangs in org.apache.solr.handler.admin.SystemInfoHandler

2015-08-05 Thread Robert Krüger
Hi, I am tracking down a problem with huge startup delays of a solr instance and tracked it down to this code in SystemInfoHandler: private void init() { try { InetAddress addr = InetAddress.getLocalHost(); hostname = addr.getCanonicalHostName();