Re: Fwd: Pylucene jvm CharArraySet Error

2014-10-18 Thread Andi Vajda


On Sat, 18 Oct 2014, Alexander Alex wrote:


The init file in the pylucene egg. Below is it:


import os, sys

if sys.platform == 'win32':
 from jcc.windows import add_jvm_dll_directory_to_path
 add_jvm_dll_directory_to_path()
 import jcc, _lucene
else:
 import _lucene

__dir__ = os.path.abspath(os.path.dirname(__file__))

class JavaError(Exception):
 def getJavaException(self):
   return self.args[0]
 def __str__(self):
   writer = StringWriter()
   self.getJavaException().printStackTrace(PrintWriter(writer))
   return \n.join((super(JavaError, self).__str__(), Java
stacktrace:, str(writer)))

class InvalidArgsError(Exception):
 pass

_lucene._set_exception_types(JavaError, InvalidArgsError)

VERSION = 3.6.2
CLASSPATH = [os.path.join(__dir__, lucene-core-3.6.2.jar),
os.path.join(__dir__, lucene-analyzers-3.6.2.jar), os.path.join(__dir__,
lucene-memory-3.6.2.jar), os.path.join(__dir__,
lucene-highlighter-3.6.2.jar), os.path.join(__dir__, extensions.jar),
os.path.join(__dir__, lucene-queries-3.6.2.jar), os.path.join(__dir__,
lucene-grouping-3.6.2.jar), os.path.join(__dir__,
lucene-join-3.6.2.jar), os.path.join(__dir__, lucene-facet-3.6.2.jar),
os.path.join(__dir__, lucene-spellchecker-3.6.2.jar)]
CLASSPATH = os.pathsep.join(CLASSPATH)
_lucene.CLASSPATH = CLASSPATH
_lucene._set_function_self(_lucene.initVM, _lucene)

from _lucene import *


Thanks. This looks like the vanilla __init__.py file in the pylucene egg.
I see no modifications from you for, I quote path of the dependencies to 
classpath in the init.py file.


To be sure there is no misunderstanding here, this is what I understand from 
you so far:

  - you downloaded, built and installed PyLucene 3.6.2
(with what Python version and what Java version ?)
  - you then compiled a new class and added it to two JAR files,
lucene-core-3.6.2.jar and lucene-analyzers-3.6.2.jar
(with that Java version ?, why did you modify two JAR files ?
 why not create your own JAR file with your extra stuff ?)
  - you then edited __init__.py to reflect this change but I don't see
any change in the file you pasted nor why the change is needed if you
just modified existing JAR files (in the right location, inside the
PyLucene egg, right ?)
  - you did not rebuild PyLucene itself after making any of these changes

If this mental picture is correct then this is not the right way to go about 
it. The proper way to modify Lucene Core and then PyLucene is to:

  - compile and build your new classes using the same version of Java (and
Lucene)
  - create a new JAR file containing your extra stuff
  - test that it all works with a simple Java program that uses Lucene core
and your new code together
  - _then_ rebuild PyLucene including your new JAR file either by:
 - adding it to the list of JAR files being wrapped by JCC via --jar
   in the PyLucene Makefile
 - OR pass it to JCC via --include instead so that it just becomes part
   of the new PyLucene egg (ensuring it being inside the egg and on the
   classpath but no Python wrappers for it are generated)

To get command line argument help from JCC run python -m jcc --help (or 
whatever the correct invocation is for your version of Python).


Andi..


On Sat, Oct 18, 2014 at 12:29 AM, Andi Vajda va...@apache.org wrote:



On Sat, 18 Oct 2014, Alexander Alex wrote:

 ok. I built the class files for the java files attached herein, add them

to
lucene-core-3.6.2.jar at org.apache.lucene.analysis and
lucene-analyzers-3.6.2.jar at org.apache.lucene.analysis. I then added the
path of the dependencies to classpath in the init.py file.



What init.py file ?
Can you paste the contents of that file here, please ?

Andi..


 I ran the

typical index file using this customized analyzer through PythonAnalyzer
and got the above error. Meanwhile, I had earlier ran the index file using
standard analyzer before adding the classes and it worked. After running
the index file with the customized analyzer failed, I tried again with the
standard analyzer which had earlier worked before adding the classes but
failed this time around with same error message as above. I guess the
problem has to do with array compatibility in java and python but I don't
really know. Thanks.



On Fri, Oct 17, 2014 at 7:23 PM, Andi Vajda va...@apache.org wrote:



On Fri, 17 Oct 2014, Alexander Alex wrote:

 Meanwhile, am using lucene 3.6.2 version. The problem is jvm
instantiation


from any python code using lucene caused as a result of the classes I
added
to lucene core.

-- Forwarded message --

I added a customized lucene analyzer class to lucene core in Pylucene.



Please explain in _detail_ the steps you followed to accomplish this.
A log of all the commands you ran would be ideal.

Thanks !

Andi..


 This class is google guava as a dependency because of the array handling


function available in com.google.common.collect.Iterables in guava.
When
I tried to index using this analyzer, I 

Re: Fwd: Pylucene jvm CharArraySet Error

2014-10-18 Thread Alexander Alex
Thanks Andi. am going to try these suggestions out.

On Sat, Oct 18, 2014 at 9:55 PM, Andi Vajda va...@apache.org wrote:


 On Sat, 18 Oct 2014, Alexander Alex wrote:

  The init file in the pylucene egg. Below is it:


 import os, sys

 if sys.platform == 'win32':
  from jcc.windows import add_jvm_dll_directory_to_path
  add_jvm_dll_directory_to_path()
  import jcc, _lucene
 else:
  import _lucene

 __dir__ = os.path.abspath(os.path.dirname(__file__))

 class JavaError(Exception):
  def getJavaException(self):
return self.args[0]
  def __str__(self):
writer = StringWriter()
self.getJavaException().printStackTrace(PrintWriter(writer))
return \n.join((super(JavaError, self).__str__(), Java
 stacktrace:, str(writer)))

 class InvalidArgsError(Exception):
  pass

 _lucene._set_exception_types(JavaError, InvalidArgsError)

 VERSION = 3.6.2
 CLASSPATH = [os.path.join(__dir__, lucene-core-3.6.2.jar),
 os.path.join(__dir__, lucene-analyzers-3.6.2.jar), os.path.join(__dir__,
 lucene-memory-3.6.2.jar), os.path.join(__dir__,
 lucene-highlighter-3.6.2.jar), os.path.join(__dir__, extensions.jar),
 os.path.join(__dir__, lucene-queries-3.6.2.jar), os.path.join(__dir__,
 lucene-grouping-3.6.2.jar), os.path.join(__dir__,
 lucene-join-3.6.2.jar), os.path.join(__dir__, lucene-facet-3.6.2.jar),
 os.path.join(__dir__, lucene-spellchecker-3.6.2.jar)]
 CLASSPATH = os.pathsep.join(CLASSPATH)
 _lucene.CLASSPATH = CLASSPATH
 _lucene._set_function_self(_lucene.initVM, _lucene)

 from _lucene import *


 Thanks. This looks like the vanilla __init__.py file in the pylucene egg.
 I see no modifications from you for, I quote path of the dependencies to
 classpath in the init.py file.

 To be sure there is no misunderstanding here, this is what I understand
 from you so far:
   - you downloaded, built and installed PyLucene 3.6.2
 (with what Python version and what Java version ?)
   - you then compiled a new class and added it to two JAR files,
 lucene-core-3.6.2.jar and lucene-analyzers-3.6.2.jar
 (with that Java version ?, why did you modify two JAR files ?
  why not create your own JAR file with your extra stuff ?)
   - you then edited __init__.py to reflect this change but I don't see
 any change in the file you pasted nor why the change is needed if you
 just modified existing JAR files (in the right location, inside the
 PyLucene egg, right ?)
   - you did not rebuild PyLucene itself after making any of these changes

 If this mental picture is correct then this is not the right way to go
 about it. The proper way to modify Lucene Core and then PyLucene is to:
   - compile and build your new classes using the same version of Java (and
 Lucene)
   - create a new JAR file containing your extra stuff
   - test that it all works with a simple Java program that uses Lucene core
 and your new code together
   - _then_ rebuild PyLucene including your new JAR file either by:
  - adding it to the list of JAR files being wrapped by JCC via --jar
in the PyLucene Makefile
  - OR pass it to JCC via --include instead so that it just becomes part
of the new PyLucene egg (ensuring it being inside the egg and on the
classpath but no Python wrappers for it are generated)

 To get command line argument help from JCC run python -m jcc --help (or
 whatever the correct invocation is for your version of Python).

 Andi..


  On Sat, Oct 18, 2014 at 12:29 AM, Andi Vajda va...@apache.org wrote:


 On Sat, 18 Oct 2014, Alexander Alex wrote:

  ok. I built the class files for the java files attached herein, add them

 to
 lucene-core-3.6.2.jar at org.apache.lucene.analysis and
 lucene-analyzers-3.6.2.jar at org.apache.lucene.analysis. I then added
 the
 path of the dependencies to classpath in the init.py file.


 What init.py file ?
 Can you paste the contents of that file here, please ?

 Andi..


  I ran the

 typical index file using this customized analyzer through PythonAnalyzer
 and got the above error. Meanwhile, I had earlier ran the index file
 using
 standard analyzer before adding the classes and it worked. After running
 the index file with the customized analyzer failed, I tried again with
 the
 standard analyzer which had earlier worked before adding the classes but
 failed this time around with same error message as above. I guess the
 problem has to do with array compatibility in java and python but I
 don't
 really know. Thanks.



 On Fri, Oct 17, 2014 at 7:23 PM, Andi Vajda va...@apache.org wrote:


  On Fri, 17 Oct 2014, Alexander Alex wrote:

  Meanwhile, am using lucene 3.6.2 version. The problem is jvm
 instantiation

  from any python code using lucene caused as a result of the classes I
 added
 to lucene core.

 -- Forwarded message --

 I added a customized lucene analyzer class to lucene core in Pylucene.


  Please explain in _detail_ the steps you followed to accomplish this.
 A log of all the commands you ran would be 

[jira] [Commented] (SOLR-6474) Smoke tester should use the Solr start scripts to start Solr

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6474:
-

This is lucene smoke test or solr? 
Other the smoke tester, how about updating all the references of starting solr 
java -jar start.jar with start script  in SOLR-3617?

 Smoke tester should use the Solr start scripts to start Solr
 

 Key: SOLR-6474
 URL: https://issues.apache.org/jira/browse/SOLR-6474
 Project: Solr
  Issue Type: Task
  Components: scripts and tools
Reporter: Shalin Shekhar Mangar
  Labels: difficulty-easy, impact-low
 Fix For: 5.0


 We should use the Solr bin scripts created by SOLR-3617 in the smoke tester 
 to test Solr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (LUCENE-6007) Failed attempt of downloading javax:activation javadoc

2014-10-18 Thread Ilia Sretenskii (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14175885#comment-14175885
 ] 

Ilia Sretenskii commented on LUCENE-6007:
-

