[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13768474#comment-13768474
 ] 

ASF subversion and git services commented on SOLR-5241:
---

Commit 1523725 from hoss...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1523725 ]

SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13768478#comment-13768478
 ] 

ASF subversion and git services commented on SOLR-5241:
---

Commit 1523726 from hoss...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1523726 ]

SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups 
(merge r1523725)

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-14 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767404#comment-13767404
 ] 

Dawid Weiss commented on SOLR-5241:
---

While I appreciate Hoss's solution I think what Robert said -- we should get to 
the bottom of this problem, this difference in runtime is not easily explained 
and it may lead to a bigger can of worms.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-14 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767411#comment-13767411
 ] 

Uwe Schindler commented on SOLR-5241:
-

Hi,
as I said in response to Shai's e-mail: The problem may indeed be related to 
the security policy. To check if a connection is allowed, the security manager 
has to resolve dns. As this gets a not found or whatever error, it will not 
throw a security exception. This also explains why there is a runtime env 
difference: With Eclipse the security manager is not used, with ANT it is.
The fix should be not to use hostnames for invalid URLs and use the same 
strategy like in Solr Cloud tests: Use a non-routeable IPv6 address. To me the 
problem is exactly what Robert and I thought is the reason.

See BaseDistributedTestCase:
{code:java}
this.deadServers = new String[] {[ff01::114]:2 + context, 
 [ff01::083]:2 + context, 
 [ff01::213]:2 + context};
{code}

Please use these URLs and the problem should be gone. Real DNS names out of our 
control are bad to emulate failures. What happens if soebody links example.com 
to real IP adresses?

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-14 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767421#comment-13767421
 ] 

Uwe Schindler commented on SOLR-5241:
-

From analyzing the test:
The main probelm is just the DNS resolve. We can really use any IP (IPv6 or 
IPv4) here, because the stream handler never actually connects to anywhere. 
Theoretically we could also use 127.0.0.1, the blackhole is not related here, 
because it just looks up hostnames. The actual connection is prevented by the 
stream handler. So finally we can use any numeric IP, just no host name.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-14 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767484#comment-13767484
 ] 

Dawid Weiss commented on SOLR-5241:
---

Thanks Uwe.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766823#comment-13766823
 ] 

Hoss Man commented on SOLR-5241:


I don't think so, but maybe i don't fully understand what the FreeBSD blackhole 
does.

The test never attempts to open any sockets to these URL objects -- the problem 
so far (that i can see) is just that by nature of being java.net.URL, there is 
a DNS check when the equals/hashCode methods get used and that seems to be the 
speed problem when the urls contain example.com ... so i figured using a 
safe IP would prevent that...

http://www.eishay.com/2008/04/javas-url-little-secret.html

is there any reason the freebsd blackhole would affect dns lookups on 
127.42.42.42 even if the URL class did decide to try to resolve that IP as 
a hostname (i don't think it does) ?

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766827#comment-13766827
 ] 

Hoss Man commented on SOLR-5241:


bq. maybe that fake:// protocol handler is actually a sensible idea for such 
tests.

I'm not sure, but i think the URL class would still try to resolve the hostname 
portion of the URL, even if we registered our own fake protocol.

---

I really don't see how the blackhole could affect this even if it did block dns 
lookups, since no lookup should ever happen with an ip specified, but if it 
does then i think the whole test just needs re-written not to use the URL class.


 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766844#comment-13766844
 ] 

Robert Muir commented on SOLR-5241:
---

and if you really just need a URL, why not use file://

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766818#comment-13766818
 ] 

Dawid Weiss commented on SOLR-5241:
---

Yeah... maybe that fake:// protocol handler is actually a sensible idea for 
such tests.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766835#comment-13766835
 ] 

Dawid Weiss commented on SOLR-5241:
---

I'd have to check, I don't remember. Looking at this it seems you could write a 
custom parsing routine --
http://docs.oracle.com/javase/7/docs/api/java/net/URLStreamHandler.html#parseURL(java.net.URL,
 java.lang.String, int, int)

but this may be an overkill.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766811#comment-13766811
 ] 

Robert Muir commented on SOLR-5241:
---

Won't this still be an issue for jenkins runs because even loopback addresses 
are blackholed?


 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766840#comment-13766840
 ] 

Robert Muir commented on SOLR-5241:
---

why is it trying to resolve the host? Is it so that it can then try to connect 
to it and the test expects that this will fail?

Its the latter part that will cause the issue: use ips like [ff01::114] instead.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Shai Erera (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13766874#comment-13766874
 ] 

Shai Erera commented on SOLR-5241:
--

With this patch, the test runs for 1.8-3.2s (varies, but *much* faster than 
before).

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767328#comment-13767328
 ] 

Robert Muir commented on SOLR-5241:
---

{quote}
I've got no problem doing that if you think it makes a diff – but just so i 
understand: can you explain why that is better then 127.42.42.42 ?
{quote}

its specifically allocated for test purposes and wont be routed if something 
tries to make a connection, and will fail fast with protocol not supported, or 
worst case no route to host... everywhere, not just jenkins.

in jenkins specifically, tests can *never* try to connect to an unbound port 
and expected a connection refused, it will just hang for a huge amount of time 
until it finally times out.



 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Shai Erera (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767351#comment-13767351
 ] 

Shai Erera commented on SOLR-5241:
--

This still runs fast, but a bit slower than with the previous patch: 5s from 
Ant. However, with this patch (I haven't checked previous patch), Eclipse runs 
faster than before: 0.1s (vs 1s). I'll try to get to the bottom of it, though 
let's commit this (or previous) patch, because it's already a huge improvement.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Shai Erera (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767367#comment-13767367
 ] 

Shai Erera commented on SOLR-5241:
--

Hoss, see my comments on the thread. Seems to be related to our tests.policy 
security settings. I don't mind if you commit the patch, but maybe if there's a 
simple solution, we don't need to change the test.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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



[jira] [Commented] (SOLR-5241) SimplePostToolTest is slow on some systmes - likely due to hostname resolution of example.com

2013-09-13 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5241?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13767368#comment-13767368
 ] 

Robert Muir commented on SOLR-5241:
---

if the test violates the security settings, then SecurityException would be 
thrown.

So maybe there is a bug in the solr code hiding/masking exceptions.

 SimplePostToolTest is slow on some systmes - likely due to hostname 
 resolution of example.com
 ---

 Key: SOLR-5241
 URL: https://issues.apache.org/jira/browse/SOLR-5241
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Hoss Man
 Attachments: SOLR-5241.patch, SOLR-5241.patch


 As noted by Shai on the dev @lucene list, SimplePostToolTest is ridiculously 
 slow when he ran from ant, but only takes 1 second in his IDE.
 problem seems to be relate to the URL class attempting to response 
 example.com

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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