Unfortunately I can not help you with that, guys.
My experience is limited with [Apache Maven|http://maven.apache.org/] and I 
honestly have no idea about how [Apache Ant|http://ant.apache.org/] and [Apache 
Ivy|http://ant.apache.org/ivy/] work at all.
Isn't that just too many of different dependency managers to mess with, that 
are causing their own conflicts troubles?

 Failed attempt of downloading javax:activation javadoc
 --

 Key: LUCENE-6007
 URL: https://issues.apache.org/jira/browse/LUCENE-6007
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Affects Versions: Trunk
 Environment: java version 1.7.0_67
 Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Microsoft Windows Professional 8.1 (6.3.9600) x64
Reporter: Ilia Sretenskii
Assignee: Steve Rowe
  Labels: ant, download, ivy, jar, javadoc, javax, maven
 Attachments: LUCENE-6007.patch


 I have [checked out the trunk source 
 code|https://wiki.apache.org/lucene-java/HowToContribute].
 But then running the following commands fails:
 * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
 * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
 The failure message says the following:
 {noformat}
 ivy-fail:
 resolve:
 [ivy:retrieve]
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]  [FAILED ] 
 javax.activation#activation;1.1.1!activation.jar(javadoc):  (0ms)
 [ivy:retrieve]   shared: tried
 [ivy:retrieve]
 C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
 [ivy:retrieve]   public: tried
 [ivy:retrieve]
 http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
 [ivy:retrieve]  ::
 [ivy:retrieve]  ::  FAILED DOWNLOADS::
 [ivy:retrieve]  :: ^ see resolution messages for details  ^ ::
 [ivy:retrieve]  ::
 [ivy:retrieve]  :: 
 javax.activation#activation;1.1.1!activation.jar(javadoc)
 [ivy:retrieve]  ::
 [ivy:retrieve]
 [ivy:retrieve]
 [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
 BUILD FAILED
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The 
 following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
  impossible to resolve dependencies:
 resolve failed - see output for details
 Total time: 53 minutes 19 seconds
 {noformat}
 There was a javadoc file for 
 [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
  but none for 
 [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
  which might be the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6547) CloudSolrServer query getqtime Exception

2014-10-18 Thread Shawn Heisey (JIRA)

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

Shawn Heisey commented on SOLR-6547:


There's merit either way.

Integer.MAX_VALUE in milliseconds is a little more than 24 days.  I doubt you 
would ever run into a query that would actually take that long and still have 
enough resources to actually finish, so an int has plenty of capacity to handle 
QTime.  The difference is tiny for a single value, but a long does take up 
twice as much memory.  If most of the existing code uses an int, I am inclined 
to stick with that and change the deviating code.

On the other hand ... everything else related to time in Java *is* represented 
as a long, as [~anuragsharma] mentioned.  If the value is ever used for 
calculation with any of those other numbers, it might save a tiny bit of CPU 
time if Java doesn't have to convert.

Switching everything to a long is likely to involve quite a bit of effort to 
locate and change every place that it's used, which is a big part of why I 
suggest sticking with int.  I don't think we would ever *need* a long for 
relative times.


 CloudSolrServer query getqtime Exception
 

 Key: SOLR-6547
 URL: https://issues.apache.org/jira/browse/SOLR-6547
 Project: Solr
  Issue Type: Bug
  Components: SolrJ
Affects Versions: 4.10
Reporter: kevin

 We are using CloudSolrServer to query ,but solrj throw Exception ;
 java.lang.ClassCastException: java.lang.Long cannot be cast to 
 java.lang.Integer  at 
 org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6449:
-

Just wondering should we also support POST and PUT as well like 
solrServer.post(id,object)


 Add first class support for Real Time Get in Solrj
 --

 Key: SOLR-6449
 URL: https://issues.apache.org/jira/browse/SOLR-6449
 Project: Solr
  Issue Type: Improvement
  Components: clients - java
Reporter: Shalin Shekhar Mangar
  Labels: difficulty-medium, impact-medium
 Fix For: 5.0


 Any request handler can be queried by Solrj using a custom param map and the 
 qt parameter but I think /get should get first-class support in the java 
 client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (LUCENE-6007) Failed attempt of downloading javax:activation javadoc

2014-10-18 Thread Shawn Heisey (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14175893#comment-14175893
 ] 

Shawn Heisey commented on LUCENE-6007:
--

[~koichisenada]:

The official build system for Lucene/Solr uses ant and ivy.  We do have some 
maven support, but most of the committers aren't using it and many people don't 
even know it's there, so it doesn't get looked at constantly.  If not for 
[~steve_rowe], it might be neglected entirely.

https://svn.apache.org/repos/asf/lucene/dev/trunk/dev-tools/maven/README.maven

You may already know this: Ant is a program for managing builds, similar in a 
lot of ways to the make utility that is commonly used for C programs, but 
better optimized for java projects and configured with XML rather than a 
utility-specific file format.  Ivy is a program for managing and obtaining 
dependencies.  Ivy integrates very well with ant.  Maven does both build 
management and dependency management.  I have only the tiniest amount of 
experience with Maven, but only as a user of other people's maven builds.  I've 
never created a project with it.


 Failed attempt of downloading javax:activation javadoc
 --

 Key: LUCENE-6007
 URL: https://issues.apache.org/jira/browse/LUCENE-6007
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Affects Versions: Trunk
 Environment: java version 1.7.0_67
 Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Microsoft Windows Professional 8.1 (6.3.9600) x64
Reporter: Ilia Sretenskii
Assignee: Steve Rowe
  Labels: ant, download, ivy, jar, javadoc, javax, maven
 Attachments: LUCENE-6007.patch


 I have [checked out the trunk source 
 code|https://wiki.apache.org/lucene-java/HowToContribute].
 But then running the following commands fails:
 * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
 * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
 The failure message says the following:
 {noformat}
 ivy-fail:
 resolve:
 [ivy:retrieve]
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]  [FAILED ] 
 javax.activation#activation;1.1.1!activation.jar(javadoc):  (0ms)
 [ivy:retrieve]   shared: tried
 [ivy:retrieve]
 C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
 [ivy:retrieve]   public: tried
 [ivy:retrieve]
 http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
 [ivy:retrieve]  ::
 [ivy:retrieve]  ::  FAILED DOWNLOADS::
 [ivy:retrieve]  :: ^ see resolution messages for details  ^ ::
 [ivy:retrieve]  ::
 [ivy:retrieve]  :: 
 javax.activation#activation;1.1.1!activation.jar(javadoc)
 [ivy:retrieve]  ::
 [ivy:retrieve]
 [ivy:retrieve]
 [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
 BUILD FAILED
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The 
 following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
  impossible to resolve dependencies:
 resolve failed - see output for details
 Total time: 53 minutes 19 seconds
 {noformat}
 There was a javadoc file for 
 [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
  but none for 
 [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
  which might be the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Comment Edited] (SOLR-6474) Smoke tester should use the Solr start scripts to start Solr

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma edited comment on SOLR-6474 at 10/18/14 7:14 AM:
---

Other than the smoke tester, how about updating all the references of starting 
solr java -jar start.jar with start script  in SOLR-3617?


was (Author: anuragsharma):
This is lucene smoke test or solr? 
Other the smoke tester, how about updating all the references of starting solr 
java -jar start.jar with start script  in SOLR-3617?

 Smoke tester should use the Solr start scripts to start Solr
 

 Key: SOLR-6474
 URL: https://issues.apache.org/jira/browse/SOLR-6474
 Project: Solr
  Issue Type: Task
  Components: scripts and tools
Reporter: Shalin Shekhar Mangar
  Labels: difficulty-easy, impact-low
 Fix For: 5.0


 We should use the Solr bin scripts created by SOLR-3617 in the smoke tester 
 to test Solr.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2014-10-18 Thread Shalin Shekhar Mangar (JIRA)

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

Shalin Shekhar Mangar commented on SOLR-6449:
-

bq. Just wondering should we also support POST and PUT as well like 
solrServer.post(id,object)

That's already supported by setting the method on the SolrRequest object. For 
example:
{code}
UpdateRequest updateRequest = new UpdateRequest();
updateRequest.setMethod(SolrRequest.METHOD.POST);
{code}

 Add first class support for Real Time Get in Solrj
 --

 Key: SOLR-6449
 URL: https://issues.apache.org/jira/browse/SOLR-6449
 Project: Solr
  Issue Type: Improvement
  Components: clients - java
Reporter: Shalin Shekhar Mangar
  Labels: difficulty-medium, impact-medium
 Fix For: 5.0


 Any request handler can be queried by Solrj using a custom param map and the 
 qt parameter but I think /get should get first-class support in the java 
 client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-trunk-Windows (64bit/jdk1.7.0_67) - Build # 4377 - Failure!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/4377/
Java: 64bit/jdk1.7.0_67 -XX:-UseCompressedOops -XX:+UseG1GC

2 tests failed.
REGRESSION:  org.apache.solr.handler.TestReplicationHandlerBackup.doTestBackup

Error Message:
Test abandoned because suite timeout was reached.

Stack Trace:
java.lang.Exception: Test abandoned because suite timeout was reached.
at __randomizedtesting.SeedInfo.seed([5F4040FAC2CD6672]:0)


FAILED:  
junit.framework.TestSuite.org.apache.solr.handler.TestReplicationHandlerBackup

Error Message:
Suite timeout exceeded (= 720 msec).

Stack Trace:
java.lang.Exception: Suite timeout exceeded (= 720 msec).
at __randomizedtesting.SeedInfo.seed([5F4040FAC2CD6672]:0)




Build Log:
[...truncated 11054 lines...]
   [junit4] Suite: org.apache.solr.handler.TestReplicationHandlerBackup
   [junit4]   2 Creating dataDir: 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\init-core-data-001
   [junit4]   2 865553 T2420 oas.SolrTestCaseJ4.setUp ###Starting doTestBackup
   [junit4]   2 865566 T2420 oejs.Server.doStart jetty-8.1.10.v20130312
   [junit4]   2 865571 T2420 oejs.AbstractConnector.doStart Started 
SelectChannelConnector@127.0.0.1:59456
   [junit4]   2 865571 T2420 oass.SolrDispatchFilter.init 
SolrDispatchFilter.init()
   [junit4]   2 865571 T2420 oasc.SolrResourceLoader.locateSolrHome JNDI not 
configured for solr (NoInitialContextEx)
   [junit4]   2 865571 T2420 oasc.SolrResourceLoader.locateSolrHome using 
system property solr.solr.home: 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\solr-instance-001
   [junit4]   2 865571 T2420 oasc.SolrResourceLoader.init new 
SolrResourceLoader for directory: 
'C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\solr-instance-001\'
   [junit4]   2 865596 T2420 oasc.ConfigSolr.fromFile Loading container 
configuration from 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\solr-instance-001\solr.xml
   [junit4]   2 865651 T2420 oasc.CoreContainer.init New CoreContainer 
521705225
   [junit4]   2 865651 T2420 oasc.CoreContainer.load Loading cores into 
CoreContainer 
[instanceDir=C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\solr-instance-001\]
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting socketTimeout to: 9
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting urlScheme to: 
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting connTimeout to: 15000
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting maxConnectionsPerHost to: 20
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting maxConnections to: 1
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting corePoolSize to: 0
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting maximumPoolSize to: 2147483647
   [junit4]   2 865653 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting maxThreadIdleTime to: 5
   [junit4]   2 865654 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting sizeOfQueue to: -1
   [junit4]   2 865654 T2420 oashc.HttpShardHandlerFactory.getParameter 
Setting fairnessPolicy to: false
   [junit4]   2 865654 T2420 oasu.UpdateShardHandler.init Creating 
UpdateShardHandler HTTP client with params: 
socketTimeout=34connTimeout=45000retry=false
   [junit4]   2 865654 T2420 oasl.LogWatcher.createWatcher SLF4J impl is 
org.slf4j.impl.Log4jLoggerFactory
   [junit4]   2 865654 T2420 oasl.LogWatcher.newRegisteredLogWatcher 
Registering Log Listener [Log4j (org.slf4j.impl.Log4jLoggerFactory)]
   [junit4]   2 865654 T2420 oasc.CoreContainer.load Host Name: 127.0.0.1
   [junit4]   2 865660 T2430 oasc.SolrResourceLoader.init new 
SolrResourceLoader for directory: 
'C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\solr\build\solr-core\test\J0\temp\solr.handler.TestReplicationHandlerBackup-5F4040FAC2CD6672-001\solr-instance-001\collection1\'
   [junit4]   2 865699 T2430 oasc.SolrConfig.init Using Lucene MatchVersion: 
6.0.0
   [junit4]   2 865733 T2430 oasc.SolrConfig.init Loaded SolrConfig: 
solrconfig.xml
   [junit4]   2 865733 T2430 oass.IndexSchema.readSchema Reading Solr Schema 
from schema.xml
   [junit4]   2 865738 T2430 oass.IndexSchema.readSchema [collection1] Schema 
name=test
   [junit4]   2 865751 T2430 oass.IndexSchema.readSchema unique key field: id
   [junit4]   2 865751 T2430 

[JENKINS] Lucene-Solr-NightlyTests-trunk - Build # 660 - Still Failing

2014-10-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/660/

1 tests failed.
REGRESSION:  
org.apache.solr.handler.TestReplicationHandler.doTestReplicateAfterCoreReload

Error Message:
expected:[{indexVersion=1413623921592,generation=2,filelist=[_v3l.fdt, 
_v3l.fdx, _v3l.fnm, _v3l.nvd, _v3l.nvm, _v3l.si, _v3l_FST41_0.doc, 
_v3l_FST41_0.tmp, _vdd.fdt, _vdd.fdx, _vdd.fnm, _vdd.nvd, _vdd.nvm, _vdd.si, 
_vdd_FST41_0.doc, _vdd_FST41_0.tmp, _vde.cfe, _vde.cfs, _vde.si, _vdf.fdt, 
_vdf.fdx, _vdf.fnm, _vdf.nvd, _vdf.nvm, _vdf.si, _vdf_FST41_0.doc, 
_vdf_FST41_0.tmp, _vdg.fdt, _vdg.fdx, _vdg.fnm, _vdg.nvd, _vdg.nvm, _vdg.si, 
_vdg_FST41_0.doc, _vdg_FST41_0.tmp, _vdh.fdt, _vdh.fdx, _vdh.fnm, _vdh.nvd, 
_vdh.nvm, _vdh.si, _vdh_FST41_0.doc, _vdh_FST41_0.tmp, _vdi.fdt, _vdi.fdx, 
_vdi.fnm, _vdi.nvd, _vdi.nvm, _vdi.si, _vdi_FST41_0.doc, _vdi_FST41_0.tmp, 
_vdj.fdt, _vdj.fdx, _vdj.fnm, _vdj.nvd, _vdj.nvm, _vdj.si, _vdj_FST41_0.doc, 
_vdj_FST41_0.tmp, _vdk.fdt, _vdk.fdx, _vdk.fnm, _vdk.nvd, _vdk.nvm, _vdk.si, 
_vdk_FST41_0.doc, _vdk_FST41_0.tmp, _vdl.fdt, _vdl.fdx, _vdl.fnm, _vdl.nvd, 
_vdl.nvm, _vdl.si, _vdl_FST41_0.doc, _vdl_FST41_0.tmp, _vdm.fdt, _vdm.fdx, 
_vdm.fnm, _vdm.nvd, _vdm.nvm, _vdm.si, _vdm_FST41_0.doc, _vdm_FST41_0.tmp, 
_vdn.fdt, _vdn.fdx, _vdn.fnm, _vdn.nvd, _vdn.nvm, _vdn.si, _vdn_FST41_0.doc, 
_vdn_FST41_0.tmp, _vdo.fdt, _vdo.fdx, _vdo.fnm, _vdo.nvd, _vdo.nvm, _vdo.si, 
_vdo_FST41_0.doc, _vdo_FST41_0.tmp, _vdp.fdt, _vdp.fdx, _vdp.fnm, _vdp.nvd, 
_vdp.nvm, _vdp.si, _vdp_FST41_0.doc, _vdp_FST41_0.tmp, _vdq.fdt, _vdq.fdx, 
_vdq.fnm, _vdq.nvd, _vdq.nvm, _vdq.si, _vdq_FST41_0.doc, _vdq_FST41_0.tmp, 
_vdr.fdt, _vdr.fdx, _vdr.fnm, _vdr.nvd, _vdr.nvm, _vdr.si, _vdr_FST41_0.doc, 
_vdr_FST41_0.tmp, _vds.fdt, _vds.fdx, _vds.fnm, _vds.nvd, _vds.nvm, _vds.si, 
_vds_FST41_0.doc, _vds_FST41_0.tmp, _vdt.fdt, _vdt.fdx, _vdt.fnm, _vdt.nvd, 
_vdt.nvm, _vdt.si, _vdt_FST41_0.doc, _vdt_FST41_0.tmp, _vdu.fdt, _vdu.fdx, 
_vdu.fnm, _vdu.nvd, _vdu.nvm, _vdu.si, _vdu_FST41_0.doc, _vdu_FST41_0.tmp, 
_vdv.fdt, _vdv.fdx, _vdv.fnm, _vdv.nvd, _vdv.nvm, _vdv.si, _vdv_FST41_0.doc, 
_vdv_FST41_0.tmp, _vdw.fdt, _vdw.fdx, _vdw.fnm, _vdw.nvd, _vdw.nvm, _vdw.si, 
_vdw_FST41_0.doc, _vdw_FST41_0.tmp, _vdx.fdt, _vdx.fdx, _vdx.fnm, _vdx.nvd, 
_vdx.nvm, _vdx.si, _vdx_FST41_0.doc, _vdx_FST41_0.tmp, _vdy.fdt, _vdy.fdx, 
_vdy.fnm, _vdy.nvd, _vdy.nvm, _vdy.si, _vdy_FST41_0.doc, _vdy_FST41_0.tmp, 
_vdz.fdt, _vdz.fdx, _vdz.fnm, _vdz.nvd, _vdz.nvm, _vdz.si, _vdz_FST41_0.doc, 
_vdz_FST41_0.tmp, _ve0.fdt, _ve0.fdx, _ve0.fnm, _ve0.nvd, _ve0.nvm, _ve0.si, 
_ve0_FST41_0.doc, _ve0_FST41_0.tmp, _ve1.fdt, _ve1.fdx, _ve1.fnm, _ve1.nvd, 
_ve1.nvm, _ve1.si, _ve1_FST41_0.doc, _ve1_FST41_0.tmp, _ve2.fdt, _ve2.fdx, 
_ve2.fnm, _ve2.nvd, _ve2.nvm, _ve2.si, _ve2_FST41_0.doc, _ve2_FST41_0.tmp, 
_ve3.fdt, _ve3.fdx, _ve3.fnm, _ve3.nvd, _ve3.nvm, _ve3.si, _ve3_FST41_0.doc, 
_ve3_FST41_0.tmp, _ve4.fdt, _ve4.fdx, _ve4.fnm, _ve4.nvd, _ve4.nvm, _ve4.si, 
_ve4_FST41_0.doc, _ve4_FST41_0.tmp, _ve5.fdt, _ve5.fdx, _ve5.fnm, _ve5.nvd, 
_ve5.nvm, _ve5.si, _ve5_FST41_0.doc, _ve5_FST41_0.tmp, _ve6.fdt, _ve6.fdx, 
_ve6.fnm, _ve6.nvd, _ve6.nvm, _ve6.si, _ve6_FST41_0.doc, _ve6_FST41_0.tmp, 
_ve7.fdt, _ve7.fdx, _ve7.fnm, _ve7.nvd, _ve7.nvm, _ve7.si, _ve7_FST41_0.doc, 
_ve7_FST41_0.tmp, _ve8.fdt, _ve8.fdx, _ve8.fnm, _ve8.nvd, _ve8.nvm, _ve8.si, 
_ve8_FST41_0.doc, _ve8_FST41_0.tmp, _ve9.fdt, _ve9.fdx, _ve9.fnm, _ve9.nvd, 
_ve9.nvm, _ve9.si, _ve9_FST41_0.doc, _ve9_FST41_0.tmp, _vea.fdt, _vea.fdx, 
_vea.fnm, _vea.nvd, _vea.nvm, _vea.si, _vea_FST41_0.doc, _vea_FST41_0.tmp, 
_veb.fdt, _veb.fdx, _veb.fnm, _veb.nvd, _veb.nvm, _veb.si, _veb_FST41_0.doc, 
_veb_FST41_0.tmp, _vec.fdt, _vec.fdx, _vec.fnm, _vec.nvd, _vec.nvm, _vec.si, 
_vec_FST41_0.doc, _vec_FST41_0.tmp, _ved.fdt, _ved.fdx, _ved.fnm, _ved.nvd, 
_ved.nvm, _ved.si, _ved_FST41_0.doc, _ved_FST41_0.tmp, _vee.fdt, _vee.fdx, 
_vee.fnm, _vee.nvd, _vee.nvm, _vee.si, _vee_FST41_0.doc, _vee_FST41_0.tmp, 
_vef.fdt, _vef.fdx, _vef.fnm, _vef.nvd, _vef.nvm, _vef.si, _vef_FST41_0.doc, 
_vef_FST41_0.tmp, _veg.fdt, _veg.fdx, _veg.fnm, _veg.nvd, _veg.nvm, _veg.si, 
_veg_FST41_0.doc, _veg_FST41_0.tmp, _veh.fdt, _veh.fdx, _veh.fnm, _veh.nvd, 
_veh.nvm, _veh.si, _veh_FST41_0.doc, _veh_FST41_0.tmp, _vei.fdt, _vei.fdx, 
_vei.fnm, _vei.nvd, _vei.nvm, _vei.si, _vei_FST41_0.doc, _vei_FST41_0.tmp, 
_vej.fdt, _vej.fdx, _vej.fnm, _vej.nvd, _vej.nvm, _vej.si, _vej_FST41_0.doc, 
_vej_FST41_0.tmp, _vkp.fdt, _vkp.fdx, _vkp.fnm, _vkp.nvd, _vkp.nvm, _vkp.si, 
_vkp_FST41_0.doc, _vkp_FST41_0.tmp, _vkq.cfe, _vkq.cfs, _vkq.si, _vkr.fdt, 
_vkr.fdx, _vkr.fnm, _vkr.nvd, _vkr.nvm, _vkr.si, _vkr_FST41_0.doc, 
_vkr_FST41_0.tmp, _vks.fdt, _vks.fdx, _vks.fnm, _vks.nvd, _vks.nvm, _vks.si, 
_vks_FST41_0.doc, _vks_FST41_0.tmp, _vkt.fdt, _vkt.fdx, _vkt.fnm, _vkt.nvd, 
_vkt.nvm, _vkt.si, _vkt_FST41_0.doc, _vkt_FST41_0.tmp, _vku.fdt, _vku.fdx, 
_vku.fnm, _vku.nvd, _vku.nvm, _vku.si, _vku_FST41_0.doc, _vku_FST41_0.tmp, 
_vkv.fdt, _vkv.fdx, _vkv.fnm, _vkv.nvd, _vkv.nvm, _vkv.si, 

[jira] [Commented] (SOLR-6632) Error CREATEing SolrCore .. Caused by: null

2014-10-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 1632751 from [~noble.paul] in branch 'dev/trunk'
[ https://svn.apache.org/r1632751 ]

SOLR-6632

 Error CREATEing SolrCore .. Caused by: null
 ---

 Key: SOLR-6632
 URL: https://issues.apache.org/jira/browse/SOLR-6632
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Noble Paul
 Attachments: 
 SOLR-6632_jenkins_policeman_Lucene-Solr-5.x-MacOSX_1849.txt


 We've seen 6 nearly identical non-reproducible jenkins failures with errors 
 stemming from an NPE in ClusterState since r1624556 (SOLR-5473, SOLR-5474, 
 SOLR-5810) was committed (Sep 12th)
 Example...
 http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/1849/consoleText
 {noformat}
[junit4] ERROR111s | CollectionsAPIDistributedZkTest.testDistribSearch 
 
[junit4] Throwable #1: 
 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error 
 CREATEing SolrCore 'halfcollection_shard1_replica1': Unable to create core 
 [halfcollection_shard1_replica1] Caused by: null
[junit4]  at 
 __randomizedtesting.SeedInfo.seed([7FF06594A345DF76:FE16EB8CD41ABF4A]:0)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:569)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testErrorHandling(CollectionsAPIDistributedZkTest.java:583)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205)
[junit4]  at 
 org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
[junit4]  at java.lang.Thread.run(Thread.java:745)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.8.0_40-ea-b09) - Build # 11317 - Failure!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11317/
Java: 32bit/jdk1.8.0_40-ea-b09 -server -XX:+UseG1GC

1 tests failed.
REGRESSION:  
org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest.testDistribSearch

Error Message:
There were too many update fails - we expect it can happen, but shouldn't easily

Stack Trace:
java.lang.AssertionError: There were too many update fails - we expect it can 
happen, but shouldn't easily
at 
__randomizedtesting.SeedInfo.seed([E1AC4BADAD8F34A:8FFC4AA2AD879376]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertFalse(Assert.java:68)
at 
org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest.doTest(ChaosMonkeyNothingIsSafeTest.java:223)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[jira] [Commented] (SOLR-6632) Error CREATEing SolrCore .. Caused by: null

2014-10-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 1632753 from [~noble.paul] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1632753 ]

SOLR-6632

 Error CREATEing SolrCore .. Caused by: null
 ---

 Key: SOLR-6632
 URL: https://issues.apache.org/jira/browse/SOLR-6632
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Noble Paul
 Attachments: 
 SOLR-6632_jenkins_policeman_Lucene-Solr-5.x-MacOSX_1849.txt


 We've seen 6 nearly identical non-reproducible jenkins failures with errors 
 stemming from an NPE in ClusterState since r1624556 (SOLR-5473, SOLR-5474, 
 SOLR-5810) was committed (Sep 12th)
 Example...
 http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/1849/consoleText
 {noformat}
[junit4] ERROR111s | CollectionsAPIDistributedZkTest.testDistribSearch 
 
[junit4] Throwable #1: 
 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error 
 CREATEing SolrCore 'halfcollection_shard1_replica1': Unable to create core 
 [halfcollection_shard1_replica1] Caused by: null
[junit4]  at 
 __randomizedtesting.SeedInfo.seed([7FF06594A345DF76:FE16EB8CD41ABF4A]:0)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:569)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testErrorHandling(CollectionsAPIDistributedZkTest.java:583)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205)
[junit4]  at 
 org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
[junit4]  at java.lang.Thread.run(Thread.java:745)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6632) Error CREATEing SolrCore .. Caused by: null

2014-10-18 Thread Noble Paul (JIRA)

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

Noble Paul commented on SOLR-6632:
--

The NPE is fixed for now . However I shall wait for  afew days to see if it 
reproduces

 Error CREATEing SolrCore .. Caused by: null
 ---

 Key: SOLR-6632
 URL: https://issues.apache.org/jira/browse/SOLR-6632
 Project: Solr
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Noble Paul
 Attachments: 
 SOLR-6632_jenkins_policeman_Lucene-Solr-5.x-MacOSX_1849.txt


 We've seen 6 nearly identical non-reproducible jenkins failures with errors 
 stemming from an NPE in ClusterState since r1624556 (SOLR-5473, SOLR-5474, 
 SOLR-5810) was committed (Sep 12th)
 Example...
 http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/1849/consoleText
 {noformat}
[junit4] ERROR111s | CollectionsAPIDistributedZkTest.testDistribSearch 
 
[junit4] Throwable #1: 
 org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error 
 CREATEing SolrCore 'halfcollection_shard1_replica1': Unable to create core 
 [halfcollection_shard1_replica1] Caused by: null
[junit4]  at 
 __randomizedtesting.SeedInfo.seed([7FF06594A345DF76:FE16EB8CD41ABF4A]:0)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:569)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
[junit4]  at 
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.testErrorHandling(CollectionsAPIDistributedZkTest.java:583)
[junit4]  at 
 org.apache.solr.cloud.CollectionsAPIDistributedZkTest.doTest(CollectionsAPIDistributedZkTest.java:205)
[junit4]  at 
 org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
[junit4]  at java.lang.Thread.run(Thread.java:745)
 {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6551) ConcurrentModificationException in UpdateLog

2014-10-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 1632756 from [~noble.paul] in branch 'dev/trunk'
[ https://svn.apache.org/r1632756 ]

SOLR-6551

 ConcurrentModificationException in UpdateLog
 

 Key: SOLR-6551
 URL: https://issues.apache.org/jira/browse/SOLR-6551
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
 Attachments: SOLR-6551.patch


 {code}
 null:java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at 
 org.apache.solr.update.UpdateLog.getTotalLogsSize(UpdateLog.java:199)
at 
 org.apache.solr.update.DirectUpdateHandler2.getStatistics(DirectUpdateHandler2.java:871)
at 
 org.apache.solr.handler.admin.SolrInfoMBeanHandler.getMBeanInfo(SolrInfoMBeanHandler.java:159)
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6551) ConcurrentModificationException in UpdateLog

2014-10-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 1632757 from [~noble.paul] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1632757 ]

SOLR-6551

 ConcurrentModificationException in UpdateLog
 

 Key: SOLR-6551
 URL: https://issues.apache.org/jira/browse/SOLR-6551
 Project: Solr
  Issue Type: Bug
Reporter: Noble Paul
Assignee: Noble Paul
 Attachments: SOLR-6551.patch


 {code}
 null:java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at 
 org.apache.solr.update.UpdateLog.getTotalLogsSize(UpdateLog.java:199)
at 
 org.apache.solr.update.DirectUpdateHandler2.getStatistics(DirectUpdateHandler2.java:871)
at 
 org.apache.solr.handler.admin.SolrInfoMBeanHandler.getMBeanInfo(SolrInfoMBeanHandler.java:159)
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-5.x-Windows (64bit/jdk1.8.0_20) - Build # 4277 - Failure!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/4277/
Java: 64bit/jdk1.8.0_20 -XX:+UseCompressedOops -XX:+UseG1GC

3 tests failed.
REGRESSION:  
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.testDistribSearch

Error Message:
No live SolrServers available to handle this 
request:[http://127.0.0.1:57368/x_nar/hs, http://127.0.0.1:57383/x_nar/hs, 
http://127.0.0.1:57392/x_nar/hs]

Stack Trace:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available 
to handle this request:[http://127.0.0.1:57368/x_nar/hs, 
http://127.0.0.1:57383/x_nar/hs, http://127.0.0.1:57392/x_nar/hs]
at 
__randomizedtesting.SeedInfo.seed([A34DE7C4D0639203:22AB69DCA73CF23F]:0)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:333)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.sendRequest(CloudSolrServer.java:1015)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.requestWithRetryOnStaleState(CloudSolrServer.java:793)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:736)
at 
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.removeAndWaitForLastReplicaGone(DeleteLastCustomShardedReplicaTest.java:117)
at 
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.doTest(DeleteLastCustomShardedReplicaTest.java:107)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[jira] [Commented] (SOLR-6547) CloudSolrServer query getqtime Exception

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6547:
-

I am not sure of the usage. If there is a use case to calculate the response 
time then long would be precise to respond the query time in millisecond. With 
int the millisecond detail is missed.

 CloudSolrServer query getqtime Exception
 

 Key: SOLR-6547
 URL: https://issues.apache.org/jira/browse/SOLR-6547
 Project: Solr
  Issue Type: Bug
  Components: SolrJ
Affects Versions: 4.10
Reporter: kevin

 We are using CloudSolrServer to query ,but solrj throw Exception ;
 java.lang.ClassCastException: java.lang.Long cannot be cast to 
 java.lang.Integer  at 
 org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-Tests-trunk-Java7 - Build # 4926 - Still Failing

2014-10-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-trunk-Java7/4926/

1 tests failed.
REGRESSION:  org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.testDistribSearch

Error Message:
expected:0 but was:1

Stack Trace:
java.lang.AssertionError: expected:0 but was:1
at 
__randomizedtesting.SeedInfo.seed([BD924E273F298EF0:3C74C03F4876EECC]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
at org.junit.Assert.assertEquals(Assert.java:472)
at org.junit.Assert.assertEquals(Assert.java:456)
at 
org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.doTest(ChaosMonkeySafeLeaderTest.java:153)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0_40-ea-b09) - Build # 11474 - Failure!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11474/
Java: 32bit/jdk1.8.0_40-ea-b09 -server -XX:+UseConcMarkSweepGC

3 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.cloud.HttpPartitionTest

Error Message:
1 thread leaked from SUITE scope at org.apache.solr.cloud.HttpPartitionTest:
 1) Thread[id=8668, name=Thread-3313, state=RUNNABLE, 
group=TGRP-HttpPartitionTest] at 
java.net.SocketInputStream.socketRead0(Native Method) at 
java.net.SocketInputStream.socketRead(SocketInputStream.java:116) at 
java.net.SocketInputStream.read(SocketInputStream.java:170) at 
java.net.SocketInputStream.read(SocketInputStream.java:141) at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
 at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) 
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
 at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
 at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
 at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
 at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
 at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
 at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
 at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
 at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
 at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:465)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
 at 
org.apache.solr.cloud.ZkController.waitForLeaderToSeeDownState(ZkController.java:1638)
 at 
org.apache.solr.cloud.ZkController.registerAllCoresAsDown(ZkController.java:430)
 at 
org.apache.solr.cloud.ZkController.access$100(ZkController.java:101) at 
org.apache.solr.cloud.ZkController$1.command(ZkController.java:269) at 
org.apache.solr.common.cloud.ConnectionManager$1$1.run(ConnectionManager.java:166)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE 
scope at org.apache.solr.cloud.HttpPartitionTest: 
   1) Thread[id=8668, name=Thread-3313, state=RUNNABLE, 
group=TGRP-HttpPartitionTest]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 

[jira] [Commented] (SOLR-6478) need docs / tests of the rules as far as collection names go

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6478:
-

Proper URL escaping can take care the white spaces and special characters. 
Also, since collection name is a folder it is bounded by the rules on 
folder/directory name.

Any suggestion on good place to put test cases?

 need docs / tests of the rules as far as collection names go
 --

 Key: SOLR-6478
 URL: https://issues.apache.org/jira/browse/SOLR-6478
 Project: Solr
  Issue Type: Improvement
Reporter: Hoss Man
  Labels: difficulty-medium, impact-medium

 historically, the rules for core names have been vague but implicitly 
 defined based on the rule that it had to be a valid directory path name - but 
 i don't know that we've ever documented anywhere what the rules are for a 
 collection name when dealing with the Collections API.
 I haven't had a chance to try this, but i suspect that using the Collections 
 API you can create any collection name you want, and the zk/clusterstate.json 
 data will all be fine, and you'll then be able to request anything you want 
 from that collection as long as you properly URL escape it in your request 
 URLs ... but we should have a test that tries to do this, and document any 
 actual limitations that pop up and/or fix those limitations so we really can 
 have arbitrary collection names.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6547) CloudSolrServer query getqtime Exception

2014-10-18 Thread Shawn Heisey (JIRA)

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

Shawn Heisey commented on SOLR-6547:


QTime is always in milliseconds, no matter what size the primitive datatype is.


 CloudSolrServer query getqtime Exception
 

 Key: SOLR-6547
 URL: https://issues.apache.org/jira/browse/SOLR-6547
 Project: Solr
  Issue Type: Bug
  Components: SolrJ
Affects Versions: 4.10
Reporter: kevin

 We are using CloudSolrServer to query ,but solrj throw Exception ;
 java.lang.ClassCastException: java.lang.Long cannot be cast to 
 java.lang.Integer  at 
 org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Comment Edited] (SOLR-6547) CloudSolrServer query getqtime Exception

2014-10-18 Thread Shawn Heisey (JIRA)

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

Shawn Heisey edited comment on SOLR-6547 at 10/18/14 2:12 PM:
--

QTime is always in milliseconds, no matter what size the primitive datatype is. 
 The maximum value of a signed integer is 2147483647.  In seconds, this is 
about 68 years -- the UNIX epoch is the beginning of 1970, and the 32-bit 
signed counter will run out in 2038.  In milliseconds, this number is only 24 
days.



was (Author: elyograg):
QTime is always in milliseconds, no matter what size the primitive datatype is.


 CloudSolrServer query getqtime Exception
 

 Key: SOLR-6547
 URL: https://issues.apache.org/jira/browse/SOLR-6547
 Project: Solr
  Issue Type: Bug
  Components: SolrJ
Affects Versions: 4.10
Reporter: kevin

 We are using CloudSolrServer to query ,but solrj throw Exception ;
 java.lang.ClassCastException: java.lang.Long cannot be cast to 
 java.lang.Integer  at 
 org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b34) - Build # 11318 - Still Failing!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11318/
Java: 32bit/jdk1.9.0-ea-b34 -server -XX:+UseG1GC

1 tests failed.
REGRESSION:  org.apache.solr.cloud.DeleteReplicaTest.testDistribSearch

Error Message:
No live SolrServers available to handle this request:[https://127.0.0.1:53322, 
https://127.0.0.1:33192, https://127.0.0.1:52307, https://127.0.0.1:40160, 
https://127.0.0.1:37102]

Stack Trace:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available 
to handle this request:[https://127.0.0.1:53322, https://127.0.0.1:33192, 
https://127.0.0.1:52307, https://127.0.0.1:40160, https://127.0.0.1:37102]
at 
__randomizedtesting.SeedInfo.seed([AA540500A5C769ED:2BB28B18D29809D1]:0)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:333)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.sendRequest(CloudSolrServer.java:1015)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.requestWithRetryOnStaleState(CloudSolrServer.java:793)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:736)
at 
org.apache.solr.cloud.DeleteReplicaTest.removeAndWaitForReplicaGone(DeleteReplicaTest.java:172)
at 
org.apache.solr.cloud.DeleteReplicaTest.deleteLiveReplicaTest(DeleteReplicaTest.java:145)
at 
org.apache.solr.cloud.DeleteReplicaTest.doTest(DeleteReplicaTest.java:89)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[JENKINS] Lucene-Solr-Tests-5.x-Java7 - Build # 2176 - Failure

2014-10-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-5.x-Java7/2176/

1 tests failed.
REGRESSION:  org.apache.solr.client.solrj.TestLBHttpSolrServer.testReliability

Error Message:
No live SolrServers available to handle this request

Stack Trace:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available 
to handle this request
at 
__randomizedtesting.SeedInfo.seed([6E3604B3A741C85B:AFFED9F5062719F2]:0)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:539)
at 
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:91)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
at 
org.apache.solr.client.solrj.TestLBHttpSolrServer.testReliability(TestLBHttpSolrServer.java:223)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[jira] [Commented] (SOLR-6572) lineshift in solrconfig.xml is not supported

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6572:
-

As mentioned by Jan in the first comment a failing JUnit test is very helpful. 
It can speed up analysing/fixing the actual issue.

 lineshift in solrconfig.xml is not supported
 

 Key: SOLR-6572
 URL: https://issues.apache.org/jira/browse/SOLR-6572
 Project: Solr
  Issue Type: Bug
Affects Versions: 4.8.1
Reporter: Fredrik Rodland
  Labels: difficulty-easy, impact-low, solrconfig.xml

 This has been a problem for a long time, and is still a problem at least for 
 SOLR 4.8.1.
 If lineshifts are introduced in some elements in solrconfig.xml SOLR fails to 
 pick up on the values.
 example:
 ok:
 {code}
 requestHandler name=/replication class=solr.ReplicationHandler 
 enable=${enable.replication:false}
 lst name=slave
 str 
 name=masterUrl${solr.master.url:http://solr-admin1.finn.no:12910/solr/front-static/replication}/str
 {code}
 not ok:
 {code}
 requestHandler name=/replication class=solr.ReplicationHandler 
 enable=${enable.replication:false}
 lst name=slave
 str 
 name=masterUrl${solr.master.url:http://solr-admin1.finn.no:12910/solr/front-static/replication}
 /str
 {code}
 Other example:
 ok:
 {code}
 str 
 name=shardslocalhost:12100/solr,localhost:12200/solr,localhost:12300/solr,localhost:12400/solr,localhost:12500/solr,localhost:12530/solr/str
 {code}
 not ok:
 {code}
 str name=shards
 localhost:12100/solr,localhost:12200/solr,localhost:12300/solr,localhost:12400/solr,localhost:12500/solr,localhost:12530/solr
/str
 {code}
 IDEs and people tend to introduce lineshifts in xml-files to make them 
 prettyer.  SOLR should really not be affected by this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6547) CloudSolrServer query getqtime Exception

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6547:
-

Based on the above comment we are good to go with Hoss Mann comment to extract 
the intValue from long:
{code}
return ((Number) header.get(QTime)).intValue()
{code}

A couple of failing unit tests can help in fixing and creating the patch. 

 CloudSolrServer query getqtime Exception
 

 Key: SOLR-6547
 URL: https://issues.apache.org/jira/browse/SOLR-6547
 Project: Solr
  Issue Type: Bug
  Components: SolrJ
Affects Versions: 4.10
Reporter: kevin

 We are using CloudSolrServer to query ,but solrj throw Exception ;
 java.lang.ClassCastException: java.lang.Long cannot be cast to 
 java.lang.Integer  at 
 org.apache.solr.client.solrj.response.SolrResponseBase.getQTime(SolrResponseBase.java:76)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2014-10-18 Thread Steve Davids (JIRA)

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

Steve Davids commented on SOLR-6449:


This issue is really providing yet another convenience method to perform CRUD 
operations.

Create  Update Operations:
{code}
UpdateResponse resp = solrServer.add(SolrInputDocument);
UpdateResponse resp = solrServer.add(CollectionSolrInputDocument);
//+ a couple variants
{code}

These methods don't necessarily need to align to the various REST HTTP method 
semantics. The add action will perform a create or update clobbering the 
document already in place with the ability to perform an atomic update 
operation which will perform a merge with the document already in the index.

Delete Operations:
{code}
UpdateResponse resp = solrServer.deleteById(String id);
UpdateResponse resp = solrServer.deleteById(CollectionString id);
UpdateResponse resp = solrServer.deleteByQuery(String query);
//+ a couple variants
{code}

Read Operations:
{code}
QueryResponse resp = solrServer.query(SolrParams);
//+ a couple variants
{code}

As you can see the delete operation allows you to delete given a specific id or 
delete by a query, whereas the retrieval only gives you query access. To be 
consistent this ticket should provide the ability to retrieve by id as a 
convenience to developers using the SolrJ API (not to mention the additional 
benefits they will get from the RealTimeGetHandler).

 Add first class support for Real Time Get in Solrj
 --

 Key: SOLR-6449
 URL: https://issues.apache.org/jira/browse/SOLR-6449
 Project: Solr
  Issue Type: Improvement
  Components: clients - java
Reporter: Shalin Shekhar Mangar
  Labels: difficulty-medium, impact-medium
 Fix For: 5.0


 Any request handler can be queried by Solrj using a custom param map and the 
 qt parameter but I think /get should get first-class support in the java 
 client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6598) Solr Collections API, case sensitivity of collection name and core's/replica's instance directory

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6598:
-

Is it specific to MacOS? Case sensitive names are supported by most of the OS.

 Solr Collections API, case sensitivity of collection name and 
 core's/replica's instance directory
 -

 Key: SOLR-6598
 URL: https://issues.apache.org/jira/browse/SOLR-6598
 Project: Solr
  Issue Type: Bug
  Components: SolrCloud
Affects Versions: 4.10.1
 Environment: Mac OS X
Reporter: Alexey Serba
Priority: Trivial

 Solr Collections API returns misleading error when trying to create two 
 collections with the same name but with different case on MacOS file system 
 (which is case insensitive). 
 {noformat}
 sh curl 
 'http://localhost:8983/solr/admin/collections?action=CREATEname=testnumShards=1collection.configName=defaultindent=truewt=json'
 {
   responseHeader:{
 status:0,
 QTime:1949},
   success:{
 :{
   responseHeader:{
 status:0,
 QTime:1833},
   core:test_shard1_replica1}}}
 sh curl 
 'http://localhost:8983/solr/admin/collections?action=CREATEname=TESTnumShards=1collection.configName=defaultindent=truewt=json'
 {
   responseHeader:{
 status:0,
 QTime:2509},
   failure:{
 
 :org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error
  CREATEing SolrCore 'TEST_shard1_replica1': Unable to create core 
 [TEST_shard1_replica1] Caused by: Lock obtain timed out: 
 NativeFSLock@/Users/alexey/Desktop/solr-4.10.1/node1/solr/test_shard1_replica1/data/index/write.lock}}
 {noformat}
 See {{Lock obtain timed out}} exception. It will be more user friendly to 
 check existence of instance dir {{test_shard1_replica1}} and return something 
 like Node A has replica B that uses the same index directory exception 
 (instead of just trying to hijack that existing directory and then 
 propagating the inexplicable lock exception that arises as a result).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6475) SOLR-5517 broke the ExtractingRequestHandler / Tika content-type detection.

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6475:
-

Is't it part of Tika project as the fix is expecting in Tika to  triggers the 
auto detection on content-type application/octet-stream? Am I missing 
anything?

 SOLR-5517 broke the ExtractingRequestHandler / Tika content-type detection.
 ---

 Key: SOLR-6475
 URL: https://issues.apache.org/jira/browse/SOLR-6475
 Project: Solr
  Issue Type: Bug
  Components: contrib - Solr Cell (Tika extraction)
Affects Versions: 4.7
Reporter: Dominik Geelen
  Labels: Content-Type, Tika, difficulty-medium, impact-medium

 Hi,
 as discussed with hoss on IRC, i'm creating this Issue about a problem we 
 recently ran into:
 Our company uses Solr to index user-generated files for fulltext searching 
 (PDFs, etc.) by using the ExtractingRequestHandler / Tika. 
 Since we recently upgraded to Solr 4.9, the indexing process began to throw 
 the following exception: Must specify a Content-Type header with POST 
 requests (in solr/servlet/SolrRequestParsers.java, line 684 in the 4.9 
 source).
 This behavior was introduced with SOLR-5517, but even as the Solr wiki 
 states, Tika needs the content-type to be empty or not present to trigger 
 auto detection of the content- / mime-type.
 Since both features block each other, but are basically both correct 
 behavior, hoss suggested that Tika should be fixed to trigger the 
 auto-detection on content-type application/octet-stream too and i highly 
 agree with this proposal.
 *Test case:*
 Just use the example from the ExtractingRequestHandler wiki page:
 {noformat}
 curl 
 http://localhost:8983/solr/update/extract?literal.id=doc5defaultField=text; 
  --data-binary @tutorial.html  [-H 'Content-type:text/html']
 {noformat}
 but don't send the content-type, obviously. or you could just use the 
 SimplePostTool (post.jar) mentioned in the wiki, but i guess this would be 
 broken now, too.
 *Proposed solution:*
 Fix the Tika content guessing in that way, that it also triggers the auto 
 detection on content-type application/octet-stream.
 Thanks,
 Dominik



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-5480) Make MoreLikeThisHandler distributable

2014-10-18 Thread Steve Molloy (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Molloy updated SOLR-5480:
---
Attachment: SOLR-5480.patch

Patch adapted to trunk with distributed test, refocussed on MLT in distributed 
mode and away from MLT query parser which has a ticket of its own.

 Make MoreLikeThisHandler distributable
 --

 Key: SOLR-5480
 URL: https://issues.apache.org/jira/browse/SOLR-5480
 Project: Solr
  Issue Type: Improvement
Reporter: Steve Molloy
Assignee: Noble Paul
 Attachments: MoreLikeThisHandlerTestST.txt, SOLR-5480.patch, 
 SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, 
 SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, 
 SOLR-5480.patch


 The MoreLikeThis component, when used in the standard search handler supports 
 distributed searches. But the MoreLikeThisHandler itself doesn't, which 
 prevents from say, passing in text to perform the query. I'll start looking 
 into adapting the SearchHandler logic to the MoreLikeThisHandler. If anyone 
 has some work done already and want to share, or want to contribute, any help 
 will be welcomed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6469) Solr search with multicore + grouping + highlighting cause NPE

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6469:
-

A failing unit test describing the scenario could speed up the fix

 Solr search with multicore + grouping + highlighting cause NPE
 --

 Key: SOLR-6469
 URL: https://issues.apache.org/jira/browse/SOLR-6469
 Project: Solr
  Issue Type: Bug
  Components: highlighter, multicore, SearchComponents - other
Affects Versions: 4.8.1
 Environment: Windows 7, Intellij
Reporter: Shay Sofer
  Labels: patch

 Integration of Grouping + shards + highlighting cause NullPointerException.
 Query: 
 localhost:8983/solr/Global_A/select?q=%2Btext%3A%28shay*%29+rows=100fl=id%2CobjId%2Cnullshards=http%3A%2F%2F127.0.0.1%3A8983%2Fsolr%2F0_A%2Chttp%3A%2F%2F127.0.0.1%3A8983%2Fsolr%2FGlobal_Agroup=truegroup.query=name__s%3Ashaysort=name__s_sort+aschl=true
 results:
 java.lang.NullPointerException
  at 
 org.apache.solr.handler.component.HighlightComponent.finishStage(HighlightComponent.java:189)
  at 
 org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:330)
  at 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
  at org.apache.solr.core.SolrCore.execute(SolrCore.java:1952)
  at 
 org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:774)
  at 
 org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:418)
  at 
 org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)
  at 
 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)
  at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)
  at 
 org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
  at 
 org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
  at 
 org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
  at 
 org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)
  at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)
  at 
 org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
  at 
 org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)
  at 
 org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
  at 
 org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
  at 
 org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
  at 
 org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
  at org.eclipse.jetty.server.Server.handle(Server.java:368)
  at 
 org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
  at 
 org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnection.java:53)
  at 
 org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:942)
  at 
 org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1004)
  at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640)
  at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
  at 
 org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:72)
  at 
 org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector.java:264)
  at 
 org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
  at 
 org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
  at java.lang.Thread.run(Thread.java:722)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-5.x-Linux (32bit/jdk1.8.0_20) - Build # 11319 - Still Failing!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11319/
Java: 32bit/jdk1.8.0_20 -client -XX:+UseConcMarkSweepGC

2 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.cloud.HttpPartitionTest

Error Message:
1 thread leaked from SUITE scope at org.apache.solr.cloud.HttpPartitionTest:
 1) Thread[id=6074, name=Thread-1736, state=RUNNABLE, 
group=TGRP-HttpPartitionTest] at 
java.net.SocketInputStream.socketRead0(Native Method) at 
java.net.SocketInputStream.read(SocketInputStream.java:150) at 
java.net.SocketInputStream.read(SocketInputStream.java:121) at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
 at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) 
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
 at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
 at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
 at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
 at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
 at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
 at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
 at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
 at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
 at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:465)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
 at 
org.apache.solr.cloud.ZkController.waitForLeaderToSeeDownState(ZkController.java:1638)
 at 
org.apache.solr.cloud.ZkController.registerAllCoresAsDown(ZkController.java:430)
 at 
org.apache.solr.cloud.ZkController.access$100(ZkController.java:101) at 
org.apache.solr.cloud.ZkController$1.command(ZkController.java:269) at 
org.apache.solr.common.cloud.ConnectionManager$1$1.run(ConnectionManager.java:166)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE 
scope at org.apache.solr.cloud.HttpPartitionTest: 
   1) Thread[id=6074, name=Thread-1736, state=RUNNABLE, 
group=TGRP-HttpPartitionTest]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
at 

[jira] [Commented] (LUCENE-6007) Failed attempt of downloading javax:activation javadoc

2014-10-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14176080#comment-14176080
 ] 

ASF subversion and git services commented on LUCENE-6007:
-

Commit 1632829 from [~sar...@syr.edu] in branch 'dev/trunk'
[ https://svn.apache.org/r1632829 ]

LUCENE-6007: 'mvndeps' Ant task: exclude the 'start' configuration (only the 
jetty-start jar at this point) when parsing solr/example/ivy.xml for 
dependencies

 Failed attempt of downloading javax:activation javadoc
 --

 Key: LUCENE-6007
 URL: https://issues.apache.org/jira/browse/LUCENE-6007
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Affects Versions: Trunk
 Environment: java version 1.7.0_67
 Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Microsoft Windows Professional 8.1 (6.3.9600) x64
Reporter: Ilia Sretenskii
Assignee: Steve Rowe
  Labels: ant, download, ivy, jar, javadoc, javax, maven
 Attachments: LUCENE-6007.patch


 I have [checked out the trunk source 
 code|https://wiki.apache.org/lucene-java/HowToContribute].
 But then running the following commands fails:
 * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
 * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
 The failure message says the following:
 {noformat}
 ivy-fail:
 resolve:
 [ivy:retrieve]
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]  [FAILED ] 
 javax.activation#activation;1.1.1!activation.jar(javadoc):  (0ms)
 [ivy:retrieve]   shared: tried
 [ivy:retrieve]
 C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
 [ivy:retrieve]   public: tried
 [ivy:retrieve]
 http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
 [ivy:retrieve]  ::
 [ivy:retrieve]  ::  FAILED DOWNLOADS::
 [ivy:retrieve]  :: ^ see resolution messages for details  ^ ::
 [ivy:retrieve]  ::
 [ivy:retrieve]  :: 
 javax.activation#activation;1.1.1!activation.jar(javadoc)
 [ivy:retrieve]  ::
 [ivy:retrieve]
 [ivy:retrieve]
 [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
 BUILD FAILED
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The 
 following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
  impossible to resolve dependencies:
 resolve failed - see output for details
 Total time: 53 minutes 19 seconds
 {noformat}
 There was a javadoc file for 
 [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
  but none for 
 [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
  which might be the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-5480) Make MoreLikeThisHandler distributable

2014-10-18 Thread Steve Molloy (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Molloy updated SOLR-5480:
---
Attachment: SOLR-5480.patch

Fix code for a failing unit test.

 Make MoreLikeThisHandler distributable
 --

 Key: SOLR-5480
 URL: https://issues.apache.org/jira/browse/SOLR-5480
 Project: Solr
  Issue Type: Improvement
Reporter: Steve Molloy
Assignee: Noble Paul
 Attachments: MoreLikeThisHandlerTestST.txt, SOLR-5480.patch, 
 SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, 
 SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, SOLR-5480.patch, 
 SOLR-5480.patch, SOLR-5480.patch


 The MoreLikeThis component, when used in the standard search handler supports 
 distributed searches. But the MoreLikeThisHandler itself doesn't, which 
 prevents from say, passing in text to perform the query. I'll start looking 
 into adapting the SearchHandler logic to the MoreLikeThisHandler. If anyone 
 has some work done already and want to share, or want to contribute, any help 
 will be welcomed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (LUCENE-6007) Failed attempt of downloading javax:activation javadoc

2014-10-18 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14176081#comment-14176081
 ] 

ASF subversion and git services commented on LUCENE-6007:
-

Commit 1632830 from [~sar...@syr.edu] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1632830 ]

LUCENE-6007: 'mvndeps' Ant task: exclude the 'start' configuration (only the 
jetty-start jar at this point) when parsing solr/example/ivy.xml for 
dependencies (merged trunk r1632829)

 Failed attempt of downloading javax:activation javadoc
 --

 Key: LUCENE-6007
 URL: https://issues.apache.org/jira/browse/LUCENE-6007
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Affects Versions: Trunk
 Environment: java version 1.7.0_67
 Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Microsoft Windows Professional 8.1 (6.3.9600) x64
Reporter: Ilia Sretenskii
Assignee: Steve Rowe
  Labels: ant, download, ivy, jar, javadoc, javax, maven
 Attachments: LUCENE-6007.patch


 I have [checked out the trunk source 
 code|https://wiki.apache.org/lucene-java/HowToContribute].
 But then running the following commands fails:
 * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
 * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
 The failure message says the following:
 {noformat}
 ivy-fail:
 resolve:
 [ivy:retrieve]
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]  [FAILED ] 
 javax.activation#activation;1.1.1!activation.jar(javadoc):  (0ms)
 [ivy:retrieve]   shared: tried
 [ivy:retrieve]
 C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
 [ivy:retrieve]   public: tried
 [ivy:retrieve]
 http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
 [ivy:retrieve]  ::
 [ivy:retrieve]  ::  FAILED DOWNLOADS::
 [ivy:retrieve]  :: ^ see resolution messages for details  ^ ::
 [ivy:retrieve]  ::
 [ivy:retrieve]  :: 
 javax.activation#activation;1.1.1!activation.jar(javadoc)
 [ivy:retrieve]  ::
 [ivy:retrieve]
 [ivy:retrieve]
 [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
 BUILD FAILED
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The 
 following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
  impossible to resolve dependencies:
 resolve failed - see output for details
 Total time: 53 minutes 19 seconds
 {noformat}
 There was a javadoc file for 
 [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
  but none for 
 [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
  which might be the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Resolved] (LUCENE-6007) Failed attempt of downloading javax:activation javadoc

2014-10-18 Thread Steve Rowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe resolved LUCENE-6007.

Resolution: Fixed

bq. it appears that this change has caused a problem when running the license 
checker against the maven builds?

I committed a fix to trunk and branch_5x.

The issue was that the Ant task that puts dependencies into the Maven POMs by 
parsing dependencies from ivy.xml files (the 'mvndeps' task) excluded 
dependecies with the Ivy start configuration by using an XPath selector for 
conf attributes that did not begin with the exact string start-, where the 
- is how Ivy does configuration mapping.  

But since I removed all configuration mappings in conf attributes under this 
issue (by moving them to {{configurations defaultconfmapping=...}}), the 
jetty-start jar was included as a dependency in the Maven POMs, and as a 
result, the license checker tried to find a license for this depedency but 
failed.

The fix was to change the XPath selector to exclude dependencies with conf 
attributes beginning with the exact string start instead of start-.

 Failed attempt of downloading javax:activation javadoc
 --

 Key: LUCENE-6007
 URL: https://issues.apache.org/jira/browse/LUCENE-6007
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Affects Versions: Trunk
 Environment: java version 1.7.0_67
 Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
 Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
 Apache Ant(TM) version 1.9.4 compiled on April 29 2014
 Microsoft Windows Professional 8.1 (6.3.9600) x64
Reporter: Ilia Sretenskii
Assignee: Steve Rowe
  Labels: ant, download, ivy, jar, javadoc, javax, maven
 Attachments: LUCENE-6007.patch


 I have [checked out the trunk source 
 code|https://wiki.apache.org/lucene-java/HowToContribute].
 But then running the following commands fails:
 * [ant clean test|https://wiki.apache.org/lucene-java/HowToContribute]
 * [ant idea|https://wiki.apache.org/lucene-java/HowtoConfigureIntelliJ]
 The failure message says the following:
 {noformat}
 ivy-fail:
 resolve:
 [ivy:retrieve]
 [ivy:retrieve] :: problems summary ::
 [ivy:retrieve]  WARNINGS
 [ivy:retrieve]  [FAILED ] 
 javax.activation#activation;1.1.1!activation.jar(javadoc):  (0ms)
 [ivy:retrieve]   shared: tried
 [ivy:retrieve]
 C:\Users\Ilia\.ivy2\shared\javax.activation\activation\1.1.1\javadocs\activation.jar
 [ivy:retrieve]   public: tried
 [ivy:retrieve]
 http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/activation-1.1.1-javadoc.jar
 [ivy:retrieve]  ::
 [ivy:retrieve]  ::  FAILED DOWNLOADS::
 [ivy:retrieve]  :: ^ see resolution messages for details  ^ ::
 [ivy:retrieve]  ::
 [ivy:retrieve]  :: 
 javax.activation#activation;1.1.1!activation.jar(javadoc)
 [ivy:retrieve]  ::
 [ivy:retrieve]
 [ivy:retrieve]
 [ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
 BUILD FAILED
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\build.xml:61: The 
 following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\extra-targets.xml:39:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\build.xml:209:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:440:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\common-build.xml:496:
  The following error occurred while executing this line:
 C:\Users\Ilia\Documents\IdeaProjects\svn.apache.org\lucene\solr\contrib\contrib-build.xml:52:
  impossible to resolve dependencies:
 resolve failed - see output for details
 Total time: 53 minutes 19 seconds
 {noformat}
 There was a javadoc file for 
 [javax:activation:1.1-rev-1|http://repo1.maven.org/maven2/javax/activation/activation/1.1-rev-1/],
  but none for 
 [javax:activation:1.1.1|http://repo1.maven.org/maven2/javax/activation/activation/1.1.1/],
  which might be the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



Re: [JENKINS-MAVEN] Lucene-Solr-Maven-5.x #734: POMs out of sync

2014-10-18 Thread Steve Rowe
Thanks Hoss, I committed a fix.  Explanation at LUCENE-6007. - Steve

 On Oct 17, 2014, at 7:47 PM, Chris Hostetter hossman_luc...@fucit.org wrote:
 
 
 
 Looks like this might be a glitch in the fix for LUCENE-6007?
 
 (disclaimer: i don't really understand the original issue, the fix, or 
 this failure -- i'm just guessing they are related based on the timing)
 
 https://issues.apache.org/jira/browse/LUCENE-6007
 
 
 : Date: Fri, 17 Oct 2014 23:05:55 + (UTC)
 : From: Apache Jenkins Server jenk...@builds.apache.org
 : Reply-To: dev@lucene.apache.org
 : To: dev@lucene.apache.org
 : Subject: [JENKINS-MAVEN] Lucene-Solr-Maven-5.x #734: POMs out of sync
 : 
 : Build: https://builds.apache.org/job/Lucene-Solr-Maven-5.x/734/
 : 
 : No tests ran.
 : 
 : Build Log:
 : [...truncated 36587 lines...]
 : -validate-maven-dependencies:
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-test-framework:5.0.0-SNAPSHOT: checking for updates 
 from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-test-framework:5.0.0-SNAPSHOT: checking for updates 
 from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-parent:5.0.0-SNAPSHOT: checking for updates from 
 sonatype.releases
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-parent:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-parent:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-common:5.0.0-SNAPSHOT: checking for 
 updates from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-common:5.0.0-SNAPSHOT: checking for 
 updates from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-kuromoji:5.0.0-SNAPSHOT: checking for 
 updates from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-kuromoji:5.0.0-SNAPSHOT: checking for 
 updates from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-phonetic:5.0.0-SNAPSHOT: checking for 
 updates from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-analyzers-phonetic:5.0.0-SNAPSHOT: checking for 
 updates from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-backward-codecs:5.0.0-SNAPSHOT: checking for updates 
 from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-backward-codecs:5.0.0-SNAPSHOT: checking for updates 
 from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-codecs:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-codecs:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-core:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-core:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-expressions:5.0.0-SNAPSHOT: checking for updates 
 from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-expressions:5.0.0-SNAPSHOT: checking for updates 
 from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-grouping:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-grouping:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-highlighter:5.0.0-SNAPSHOT: checking for updates 
 from maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-highlighter:5.0.0-SNAPSHOT: checking for updates 
 from releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-join:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-join:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-memory:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-memory:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-misc:5.0.0-SNAPSHOT: checking for updates from 
 maven-restlet
 : [artifact:dependencies] [INFO] snapshot 
 org.apache.lucene:lucene-misc:5.0.0-SNAPSHOT: checking for updates from 
 releases.cloudera.com
 : 

[jira] [Updated] (LUCENE-5911) Make MemoryIndex thread-safe for queries

2014-10-18 Thread Alan Woodward (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan Woodward updated LUCENE-5911:
--
Attachment: LUCENE-5911-2.patch

Good catch, David.

Here's a patch implementing Rob's idea (although I've used a map of 
String-NumericDocValues rather than an Array).  It also changes how 
Similarities are set, because you now need the Similarity to be known before 
freeze() is called.  This is a bit nicer than the current API, I think, whereby 
if you want to change the Similarity you have to get an IndexSearcher and then 
call setSimilarity on it.

 Make MemoryIndex thread-safe for queries
 

 Key: LUCENE-5911
 URL: https://issues.apache.org/jira/browse/LUCENE-5911
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Alan Woodward
Assignee: Alan Woodward
Priority: Minor
 Fix For: 5.0, Trunk

 Attachments: LUCENE-5911-2.patch, LUCENE-5911.patch, LUCENE-5911.patch


 We want to be able to run multiple queries at once over a MemoryIndex in 
 luwak (see 
 https://github.com/flaxsearch/luwak/commit/49a8fba5764020c2f0e4dc29d80d93abb0231191),
  but this isn't possible with the current implementation.  However, looking 
 at the code, it seems that it would be relatively simple to make MemoryIndex 
 thread-safe for reads/queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Commented] (SOLR-6599) Wrong error logged on DIH connection problem

2014-10-18 Thread Anurag Sharma (JIRA)

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

Anurag Sharma commented on SOLR-6599:
-

Thomas - Any steps to reproduce the issue locally?

 Wrong error logged on DIH connection problem
 

 Key: SOLR-6599
 URL: https://issues.apache.org/jira/browse/SOLR-6599
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 4.10.1
 Environment: Debian Squeeze, Oracle-java-8, mysql-connector-5.1.28
Reporter: Thomas Lamy
Priority: Minor
  Labels: difficulty-medium, impact-low

 If I try a full import via DIH from a mysql server which is firewalled or 
 down, I get a misleading error message (see below, only SQL statement 
 shortened).
 I don't know Java very well, but I suspect the connection error is catched, 
 the connection handle is null, which in turn leads to the null pointer 
 exception at the end of the stack trace.
 {code}
 Full Import failed:java.lang.RuntimeException: java.lang.RuntimeException: 
 org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to 
 execute query: SELECT SenderID, ProviderID, `Name`, RefSenderID, CameraURL, 
 ChatURL, [.] Processing Document # 1
   at 
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:271)
   at 
 org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:416)
   at 
 org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:480)
   at 
 org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:461)
 Caused by: java.lang.RuntimeException: 
 org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to 
 execute query: SELECT SenderID, ProviderID, `Name`, RefSenderID, CameraURL, 
 ChatURL, [...] Processing Document # 1
   at 
 org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:417)
   at 
 org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:330)
   at 
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:232)
   ... 3 more
 Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: 
 Unable to execute query: SELECT SenderID, ProviderID, `Name`, RefSenderID, 
 CameraURL, ChatURL, [...] Processing Document # 1
   at 
 org.apache.solr.handler.dataimport.DataImportHandlerException.wrapAndThrow(DataImportHandlerException.java:71)
   at 
 org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.init(JdbcDataSource.java:283)
   at 
 org.apache.solr.handler.dataimport.JdbcDataSource.getData(JdbcDataSource.java:240)
   at 
 org.apache.solr.handler.dataimport.JdbcDataSource.getData(JdbcDataSource.java:44)
   at 
 org.apache.solr.handler.dataimport.SqlEntityProcessor.initQuery(SqlEntityProcessor.java:59)
   at 
 org.apache.solr.handler.dataimport.SqlEntityProcessor.nextRow(SqlEntityProcessor.java:73)
   at 
 org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:243)
   at 
 org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:476)
   at 
 org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:415)
   ... 5 more
 Caused by: java.lang.NullPointerException
   at 
 org.apache.solr.handler.dataimport.JdbcDataSource$ResultSetIterator.init(JdbcDataSource.java:271)
   ... 12 more
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[jira] [Updated] (SOLR-6351) Let Stats Hang off of Pivots (via 'tag')

2014-10-18 Thread Vitaliy Zhovtyuk (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitaliy Zhovtyuk updated SOLR-6351:
---
Attachment: SOLR-6351.patch

Fixed TestCloudPivotFacet. The reason for previous random test failures were 
facet.limit, facet.offset, facet.overrequest.count, facet.overrequest.ratio 
parameters generated randomly,
this was leading to inconsistent stats with pivot stats. Added cleanup for 
those parameters before stats on pivots test. All tests are passing.

 Let Stats Hang off of Pivots (via 'tag')
 

 Key: SOLR-6351
 URL: https://issues.apache.org/jira/browse/SOLR-6351
 Project: Solr
  Issue Type: Sub-task
Reporter: Hoss Man
 Attachments: SOLR-6351.patch, SOLR-6351.patch, SOLR-6351.patch, 
 SOLR-6351.patch, SOLR-6351.patch, SOLR-6351.patch, SOLR-6351.patch, 
 SOLR-6351.patch


 he goal here is basically flip the notion of stats.facet on it's head, so 
 that instead of asking the stats component to also do some faceting 
 (something that's never worked well with the variety of field types and has 
 never worked in distributed mode) we instead ask the PivotFacet code to 
 compute some stats X for each leaf in a pivot.  We'll do this with the 
 existing {{stats.field}} params, but we'll leverage the {{tag}} local param 
 of the {{stats.field}} instances to be able to associate which stats we want 
 hanging off of which {{facet.pivot}}
 Example...
 {noformat}
 facet.pivot={!stats=s1}category,manufacturer
 stats.field={!key=avg_price tag=s1 mean=true}price
 stats.field={!tag=s1 min=true max=true}user_rating
 {noformat}
 ...with the request above, in addition to computing the min/max user_rating 
 and mean price (labeled avg_price) over the entire result set, the 
 PivotFacet component will also include those stats for every node of the tree 
 it builds up when generating a pivot of the fields category,manufacturer



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-5.x-Linux (64bit/jdk1.8.0_20) - Build # 11320 - Still Failing!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11320/
Java: 64bit/jdk1.8.0_20 -XX:+UseCompressedOops -XX:+UseSerialGC

2 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.cloud.HttpPartitionTest

Error Message:
1 thread leaked from SUITE scope at org.apache.solr.cloud.HttpPartitionTest:
 1) Thread[id=6946, name=Thread-2825, state=RUNNABLE, 
group=TGRP-HttpPartitionTest] at 
java.net.SocketInputStream.socketRead0(Native Method) at 
java.net.SocketInputStream.read(SocketInputStream.java:150) at 
java.net.SocketInputStream.read(SocketInputStream.java:121) at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
 at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84) 
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
 at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
 at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
 at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
 at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
 at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
 at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
 at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
 at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
 at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
 at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
 at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:465)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
 at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
 at 
org.apache.solr.cloud.ZkController.waitForLeaderToSeeDownState(ZkController.java:1638)
 at 
org.apache.solr.cloud.ZkController.registerAllCoresAsDown(ZkController.java:430)
 at 
org.apache.solr.cloud.ZkController.access$100(ZkController.java:101) at 
org.apache.solr.cloud.ZkController$1.command(ZkController.java:269) at 
org.apache.solr.common.cloud.ConnectionManager$1$1.run(ConnectionManager.java:166)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE 
scope at org.apache.solr.cloud.HttpPartitionTest: 
   1) Thread[id=6946, name=Thread-2825, state=RUNNABLE, 
group=TGRP-HttpPartitionTest]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
at 

[JENKINS] Lucene-Solr-5.x-Windows (64bit/jdk1.8.0_20) - Build # 4278 - Still Failing!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/4278/
Java: 64bit/jdk1.8.0_20 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC

1 tests failed.
REGRESSION:  org.apache.lucene.queries.function.TestValueSources.testQuery

Error Message:
The top-reader used to create Weight 
(org.apache.lucene.index.LeafReaderContext@4da80ad6) is not the same as the 
current reader's top-reader 
(org.apache.lucene.index.CompositeReaderContext@6dd9e0b4

Stack Trace:
java.lang.AssertionError: The top-reader used to create Weight 
(org.apache.lucene.index.LeafReaderContext@4da80ad6) is not the same as the 
current reader's top-reader 
(org.apache.lucene.index.CompositeReaderContext@6dd9e0b4
at 
__randomizedtesting.SeedInfo.seed([D36FB8B25442763:86478FF8D4CE1DB6]:0)
at 
org.apache.lucene.search.TermQuery$TermWeight.scorer(TermQuery.java:79)
at 
org.apache.lucene.search.AssertingWeight.scorer(AssertingWeight.java:66)
at 
org.apache.lucene.queries.function.valuesource.QueryDocValues.exists(QueryValueSource.java:157)
at 
org.apache.lucene.queries.function.TestValueSources.assertExists(TestValueSources.java:557)
at 
org.apache.lucene.queries.function.TestValueSources.testQuery(TestValueSources.java:416)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[JENKINS] Lucene-Solr-5.x-Linux (64bit/jdk1.8.0_40-ea-b09) - Build # 11321 - Still Failing!

2014-10-18 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11321/
Java: 64bit/jdk1.8.0_40-ea-b09 -XX:-UseCompressedOops -XX:+UseSerialGC

1 tests failed.
REGRESSION:  
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.testDistribSearch

Error Message:
No live SolrServers available to handle this request:[http://127.0.0.1:45805, 
http://127.0.0.1:55681, http://127.0.0.1:47058]

Stack Trace:
org.apache.solr.client.solrj.SolrServerException: No live SolrServers available 
to handle this request:[http://127.0.0.1:45805, http://127.0.0.1:55681, 
http://127.0.0.1:47058]
at 
__randomizedtesting.SeedInfo.seed([B289779FC893B3A1:336FF987BFCCD39D]:0)
at 
org.apache.solr.client.solrj.impl.LBHttpSolrServer.request(LBHttpSolrServer.java:333)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.sendRequest(CloudSolrServer.java:1015)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.requestWithRetryOnStaleState(CloudSolrServer.java:793)
at 
org.apache.solr.client.solrj.impl.CloudSolrServer.request(CloudSolrServer.java:736)
at 
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.removeAndWaitForLastReplicaGone(DeleteLastCustomShardedReplicaTest.java:117)
at 
org.apache.solr.cloud.DeleteLastCustomShardedReplicaTest.doTest(DeleteLastCustomShardedReplicaTest.java:107)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 

[JENKINS-MAVEN] Lucene-Solr-Maven-5.x #735: POMs out of sync

2014-10-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Maven-5.x/735/

2 tests failed.
FAILED:  
org.apache.solr.cloud.HttpPartitionTest.org.apache.solr.cloud.HttpPartitionTest

Error Message:
1 thread leaked from SUITE scope at org.apache.solr.cloud.HttpPartitionTest: 
   1) Thread[id=4504, name=Thread-1693, state=RUNNABLE, 
group=TGRP-HttpPartitionTest]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
at 
org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
at 
org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:465)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:215)
at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:211)
at 
org.apache.solr.cloud.ZkController.waitForLeaderToSeeDownState(ZkController.java:1638)
at 
org.apache.solr.cloud.ZkController.registerAllCoresAsDown(ZkController.java:430)
at org.apache.solr.cloud.ZkController.access$100(ZkController.java:101)
at org.apache.solr.cloud.ZkController$1.command(ZkController.java:269)
at 
org.apache.solr.common.cloud.ConnectionManager$1$1.run(ConnectionManager.java:166)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE 
scope at org.apache.solr.cloud.HttpPartitionTest: 
   1) Thread[id=4504, name=Thread-1693, state=RUNNABLE, 
group=TGRP-HttpPartitionTest]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:152)
at java.net.SocketInputStream.read(SocketInputStream.java:122)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:160)
at 
org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:84)
at 
org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:273)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at 
org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at 
org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:260)
at 
org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:283)
at 
org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:251)
at 
org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponseHeader(ManagedClientConnectionImpl.java:197)
at 
org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:271)
at 
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:123)
at 
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:682)
at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:486)
at 

[jira] [Commented] (LUCENE-5911) Make MemoryIndex thread-safe for queries

2014-10-18 Thread David Smiley (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14176208#comment-14176208
 ] 

David Smiley commented on LUCENE-5911:
--

+1 looks good.

 Make MemoryIndex thread-safe for queries
 

 Key: LUCENE-5911
 URL: https://issues.apache.org/jira/browse/LUCENE-5911
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Alan Woodward
Assignee: Alan Woodward
Priority: Minor
 Fix For: 5.0, Trunk

 Attachments: LUCENE-5911-2.patch, LUCENE-5911.patch, LUCENE-5911.patch


 We want to be able to run multiple queries at once over a MemoryIndex in 
 luwak (see 
 https://github.com/flaxsearch/luwak/commit/49a8fba5764020c2f0e4dc29d80d93abb0231191),
  but this isn't possible with the current implementation.  However, looking 
 at the code, it seems that it would be relatively simple to make MemoryIndex 
 thread-safe for reads/queries.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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



[JENKINS] Lucene-Solr-Tests-trunk-Java7 - Build # 4927 - Still Failing

2014-10-18 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-trunk-Java7/4927/

1 tests failed.
FAILED:  org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.testDistribSearch

Error Message:
expected:0 but was:1

Stack Trace:
java.lang.AssertionError: expected:0 but was:1
at 
__randomizedtesting.SeedInfo.seed([693B4C7455CE853A:E8DDC26C2291E506]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.failNotEquals(Assert.java:647)
at org.junit.Assert.assertEquals(Assert.java:128)
at org.junit.Assert.assertEquals(Assert.java:472)
at org.junit.Assert.assertEquals(Assert.java:456)
at 
org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.doTest(ChaosMonkeySafeLeaderTest.java:153)
at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:869)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1618)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:827)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:863)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:877)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleThreadAndTestName.java:49)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl.forkTimeoutingTask(ThreadLeakControl.java:798)
at 
com.carrotsearch.randomizedtesting.ThreadLeakControl$3.evaluate(ThreadLeakControl.java:458)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.runSingleTest(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:738)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:772)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:783)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:53)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesInvariantRule$1.evaluate(SystemPropertiesInvariantRule.java:55)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleAssertionsRequired$1.evaluate(TestRuleAssertionsRequired.java:43)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 
org.apache.lucene.util.TestRuleIgnoreTestSuites$1.evaluate(TestRuleIgnoreTestSuites.java:55)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at