[jira] [Updated] (SOLR-7932) Solr replication relies on timestamps to sync across machines

2015-08-23 Thread Ramkumar Aiyengar (JIRA)

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

Ramkumar Aiyengar updated SOLR-7932:

Attachment: SOLR-7932.patch

Okay, attached here is a smaller patch which was my biggest concern here with 
the timestamps to begin with. These two places use timestamps *instead* of 
generations, and can lead to data loss. The other place where both are used, 
worst case you will end up doing a full-copy, not a big deal either way (and I 
understand the case with master-slave in such a situation).

*First change:*

{code}
  if (latestVersion == 0L) {
if (forceReplication  commit.getGeneration() != 0) {
  // since we won't get the files for an empty index,
  // we just clear ours and commit
  RefCountedIndexWriter iw = 
solrCore.getUpdateHandler().getSolrCoreState().getIndexWriter(solrCore);
  try {
iw.get().deleteAll();
  } finally {
iw.decref();
  }
  SolrQueryRequest req = new LocalSolrQueryRequest(solrCore, new 
ModifiableSolrParams());
  solrCore.getUpdateHandler().commit(new CommitUpdateCommand(req, 
false));
}

//there is nothing to be replicated
successfulInstall = true;
return true;
  }
{code}

Proposing replacing {{latestVersion}} with {{latestGeneration}}. Is there a 
case where one would be 0 and the other not?

*Second change:*

{code}
  if (!forceReplication  
IndexDeletionPolicyWrapper.getCommitTimestamp(commit) == latestVersion) {
//master and slave are already in sync just return
LOG.info(Slave in sync with master.);
successfulInstall = true;
return true;
  }
{code}

I am proposing:

{code}
-  if (!forceReplication  
IndexDeletionPolicyWrapper.getCommitTimestamp(commit) == latestVersion) {
+  if (!forceReplication  commit.getGeneration() == latestGeneration) {
{code}

 - If generations are not the same, but timestamps are, no harm done really, 
yes, you will go through replication unnecessarily, but that's it.
 - Will master-slave result in the same situation? If you blow away the index, 
I would expect the generations to not match (would be much lesser). 
Alternatively, we could OR the two checks here as well (i.e. check both 
versions and generations here), to be absolutely sure we don't skip replication 
if we shouldn't.

[~ysee...@gmail.com], [~markrmil...@gmail.com], could you clarify how this 
change would affect this adversely in such a case?

 Solr replication relies on timestamps to sync across machines
 -

 Key: SOLR-7932
 URL: https://issues.apache.org/jira/browse/SOLR-7932
 Project: Solr
  Issue Type: Bug
  Components: replication (java)
Reporter: Ramkumar Aiyengar
 Attachments: SOLR-7932.patch, SOLR-7932.patch


 Spinning off SOLR-7859, noticed there that wall time recorded as commit data 
 on a commit to check if replication needs to be done. In IndexFetcher, there 
 is this code:
 {code}
   if (!forceReplication  
 IndexDeletionPolicyWrapper.getCommitTimestamp(commit) == latestVersion) {
 //master and slave are already in sync just return
 LOG.info(Slave in sync with master.);
 successfulInstall = true;
 return true;
   }
 {code}
 It appears as if we are checking wall times across machines to check if we 
 are in sync, this could go wrong.
 Once a decision is made to replicate, we do seem to use generations instead, 
 except for this place below checks both generations and timestamps to see if 
 a full copy is needed..
 {code}
   // if the generation of master is older than that of the slave , it 
 means they are not compatible to be copied
   // then a new index directory to be created and all the files need to 
 be copied
   boolean isFullCopyNeeded = IndexDeletionPolicyWrapper
   .getCommitTimestamp(commit) = latestVersion
   || commit.getGeneration() = latestGeneration || forceReplication;
 {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



RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13972 - Failure!

2015-08-23 Thread Uwe Schindler
Hi Rory, hi Balchandra,

the fix about https://bugs.openjdk.java.net/browse/JDK-8130845 is still 
incomplete.

Our test framework found a date string which was created by Date#toString(), 
which is not parseable, neither with ENGLISH, US or ROOT locale!

Here is test program:

=
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Locale;

public final class Test {
  
  private static void testParse(Locale locale) {
try {
  new SimpleDateFormat(EEE MMM d hh:mm:ss z , locale).parse(Sat Jun 
23 02:57:58 XJT 2012);
  System.out.println(OK:  + locale);
} catch (ParseException pe) {
  pe.printStackTrace();
}
  }
  
  public static void main(String[] args) {
testParse(Locale.ENGLISH);
testParse(Locale.US);
testParse(Locale.ROOT);
  } 
   
}
=

Can you reopen https://bugs.openjdk.java.net/browse/JDK-8130845 and attach the 
above program?
It passes with Java 8, but fails with Java 9.

The Date was created by Date#toString(). XJT is Xinjiang Time also known as 
Asia/Kashgar, used in parts of China 
(https://en.wikipedia.org/wiki/Asia/Kashgar). I would suggest to the developer 
of the Locale updates, that there should be some test that asserts the round 
trip between the above Date format and Date#toString() for all Timezones 
available.

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Uwe Schindler [mailto:u...@thetaphi.de]
 Sent: Sunday, August 23, 2015 8:27 PM
 To: dev@lucene.apache.org
 Cc: rory.odonn...@oracle.com; Balchandra Vaidya
 Subject: RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) -
 Build # 13972 - Failure!
 
 I am digging, seems to be SOLR-7770 related. The problem with the new
 Locale Data in the JDK9 is that not all possible Timezone Short identifiers 
 are
 available... I will try this date and send it back to Rory for addition to
 https://bugs.openjdk.java.net/browse/JDK-8130845
 
 Uwe
 
 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de
 
  From: Policeman Jenkins Server [mailto:jenk...@thetaphi.de]
  Sent: Sunday, August 23, 2015 7:55 PM
  To: dev@lucene.apache.org
  Subject: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78)
  - Build # 13972 - Failure!
  Importance: Low
 
  Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13972/
  Java: 32bit/jdk1.9.0-ea-b78 -client -XX:+UseConcMarkSweepGC
 
  4 tests failed.
  FAILED:
  org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPa
  ssw
  ordProtected
 
  Error Message:
  Invalid Date String:'Sat Jun 23 02:57:58 XJT 2012'
 
  Stack Trace:
  org.apache.solr.common.SolrException: Invalid Date String:'Sat Jun 23
  02:57:58 XJT 2012'
  at
 
 __randomizedtesting.SeedInfo.seed([ABCF3FCC3426170F:AD6ABB37CA1F47
  D5]:0)
  at
  org.apache.solr.util.DateFormatUtil.parseMath(DateFormatUtil.java:89)
  at org.apache.solr.schema.TrieField.createField(TrieField.java:695)
  at org.apache.solr.schema.TrieField.createFields(TrieField.java:732)
  at
 
 org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:4
  8
  )
  at
 
 org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.jav
  a:123)
  at
 
 org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpd
  ateCommand.java:84)
  at
 
 org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpda
  teHandler2.java:268)
  at
 
 org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandle
  r2.java:202)
  at
 
 org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler
  2.java:164)
  at
 
 org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUp
  dateProcessorFactory.java:69)
  at
 
 org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(Up
  dateRequestProcessor.java:51)
  at
  org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd
  (
  DistributedUpdateProcessor.java:980)
  at
 
 org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd
  (
  DistributedUpdateProcessor.java:705)
  at
 
 org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpd
  ateProcessorFactory.java:104)
  at
  org.apache.solr.handler.extraction.ExtractingDocumentLoader.doAdd(Extr
  ac
  tingDocumentLoader.java:122)
  at
  org.apache.solr.handler.extraction.ExtractingDocumentLoader.addDoc(Ext
  ra
  ctingDocumentLoader.java:127)
  at
  org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(Extra
  ctin
  gDocumentLoader.java:230)
  at
 
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Co
  ntentStreamHandlerBase.java:74)
  at
 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandl
  erBase.java:151)
  at 

Re: VOTE: RC1 release of apache-solr-ref-guide-5.3.pdf

2015-08-23 Thread Cassandra Targett
Thanks, Jan.

Regarding the word breaks, it's not ideal but Steve Rowe  I spent a lot of
time trying to only allow it in specific situations with little success. If
you want to give it a go, we'd be happy to have the improvement.

If you don't have a chance to fix the other typos and issues you mention,
can you add them to the TODO list or as comments on the pages so we don't
forget to fix them whenever someone has time?

Cassandra

On Fri, Aug 21, 2015 at 6:26 AM, Jan Høydahl jan@cominvent.com wrote:

 *Comments*

 General:
 * The line wrapping for linked and monospaced text breaks mid-word e.g. p6
 “Ta-king”. Realize that it is desired for lng http links etc, but can
 we do better?
 * Long CODE blocks starts on one page with only blank lines and continues
 on the next. Would be better with white space than the grey background.
 * The refGuide should not link to SearchHub.org (which now redirects to
 LucidWorks.com) (p225,263,264,266,440). We could instead refer to
 lucene.apache.org/solr/resources for more info
 * Some places “Windows” is written with lowercase “w”

 Specific:
 * P5: In the “Got Java” chapter, should we start recommending (not
 requiring) Java8 and update -version command print to the same (since 7 is
 not supported)?
 * P222, 4th paragraph in Overview of Searching in Solr: The default
 query parser is the DisMax query parser.”. This is *wrong*, the default
 query parser is “lucene”!
 * P222: 3rd paragraph from bottom: Search parameters may also specify a 
 *query
 filter*.” - The common terminology is “filter query”, not “query filter
 * P223: Is the CNET screen shot property attributed? Should probably be ©
 CBS Interactive Inc. Also it is old, they have a completely new layout..
 * P282: The example for pivot+range uses localparam {!query=q1} from
 previous example, but correct is {!range=r1}
 * P386: Reformat the code block with new line wrappings for readability
 * P411: Font size of some of the URProcessor links are 11 instead of 10 :)
 * P577: The “Errata” url link links to itself instead of opening a browser
 to cwiki

 -0 to release as is

 --
 Jan Høydahl, search solution architect
 Cominvent AS - www.cominvent.com

 20. aug. 2015 kl. 18.07 skrev Cassandra Targett casstarg...@gmail.com:

 Please VOTE to release the following as apache-solr-ref-guide-5.3.pdf


 https://dist.apache.org/repos/dist/dev/lucene/solr/ref-guide/apache-solr-ref-guide-5.3-RC1/

 $cat apache-solr-ref-guide-5.3.pdf.sha1

 1255cba4413023e30aff345d30bce33846189975  apache-solr-ref-guide-5.3.pdf


 Here's my +1.

 Thanks,

 Cassandra





[JENKINS] Lucene-Solr-5.x-Linux (64bit/jdk1.7.0_80) - Build # 13692 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13692/
Java: 64bit/jdk1.7.0_80 -XX:-UseCompressedOops -XX:+UseParallelGC

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

Error Message:
ObjectTracker found 1 object(s) that were not released!!! [TransactionLog]

Stack Trace:
java.lang.AssertionError: ObjectTracker found 1 object(s) that were not 
released!!! [TransactionLog]
at __randomizedtesting.SeedInfo.seed([D33AFC3859C89AA3]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNull(Assert.java:551)
at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:236)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:799)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)




Build Log:
[...truncated 10893 lines...]
   [junit4] Suite: org.apache.solr.cloud.HttpPartitionTest
   [junit4]   2 Creating dataDir: 
/home/jenkins/workspace/Lucene-Solr-5.x-Linux/solr/build/solr-core/test/J2/temp/solr.cloud.HttpPartitionTest_D33AFC3859C89AA3-001/init-core-data-001
   [junit4]   2 1166741 INFO  
(SUITE-HttpPartitionTest-seed#[D33AFC3859C89AA3]-worker) [] 
o.a.s.BaseDistributedSearchTestCase Setting hostContext system property: /
   [junit4]   2 1166743 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
   [junit4]   2 1166743 INFO  (Thread-3619) [] o.a.s.c.ZkTestServer client 
port:0.0.0.0/0.0.0.0:0
   [junit4]   2 1166743 INFO  (Thread-3619) [] o.a.s.c.ZkTestServer 
Starting server
   [junit4]   2 1166843 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.ZkTestServer start zk server on port:55257
   [junit4]   2 1166843 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
   [junit4]   2 1166844 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.c.ConnectionManager Waiting for client to connect to ZooKeeper
   [junit4]   2 1166846 INFO  (zkCallback-1025-thread-1) [] 
o.a.s.c.c.ConnectionManager Watcher 
org.apache.solr.common.cloud.ConnectionManager@5f5d3372 
name:ZooKeeperConnection Watcher:127.0.0.1:55257 got event WatchedEvent 
state:SyncConnected type:None path:null path:null type:None
   [junit4]   2 1166846 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.c.ConnectionManager Client is connected to ZooKeeper
   [junit4]   2 1166846 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.c.SolrZkClient Using default ZkACLProvider
   [junit4]   2 1166846 INFO  
(TEST-HttpPartitionTest.test-seed#[D33AFC3859C89AA3]) [] 
o.a.s.c.c.SolrZkClient makePath: /solr
   [junit4]   2 

RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13972 - Failure!

2015-08-23 Thread Uwe Schindler
I am digging, seems to be SOLR-7770 related. The problem with the new Locale 
Data in the JDK9 is that not all possible Timezone Short identifiers are 
available... I will try this date and send it back to Rory for addition to 
https://bugs.openjdk.java.net/browse/JDK-8130845

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

 From: Policeman Jenkins Server [mailto:jenk...@thetaphi.de]
 Sent: Sunday, August 23, 2015 7:55 PM
 To: dev@lucene.apache.org
 Subject: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build
 # 13972 - Failure!
 Importance: Low
 
 Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13972/
 Java: 32bit/jdk1.9.0-ea-b78 -client -XX:+UseConcMarkSweepGC
 
 4 tests failed.
 FAILED:
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPassw
 ordProtected
 
 Error Message:
 Invalid Date String:'Sat Jun 23 02:57:58 XJT 2012'
 
 Stack Trace:
 org.apache.solr.common.SolrException: Invalid Date String:'Sat Jun 23
 02:57:58 XJT 2012'
   at
 __randomizedtesting.SeedInfo.seed([ABCF3FCC3426170F:AD6ABB37CA1F47
 D5]:0)
   at
 org.apache.solr.util.DateFormatUtil.parseMath(DateFormatUtil.java:89)
   at org.apache.solr.schema.TrieField.createField(TrieField.java:695)
   at org.apache.solr.schema.TrieField.createFields(TrieField.java:732)
   at
 org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:48
 )
   at
 org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.jav
 a:123)
   at
 org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpd
 ateCommand.java:84)
   at
 org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpda
 teHandler2.java:268)
   at
 org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandle
 r2.java:202)
   at
 org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler
 2.java:164)
   at
 org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUp
 dateProcessorFactory.java:69)
   at
 org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(Up
 dateRequestProcessor.java:51)
   at
 org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(
 DistributedUpdateProcessor.java:980)
   at
 org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(
 DistributedUpdateProcessor.java:705)
   at
 org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpd
 ateProcessorFactory.java:104)
   at
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.doAdd(Extrac
 tingDocumentLoader.java:122)
   at
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.addDoc(Extra
 ctingDocumentLoader.java:127)
   at
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(Extractin
 gDocumentLoader.java:230)
   at
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(Co
 ntentStreamHandlerBase.java:74)
   at
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandl
 erBase.java:151)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:2079)
   at
 org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:339)
   at
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocalF
 romHandler(ExtractingRequestHandlerTest.java:737)
   at
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocal(
 ExtractingRequestHandlerTest.java:744)
   at
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPassw
 ordProtected(ExtractingRequestHandlerTest.java:662)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
 ava:62)
   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 sorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:504)
   at
 com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(Randomize
 dRunner.java:1627)
   at
 com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(Rando
 mizedRunner.java:836)
   at
 com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(Rando
 mizedRunner.java:872)
   at
 com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(Rando
 mizedRunner.java:886)
   at
 com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.
 evaluate(SystemPropertiesRestoreRule.java:57)
   at
 org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRule
 SetupTeardownChained.java:50)
   at
 org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeA
 fterRule.java:46)
   at
 org.apache.lucene.util.TestRuleThreadAndTestName$1.evaluate(TestRuleTh
 readAndTestName.java:49)
   at
 org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRule
 IgnoreAfterMaxFailures.java:65)
   at
 

Re: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13972 - Failure!

2015-08-23 Thread Steve Rowe
This doesn’t reproduce for me on Java8 on Linux or OS X.

Uwe, do you know if there is a known Java9 issue here?

Steve

 On Aug 23, 2015, at 1:55 PM, Policeman Jenkins Server jenk...@thetaphi.de 
 wrote:
 
 Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13972/
 Java: 32bit/jdk1.9.0-ea-b78 -client -XX:+UseConcMarkSweepGC
 
 4 tests failed.
 FAILED:  
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPasswordProtected
 
 Error Message:
 Invalid Date String:'Sat Jun 23 02:57:58 XJT 2012'
 
 Stack Trace:
 org.apache.solr.common.SolrException: Invalid Date String:'Sat Jun 23 
 02:57:58 XJT 2012'
   at 
 __randomizedtesting.SeedInfo.seed([ABCF3FCC3426170F:AD6ABB37CA1F47D5]:0)
   at org.apache.solr.util.DateFormatUtil.parseMath(DateFormatUtil.java:89)
   at org.apache.solr.schema.TrieField.createField(TrieField.java:695)
   at org.apache.solr.schema.TrieField.createFields(TrieField.java:732)
   at 
 org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:48)
   at 
 org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:123)
   at 
 org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:84)
   at 
 org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpdateHandler2.java:268)
   at 
 org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:202)
   at 
 org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)
   at 
 org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)
   at 
 org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
   at 
 org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:980)
   at 
 org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:705)
   at 
 org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:104)
   at 
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.doAdd(ExtractingDocumentLoader.java:122)
   at 
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.addDoc(ExtractingDocumentLoader.java:127)
   at 
 org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:230)
   at 
 org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
   at 
 org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:151)
   at org.apache.solr.core.SolrCore.execute(SolrCore.java:2079)
   at 
 org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:339)
   at 
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocalFromHandler(ExtractingRequestHandlerTest.java:737)
   at 
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocal(ExtractingRequestHandlerTest.java:744)
   at 
 org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPasswordProtected(ExtractingRequestHandlerTest.java:662)
   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:504)
   at 
 com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
   at 
 com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
   at 
 com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
   at 
 com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
   at 
 com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
   at 
 org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
   at 
 org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
   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 
 

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

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-5.x-Java7/3441/

1 tests failed.
REGRESSION:  
org.apache.solr.util.TestSolrCLIRunExample.testInteractiveSolrCloudExample

Error Message:
Could not find a healthy node to handle the request.

Stack Trace:
org.apache.solr.common.SolrException: Could not find a healthy node to handle 
the request.
at 
__randomizedtesting.SeedInfo.seed([EE387DDC8C6300B:D5926717FFB3F56D]:0)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:1071)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:857)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:940)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:940)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:940)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:940)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:940)
at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:800)
at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)
at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:483)
at org.apache.solr.client.solrj.SolrClient.commit(SolrClient.java:464)
at 
org.apache.solr.util.TestSolrCLIRunExample.testInteractiveSolrCloudExample(TestSolrCLIRunExample.java:443)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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 

RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b76) - Build # 13911 - Failure!

2015-08-23 Thread Uwe Schindler
Hi Rory, hi Balchandra,

I just wanted to keep you up-to-date: Yesterday I updated to JDK 9 build 78 and 
up to now, there was no total failure anymore (neither on 32 bits, nor on 64 
bits). We had to only change one test on our side, because the change to 
Unicode version 7.0 for Java 9 caused some problems with our list of whitespace 
chars (the character properties of one char changed) - this was easy to fix.

About the problems we have seen before: I checked the changes log, but I have 
no idea, which change could have fixed the problems we had seen. Did you do any 
internal checks and contacted some people? Maybe they fixed the bug, but 
because we did not know what was wrong, I cannot correlate the changes with 
what we have seen. But maybe it is not yet fixed at all, it could be that we 
just have not seen any failure up to now - so we have to wait a few days. So it 
would be good to get in contact with the right people to figure out, which 
change may have caused the problems we have seen (suddenly almost all tests 
failed, but not reproducible on all machines - my local laptop never hit it, 
only the Policeman Jenkins Server - which has a much newer Haswell CPU 
including Advanced Vector Instructions AVX2).

I also had to change the signatures generator for deprecated signatures in 
Forbidden-APIs, because of the new layout of the FileSystem for the modules 
(jrt:/modules/java.base/... now). I am not really happy about this change, 
because it is also inconsistent with the class loader that still reports 
jrt:/java.base/... on Classloader.getResource(). Should we open an issue, 
maybe that was not wanted by Mark Reinhold?

In addition I updated to Java 8u60. Please give me a note when new preview 
builds for Java 8u80 will be available. At the moment we only test the Java 9 
preview builds.
 
Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de

 -Original Message-
 From: Uwe Schindler [mailto:u...@thetaphi.de]
 Sent: Wednesday, August 19, 2015 1:05 AM
 To: dev@lucene.apache.org
 Cc: rory.odonn...@oracle.com; Balchandra Vaidya; Dalibor Topic; 'Vivek
 Theeyarath'; dawid.we...@cs.put.poznan.pl
 Subject: RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b76) -
 Build # 13911 - Failure!
 
 Hi Rory, hi Balchandra,
 
 Java 9 (now testing build 76) Hotspot implementation is still broken like hell
 (at least in the 32 bits Linux builds, 64 bits seems more stable - have not 
 seen
 the same error)!
 We should really contact the hotspot people directly on the mailing list to 
 get
 them on board, maybe they should have some test environment and run the
 tests of Lucene on their own machines. Just opening bug reports does not
 make sense here, because every failure looks different and we have no idea
 what's wrong.
 
 I will be on vacation the next days, so I cannot take care. I reverted back to
 build 60, so it does not fail all the time.
 
 Uwe
 
 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de
 
 
  -Original Message-
  From: Policeman Jenkins Server [mailto:jenk...@thetaphi.de]
  Sent: Wednesday, August 19, 2015 12:57 AM
  To: dev@lucene.apache.org
  Subject: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b76) -
 Build
  # 13911 - Failure!
  Importance: Low
 
  Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13911/
  Java: 32bit/jdk1.9.0-ea-b76 -server -XX:+UseSerialGC -
  Djava.locale.providers=JRE,SPI
 
  177 tests failed.
  FAILED:  org.apache.lucene.TestDemo.testDemo
 
  Error Message:
  expected:1 but was:0
 
  Stack Trace:
  java.lang.AssertionError: expected:1 but was:0
  at
 
 __randomizedtesting.SeedInfo.seed([37AED9B3EB35A2BD:48026506DAE888
  AD]: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.lucene.TestDemo.testDemo(TestDemo.java:62)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at
 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
  ava:62)
  at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  sorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:504)
  at
 
 com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(Randomize
  dRunner.java:1627)
  at
 
 com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(Rando
  mizedRunner.java:836)
  at
 
 com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(Rando
  mizedRunner.java:872)
  at
 
 com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(Rando
  mizedRunner.java:886)
  at
 
 org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRule
  SetupTeardownChained.java:50)
  at
 
 

[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.8.0_60) - Build # 13969 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13969/
Java: 32bit/jdk1.8.0_60 -client -XX:+UseConcMarkSweepGC

1 tests failed.
FAILED:  org.apache.solr.cloud.CdcrReplicationHandlerTest.doTest

Error Message:
Captured an uncaught exception in thread: Thread[id=7887, 
name=RecoveryThread-source_collection_shard1_replica2, state=RUNNABLE, 
group=TGRP-CdcrReplicationHandlerTest]

Stack Trace:
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught 
exception in thread: Thread[id=7887, 
name=RecoveryThread-source_collection_shard1_replica2, state=RUNNABLE, 
group=TGRP-CdcrReplicationHandlerTest]
Caused by: org.apache.solr.common.cloud.ZooKeeperException: 
at __randomizedtesting.SeedInfo.seed([A34BE3BB12241BFA]:0)
at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:234)
Caused by: org.apache.solr.common.SolrException: java.io.FileNotFoundException: 
/home/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J2/temp/solr.cloud.CdcrReplicationHandlerTest_A34BE3BB12241BFA-001/jetty-001/cores/source_collection_shard1_replica2/data/tlog/tlog.007.1510295392317603840
 (No such file or directory)
at 
org.apache.solr.update.CdcrTransactionLog.reopenOutputStream(CdcrTransactionLog.java:244)
at 
org.apache.solr.update.CdcrTransactionLog.incref(CdcrTransactionLog.java:173)
at 
org.apache.solr.update.UpdateLog.getRecentUpdates(UpdateLog.java:1079)
at 
org.apache.solr.update.UpdateLog.seedBucketsWithHighestVersion(UpdateLog.java:1579)
at 
org.apache.solr.update.UpdateLog.seedBucketsWithHighestVersion(UpdateLog.java:1610)
at org.apache.solr.core.SolrCore.seedVersionBuckets(SolrCore.java:877)
at 
org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:526)
at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:227)
Caused by: java.io.FileNotFoundException: 
/home/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J2/temp/solr.cloud.CdcrReplicationHandlerTest_A34BE3BB12241BFA-001/jetty-001/cores/source_collection_shard1_replica2/data/tlog/tlog.007.1510295392317603840
 (No such file or directory)
at java.io.RandomAccessFile.open0(Native Method)
at java.io.RandomAccessFile.open(RandomAccessFile.java:316)
at java.io.RandomAccessFile.init(RandomAccessFile.java:243)
at 
org.apache.solr.update.CdcrTransactionLog.reopenOutputStream(CdcrTransactionLog.java:236)
... 7 more




Build Log:
[...truncated 10605 lines...]
   [junit4] Suite: org.apache.solr.cloud.CdcrReplicationHandlerTest
   [junit4]   2 Creating dataDir: 
/home/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J2/temp/solr.cloud.CdcrReplicationHandlerTest_A34BE3BB12241BFA-001/init-core-data-001
   [junit4]   2 1148388 INFO  
(SUITE-CdcrReplicationHandlerTest-seed#[A34BE3BB12241BFA]-worker) [] 
o.a.s.SolrTestCaseJ4 Randomized ssl (true) and clientAuth (false)
   [junit4]   2 1148388 INFO  
(SUITE-CdcrReplicationHandlerTest-seed#[A34BE3BB12241BFA]-worker) [] 
o.a.s.BaseDistributedSearchTestCase Setting hostContext system property: /
   [junit4]   2 1148390 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
   [junit4]   2 1148391 INFO  (Thread-3148) [] o.a.s.c.ZkTestServer client 
port:0.0.0.0/0.0.0.0:0
   [junit4]   2 1148391 INFO  (Thread-3148) [] o.a.s.c.ZkTestServer 
Starting server
   [junit4]   2 1148491 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.ZkTestServer start zk server on port:56510
   [junit4]   2 1148491 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
   [junit4]   2 1148492 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.ConnectionManager Waiting for client to connect to ZooKeeper
   [junit4]   2 1148494 INFO  (zkCallback-793-thread-1) [] 
o.a.s.c.c.ConnectionManager Watcher 
org.apache.solr.common.cloud.ConnectionManager@4fb007 name:ZooKeeperConnection 
Watcher:127.0.0.1:56510 got event WatchedEvent state:SyncConnected type:None 
path:null path:null type:None
   [junit4]   2 1148494 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.ConnectionManager Client is connected to ZooKeeper
   [junit4]   2 1148495 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.SolrZkClient Using default ZkACLProvider
   [junit4]   2 1148495 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.SolrZkClient makePath: /solr
   [junit4]   2 1148496 INFO  
(TEST-CdcrReplicationHandlerTest.doTest-seed#[A34BE3BB12241BFA]) [] 
o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
   [junit4]   2 1148497 INFO  

RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13972 - Failure!

2015-08-23 Thread Uwe Schindler
Hi Rory, hi Balchandra,

I set up a quick round trip test (it iterates all available timezones in the 
JDK, sets them as default, creates a String out of new Date().toString() and 
tried to parse that afterwards with ENGLISH, US and ROOT locale.

===
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

public final class Test {
  
  private static void testParse(Locale locale, String date) {
try {
  new SimpleDateFormat(EEE MMM d hh:mm:ss z , locale).parse(date);
  System.out.println(String.format(Locale.ENGLISH, OK parsing '%s' in 
locale '%s', date, locale));
} catch (ParseException pe) {
  System.out.println(String.format(Locale.ENGLISH, ERROR parsing '%s' in 
locale '%s': %s, date, locale, pe.toString()));
}
  }
  
  public static void main(String[] args) {
for (String id : TimeZone.getAvailableIDs()) {
  System.out.println(Testing time zone:  + id);
  TimeZone.setDefault(TimeZone.getTimeZone(id));
  
  // some date today:
  String date1 = new Date(1440358930504L).toString();
  testParse(Locale.ENGLISH, date1);
  testParse(Locale.US, date1);
  testParse(Locale.ROOT, date1);
  // half a year back to hit DST difference:
  String date2 = new Date(1440358930504L - 8640L * 180).toString();
  testParse(Locale.ENGLISH, date2);
  testParse(Locale.US, date2);
  testParse(Locale.ROOT, date2);
}
  } 
   
}


With Java 8 this passes, with Java 9 build 78 it fails for several timezones. 
The funny thing is: SimpleDateFormat is not even able to parse UTC - LOL.

Could you pass this to the issue after reopening? It’s a good test!

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Uwe Schindler [mailto:u...@thetaphi.de]
 Sent: Sunday, August 23, 2015 9:19 PM
 To: dev@lucene.apache.org
 Cc: rory.odonn...@oracle.com; 'Balchandra Vaidya'
 Subject: RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) -
 Build # 13972 - Failure!
 
 Hi Rory, hi Balchandra,
 
 the fix about https://bugs.openjdk.java.net/browse/JDK-8130845 is still
 incomplete.
 
 Our test framework found a date string which was created by
 Date#toString(), which is not parseable, neither with ENGLISH, US or ROOT
 locale!
 
 Here is test program:
 
 =
 import java.text.ParseException;
 import java.text.SimpleDateFormat;
 import java.util.Locale;
 
 public final class Test {
 
   private static void testParse(Locale locale) {
 try {
   new SimpleDateFormat(EEE MMM d hh:mm:ss z ,
 locale).parse(Sat Jun 23 02:57:58 XJT 2012);
   System.out.println(OK:  + locale);
 } catch (ParseException pe) {
   pe.printStackTrace();
 }
   }
 
   public static void main(String[] args) {
 testParse(Locale.ENGLISH);
 testParse(Locale.US);
 testParse(Locale.ROOT);
   }
 
 }
 =
 
 Can you reopen https://bugs.openjdk.java.net/browse/JDK-8130845 and
 attach the above program?
 It passes with Java 8, but fails with Java 9.
 
 The Date was created by Date#toString(). XJT is Xinjiang Time also known as
 Asia/Kashgar, used in parts of China
 (https://en.wikipedia.org/wiki/Asia/Kashgar). I would suggest to the
 developer of the Locale updates, that there should be some test that asserts
 the round trip between the above Date format and Date#toString() for all
 Timezones available.
 
 Uwe
 
 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de
 
 
  -Original Message-
  From: Uwe Schindler [mailto:u...@thetaphi.de]
  Sent: Sunday, August 23, 2015 8:27 PM
  To: dev@lucene.apache.org
  Cc: rory.odonn...@oracle.com; Balchandra Vaidya
  Subject: RE: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) -
  Build # 13972 - Failure!
 
  I am digging, seems to be SOLR-7770 related. The problem with the new
  Locale Data in the JDK9 is that not all possible Timezone Short identifiers 
  are
  available... I will try this date and send it back to Rory for addition to
  https://bugs.openjdk.java.net/browse/JDK-8130845
 
  Uwe
 
  -
  Uwe Schindler
  H.-H.-Meier-Allee 63, D-28213 Bremen
  http://www.thetaphi.de
  eMail: u...@thetaphi.de
 
   From: Policeman Jenkins Server [mailto:jenk...@thetaphi.de]
   Sent: Sunday, August 23, 2015 7:55 PM
   To: dev@lucene.apache.org
   Subject: [JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78)
   - Build # 13972 - Failure!
   Importance: Low
  
   Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13972/
   Java: 32bit/jdk1.9.0-ea-b78 -client -XX:+UseConcMarkSweepGC
  
   4 tests failed.
   FAILED:
   

[JENKINS-EA] Lucene-Solr-trunk-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13972 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13972/
Java: 32bit/jdk1.9.0-ea-b78 -client -XX:+UseConcMarkSweepGC

4 tests failed.
FAILED:  
org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPasswordProtected

Error Message:
Invalid Date String:'Sat Jun 23 02:57:58 XJT 2012'

Stack Trace:
org.apache.solr.common.SolrException: Invalid Date String:'Sat Jun 23 02:57:58 
XJT 2012'
at 
__randomizedtesting.SeedInfo.seed([ABCF3FCC3426170F:AD6ABB37CA1F47D5]:0)
at org.apache.solr.util.DateFormatUtil.parseMath(DateFormatUtil.java:89)
at org.apache.solr.schema.TrieField.createField(TrieField.java:695)
at org.apache.solr.schema.TrieField.createFields(TrieField.java:732)
at 
org.apache.solr.update.DocumentBuilder.addField(DocumentBuilder.java:48)
at 
org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:123)
at 
org.apache.solr.update.AddUpdateCommand.getLuceneDocument(AddUpdateCommand.java:84)
at 
org.apache.solr.update.DirectUpdateHandler2.doNormalUpdate(DirectUpdateHandler2.java:268)
at 
org.apache.solr.update.DirectUpdateHandler2.addDoc0(DirectUpdateHandler2.java:202)
at 
org.apache.solr.update.DirectUpdateHandler2.addDoc(DirectUpdateHandler2.java:164)
at 
org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:69)
at 
org.apache.solr.update.processor.UpdateRequestProcessor.processAdd(UpdateRequestProcessor.java:51)
at 
org.apache.solr.update.processor.DistributedUpdateProcessor.versionAdd(DistributedUpdateProcessor.java:980)
at 
org.apache.solr.update.processor.DistributedUpdateProcessor.processAdd(DistributedUpdateProcessor.java:705)
at 
org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:104)
at 
org.apache.solr.handler.extraction.ExtractingDocumentLoader.doAdd(ExtractingDocumentLoader.java:122)
at 
org.apache.solr.handler.extraction.ExtractingDocumentLoader.addDoc(ExtractingDocumentLoader.java:127)
at 
org.apache.solr.handler.extraction.ExtractingDocumentLoader.load(ExtractingDocumentLoader.java:230)
at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:151)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2079)
at 
org.apache.solr.util.TestHarness.queryAndResponse(TestHarness.java:339)
at 
org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocalFromHandler(ExtractingRequestHandlerTest.java:737)
at 
org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.loadLocal(ExtractingRequestHandlerTest.java:744)
at 
org.apache.solr.handler.extraction.ExtractingRequestHandlerTest.testPasswordProtected(ExtractingRequestHandlerTest.java:662)
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:504)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
 

[jira] [Updated] (SOLR-7959) TestCloudPivotFacet failure

2015-08-23 Thread Steve Rowe (JIRA)

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

Steve Rowe updated SOLR-7959:
-
Attachment: tests-failures.txt

Attaching {{tests-failures.txt}} from the Jenkins job.

 TestCloudPivotFacet failure
 ---

 Key: SOLR-7959
 URL: https://issues.apache.org/jira/browse/SOLR-7959
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.3, Trunk, 5.4
Reporter: Steve Rowe
 Attachments: tests-failures.txt


 My Jenkins found a {{TestCloudPivotFacet}} failure 
 [http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.x-Java7/1680/].  
 Reproduces for me on OS X with Java7 on lucene_solr_5_3 and branch_5x, and 
 with Java8 on trunk:
 {noformat}
[junit4]   2 NOTE: reproduce with: ant test  
 -Dtestcase=TestCloudPivotFacet -Dtests.method=test 
 -Dtests.seed=BFCEF5426F0E7A6F -Dtests.slow=true -Dtests.locale=en_AU 
 -Dtests.timezone=America/Santiago -Dtests.asserts=true 
 -Dtests.file.encoding=ISO-8859-1
[junit4] FAILURE 33.0s J9  | TestCloudPivotFacet.test 
[junit4] Throwable #1: java.lang.AssertionError: 
 {main(facet=truefacet.pivot=%7B%21stats%3Dst1%7Dpivot_z_s1%2Cpivot_b1%2Cdense_pivot_i1facet.limit=6facet.pivot.mincount=4facet.sort=indexfacet.overrequest.count=2),extra(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index)}
  == pivot_z_s1,pivot_b1,dense_pivot_i1: 
 {params(rows=0),defaults({main({main(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index),extra(fq=%7B%21term+f%3Dpivot_z_s1%7Df)}),extra(fq=%7B%21term+f%3Dpivot_b1%7Dtrue)})}
  expected:4 but was:5
[junit4]  at 
 __randomizedtesting.SeedInfo.seed([BFCEF5426F0E7A6F:379ACA98C1F21797]:0)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:286)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.test(TestCloudPivotFacet.java:233)
[junit4]  at 
 org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
[junit4]  at 
 org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
[junit4]  at java.lang.Thread.run(Thread.java:745)
[junit4] Caused by: java.lang.AssertionError: 
 pivot_z_s1,pivot_b1,dense_pivot_i1: 
 {params(rows=0),defaults({main({main(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index),extra(fq=%7B%21term+f%3Dpivot_z_s1%7Df)}),extra(fq=%7B%21term+f%3Dpivot_b1%7Dtrue)})}
  expected:4 but was:5
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertNumFound(TestCloudPivotFacet.java:685)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertPivotData(TestCloudPivotFacet.java:340)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:307)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:318)
[junit4]  at 
 org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:276)
[junit4]  ... 42 more
 {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] [Created] (SOLR-7959) TestCloudPivotFacet failure

2015-08-23 Thread Steve Rowe (JIRA)
Steve Rowe created SOLR-7959:


 Summary: TestCloudPivotFacet failure
 Key: SOLR-7959
 URL: https://issues.apache.org/jira/browse/SOLR-7959
 Project: Solr
  Issue Type: Bug
Affects Versions: 5.3, Trunk, 5.4
Reporter: Steve Rowe


My Jenkins found a {{TestCloudPivotFacet}} failure 
[http://jenkins.sarowe.net/job/Lucene-Solr-tests-5.x-Java7/1680/].  Reproduces 
for me on OS X with Java7 on lucene_solr_5_3 and branch_5x, and with Java8 on 
trunk:

{noformat}
   [junit4]   2 NOTE: reproduce with: ant test  -Dtestcase=TestCloudPivotFacet 
-Dtests.method=test -Dtests.seed=BFCEF5426F0E7A6F -Dtests.slow=true 
-Dtests.locale=en_AU -Dtests.timezone=America/Santiago -Dtests.asserts=true 
-Dtests.file.encoding=ISO-8859-1
   [junit4] FAILURE 33.0s J9  | TestCloudPivotFacet.test 
   [junit4] Throwable #1: java.lang.AssertionError: 
{main(facet=truefacet.pivot=%7B%21stats%3Dst1%7Dpivot_z_s1%2Cpivot_b1%2Cdense_pivot_i1facet.limit=6facet.pivot.mincount=4facet.sort=indexfacet.overrequest.count=2),extra(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index)}
 == pivot_z_s1,pivot_b1,dense_pivot_i1: 
{params(rows=0),defaults({main({main(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index),extra(fq=%7B%21term+f%3Dpivot_z_s1%7Df)}),extra(fq=%7B%21term+f%3Dpivot_b1%7Dtrue)})}
 expected:4 but was:5
   [junit4]at 
__randomizedtesting.SeedInfo.seed([BFCEF5426F0E7A6F:379ACA98C1F21797]:0)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:286)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.test(TestCloudPivotFacet.java:233)
   [junit4]at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
   [junit4]at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
   [junit4]at java.lang.Thread.run(Thread.java:745)
   [junit4] Caused by: java.lang.AssertionError: 
pivot_z_s1,pivot_b1,dense_pivot_i1: 
{params(rows=0),defaults({main({main(rows=0q=id%3A%5B*+TO+590%5D_test_min=4_test_sort=index),extra(fq=%7B%21term+f%3Dpivot_z_s1%7Df)}),extra(fq=%7B%21term+f%3Dpivot_b1%7Dtrue)})}
 expected:4 but was:5
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertNumFound(TestCloudPivotFacet.java:685)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertPivotData(TestCloudPivotFacet.java:340)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:307)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:318)
   [junit4]at 
org.apache.solr.cloud.TestCloudPivotFacet.assertPivotCountsAreCorrect(TestCloudPivotFacet.java:276)
   [junit4]... 42 more
{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-trunk-Linux (64bit/jdk1.8.0_60) - Build # 13970 - Still Failing!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13970/
Java: 64bit/jdk1.8.0_60 -XX:-UseCompressedOops -XX:+UseSerialGC

1 tests failed.
FAILED:  org.apache.solr.cloud.CdcrReplicationHandlerTest.doTest

Error Message:
There are still nodes recoverying - waited for 330 seconds

Stack Trace:
java.lang.AssertionError: There are still nodes recoverying - waited for 330 
seconds
at 
__randomizedtesting.SeedInfo.seed([A9524CFDC0F5FA92:E16F459AD4EE92B]:0)
at org.junit.Assert.fail(Assert.java:93)
at 
org.apache.solr.cloud.AbstractDistribZkTestBase.waitForRecoveriesToFinish(AbstractDistribZkTestBase.java:172)
at 
org.apache.solr.cloud.AbstractDistribZkTestBase.waitForRecoveriesToFinish(AbstractDistribZkTestBase.java:133)
at 
org.apache.solr.cloud.AbstractDistribZkTestBase.waitForRecoveriesToFinish(AbstractDistribZkTestBase.java:128)
at 
org.apache.solr.cloud.BaseCdcrDistributedZkTest.waitForRecoveriesToFinish(BaseCdcrDistributedZkTest.java:465)
at 
org.apache.solr.cloud.BaseCdcrDistributedZkTest.clearSourceCollection(BaseCdcrDistributedZkTest.java:319)
at 
org.apache.solr.cloud.CdcrReplicationHandlerTest.doTestPartialReplication(CdcrReplicationHandlerTest.java:86)
at 
org.apache.solr.cloud.CdcrReplicationHandlerTest.doTest(CdcrReplicationHandlerTest.java:51)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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-5.x-Windows (64bit/jdk1.7.0_80) - Build # 5059 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/5059/
Java: 64bit/jdk1.7.0_80 -XX:+UseCompressedOops -XX:+UseG1GC

2 tests failed.
FAILED:  org.apache.lucene.rangetree.TestRangeTree.testRandomMedium

Error Message:
background merge hit exception: _p(5.4.0):C485/1:delGen=1 
_q(5.4.0):C485/1:delGen=1 _n(5.4.0):C485/1:delGen=1 _e(5.4.0):C485/2:delGen=1 
_j(5.4.0):C485/3:delGen=2 _s(5.4.0):C485 _l(5.4.0):C485/1:delGen=1 
_g(5.4.0):C485/2:delGen=1 _b(5.4.0):C485/5:delGen=1 _m(5.4.0):C485/1:delGen=1 
_7(5.4.0):C485/2:delGen=1 _f(5.4.0):C485/4:delGen=1 _k(5.4.0):C485/1:delGen=1 
_a(5.4.0):C485/3:delGen=1 _o(5.4.0):C485/1:delGen=1 _c(5.4.0):C485/5:delGen=1 
_h(5.4.0):C485 _8(5.4.0):C485/4:delGen=1 _i(5.4.0):C485/5:delGen=2 
_r(5.4.0):C485 _9(5.4.0):C485/2:delGen=2 _d(5.4.0):C485/4:delGen=1 
_6(5.4.0):C485/7:delGen=1 _5(5.4.0):C485/10:delGen=1 _3(5.4.0):C485/9:delGen=2 
_4(5.4.0):C485/13:delGen=1 _1(5.4.0):C485/14:delGen=2 
_2(5.4.0):C485/16:delGen=1 _0(5.4.0):C485/21:delGen=2 _t(5.4.0):C92 into _u 
[maxNumSegments=1]

Stack Trace:
java.io.IOException: background merge hit exception: _p(5.4.0):C485/1:delGen=1 
_q(5.4.0):C485/1:delGen=1 _n(5.4.0):C485/1:delGen=1 _e(5.4.0):C485/2:delGen=1 
_j(5.4.0):C485/3:delGen=2 _s(5.4.0):C485 _l(5.4.0):C485/1:delGen=1 
_g(5.4.0):C485/2:delGen=1 _b(5.4.0):C485/5:delGen=1 _m(5.4.0):C485/1:delGen=1 
_7(5.4.0):C485/2:delGen=1 _f(5.4.0):C485/4:delGen=1 _k(5.4.0):C485/1:delGen=1 
_a(5.4.0):C485/3:delGen=1 _o(5.4.0):C485/1:delGen=1 _c(5.4.0):C485/5:delGen=1 
_h(5.4.0):C485 _8(5.4.0):C485/4:delGen=1 _i(5.4.0):C485/5:delGen=2 
_r(5.4.0):C485 _9(5.4.0):C485/2:delGen=2 _d(5.4.0):C485/4:delGen=1 
_6(5.4.0):C485/7:delGen=1 _5(5.4.0):C485/10:delGen=1 _3(5.4.0):C485/9:delGen=2 
_4(5.4.0):C485/13:delGen=1 _1(5.4.0):C485/14:delGen=2 
_2(5.4.0):C485/16:delGen=1 _0(5.4.0):C485/21:delGen=2 _t(5.4.0):C92 into _u 
[maxNumSegments=1]
at 
__randomizedtesting.SeedInfo.seed([661AC63AFA3DBA25:DBC4F192BB58D943]:0)
at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1779)
at org.apache.lucene.index.IndexWriter.forceMerge(IndexWriter.java:1719)
at 
org.apache.lucene.rangetree.TestRangeTree.verify(TestRangeTree.java:402)
at 
org.apache.lucene.rangetree.TestRangeTree.doTestRandom(TestRangeTree.java:348)
at 
org.apache.lucene.rangetree.TestRangeTree.testRandomMedium(TestRangeTree.java:293)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
at 
com.carrotsearch.randomizedtesting.rules.NoShadowingOrOverridesOnMethodsRule$1.evaluate(NoShadowingOrOverridesOnMethodsRule.java:39)
at 

[JENKINS] Lucene-Solr-SmokeRelease-trunk - Build # 256 - Still Failing

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-trunk/256/

No tests ran.

Build Log:
[...truncated 52285 lines...]
prepare-release-no-sign:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist
 [copy] Copying 461 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/lucene
 [copy] Copying 245 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/solr
   [smoker] Java 1.8 
JAVA_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8
   [smoker] NOTE: output encoding is UTF-8
   [smoker] 
   [smoker] Load release URL 
file:/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/lucene/build/smokeTestRelease/dist/...
   [smoker] 
   [smoker] Test Lucene...
   [smoker]   test basics...
   [smoker]   get KEYS
   [smoker] 0.1 MB in 0.01 sec (13.1 MB/sec)
   [smoker]   check changes HTML...
   [smoker]   download lucene-6.0.0-src.tgz...
   [smoker] 28.1 MB in 0.03 sec (829.7 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   download lucene-6.0.0.tgz...
   [smoker] 64.9 MB in 0.08 sec (816.5 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   download lucene-6.0.0.zip...
   [smoker] 75.2 MB in 0.09 sec (819.2 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   unpack lucene-6.0.0.tgz...
   [smoker] verify JAR metadata/identity/no javax.* or java.* classes...
   [smoker] test demo with 1.8...
   [smoker]   got 5835 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] check Lucene's javadoc JAR
   [smoker]   unpack lucene-6.0.0.zip...
   [smoker] verify JAR metadata/identity/no javax.* or java.* classes...
   [smoker] test demo with 1.8...
   [smoker]   got 5835 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] check Lucene's javadoc JAR
   [smoker]   unpack lucene-6.0.0-src.tgz...
   [smoker] make sure no JARs/WARs in src dist...
   [smoker] run ant validate
   [smoker] run tests w/ Java 8 and testArgs='-Dtests.slow=false'...
   [smoker] test demo with 1.8...
   [smoker]   got 213 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] generate javadocs w/ Java 8...
   [smoker] 
   [smoker] Crawl/parse...
   [smoker] 
   [smoker] Verify...
   [smoker]   confirm all releases have coverage in TestBackwardsCompatibility
   [smoker] find all past Lucene releases...
   [smoker] run TestBackwardsCompatibility..
   [smoker] Releases that don't seem to be tested:
   [smoker]   5.3.0
   [smoker] Traceback (most recent call last):
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 1416, in module
   [smoker] main()
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 1361, in main
   [smoker] smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir, 
c.is_signed, ' '.join(c.test_args))
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 1399, in smokeTest
   [smoker] unpackAndVerify(java, 'lucene', tmpDir, 'lucene-%s-src.tgz' % 
version, svnRevision, version, testArgs, baseURL)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 583, in unpackAndVerify
   [smoker] verifyUnpacked(java, project, artifact, unpackPath, 
svnRevision, version, testArgs, tmpDir, baseURL)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 728, in verifyUnpacked
   [smoker] confirmAllReleasesAreTestedForBackCompat(unpackPath)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/dev-tools/scripts/smokeTestRelease.py,
 line 1354, in confirmAllReleasesAreTestedForBackCompat
   [smoker] raise RuntimeError('some releases are not tested by 
TestBackwardsCompatibility?')
   [smoker] RuntimeError: some releases are not tested by 
TestBackwardsCompatibility?

BUILD FAILED
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-trunk/build.xml:527:
 exec returned: 1

Total time: 37 minutes 15 seconds
Build step 'Invoke Ant' marked build as failure
Email was triggered for: Failure
Sending email for trigger: Failure



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

[JENKINS] Lucene-Solr-Tests-trunk-Java8 - Build # 303 - Failure

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-trunk-Java8/303/

1 tests failed.
REGRESSION:  org.apache.solr.update.AutoCommitTest.testCommitWithin

Error Message:
Exception during query

Stack Trace:
java.lang.RuntimeException: Exception during query
at 
__randomizedtesting.SeedInfo.seed([8B1EE0FDEDE1DACA:31CC8F856ECF34DF]:0)
at org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:765)
at 
org.apache.solr.update.AutoCommitTest.testCommitWithin(AutoCommitTest.java:321)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: REQUEST FAILED: 
xpath=//result[@numFound=1]
xml response was: ?xml version=1.0 encoding=UTF-8?
response
lst name=responseHeaderint name=status0/intint 
name=QTime0/int/lstresult name=response numFound=0 
start=0/result
/response

request was:q=id:529qt=standardstart=0rows=20version=2.2
at 

[jira] [Comment Edited] (LUCENE-6759) Integrate lat/long BKD and spatial 3d, part 2

2015-08-23 Thread Karl Wright (JIRA)

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

Karl Wright edited comment on LUCENE-6759 at 8/23/15 10:55 AM:
---

[~mikemccand] This patch reverts MINIMUM_RESOLUTION to 1e-12, and fixes the 
requirement for a high MINIMUM_RESOLUTION value another way.

All tests pass when this is done.  Since I've been adding tests every time your 
beasting finds something, that's meaningful.

Please bear in mind that this is probably not the *final* patch.  A final patch 
will have an even lower value for MINIMUM_RESOLUTION and probably more fixes 
designed to lower error values further.  But it does address the current 
issues, and the only way to know what breaks next is to pound on it.

I'd also like to know what exactly you do to beast this patch, so that I may 
do the same here.


was (Author: kwri...@metacarta.com):
[~mikemccand] This patch reverts MINIMUM_RESOLUTION to 1e-12, and fixes the 
requirement for a high MINIMUM_RESOLUTION value another way.

All tests pass when this is done.  Since I've been adding tests every time your 
beasting finds something, that's meaningful.

 Integrate lat/long BKD and spatial 3d, part 2
 -

 Key: LUCENE-6759
 URL: https://issues.apache.org/jira/browse/LUCENE-6759
 Project: Lucene - Core
  Issue Type: New Feature
Reporter: Michael McCandless
 Attachments: LUCENE-6699.patch


 This is just a continuation of LUCENE-6699, which became too big.



--
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: svn commit: r10236 - /dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/ /release/lucene/solr/5.3.0/

2015-08-23 Thread Uwe Schindler
Hi Noble,

what's the issue? We can maybe have a Google Hangout conference, if the problem 
persists!

Uwe

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: Noble Paul [mailto:noble.p...@gmail.com]
 Sent: Sunday, August 23, 2015 3:29 PM
 To: Lucene Dev
 Subject: Re: svn commit: r10236 - /dev/lucene/lucene-solr-5.3.0-RC2-
 rev1696229/solr/ /release/lucene/solr/5.3.0/
 
 maven artifacts released, thanks Steve.
 I have trouble releasing the website
 
 On Sat, Aug 22, 2015 at 11:58 PM, Steve Rowe sar...@gmail.com wrote:
  Noble, AFAICT looking at the staging repository you created at
 repository.apache.org, you didn’t close or release the staging repository.
 These are item #s 3 and 5 on http://wiki.apache.org/lucene-
 java/PublishMavenArtifacts.
 
  Note that item #4 (drop a staging repository) does not need to be
 performed - it’s there to let you know how to do it, not as a required step in
 the standard maven artifact release process.
 
  Steve
 
  On Aug 22, 2015, at 1:52 PM, Noble Paul noble.p...@gmail.com wrote:
 
  Maven has to be deployed separately (FYI, I still don’t see 5.3.0 on
  Maven Central!)
 
  I did follow the instructions here
  http://wiki.apache.org/lucene-java/PublishMavenArtifacts . I will
  have to check
 
  On Sat, Aug 22, 2015 at 11:20 PM, Noble Paul noble.p...@gmail.com
 wrote:
  done
 
  On Sat, Aug 22, 2015 at 5:42 PM, Noble Paul noble.p...@gmail.com
 wrote:
  Sure.  Will do
 
  On Aug 22, 2015 4:24 AM, Uwe Schindler u...@thetaphi.de wrote:
 
  Hi Noble,
 
  the Lucene/Solr release folders still contains Maven stuff, which
  should not be visible on the download distribution:
  http://www.apache.org/dist/lucene/java/5.3.0/
  Maven has to be deployed separately (FYI, I still don’t see 5.3.0
  on Maven
  Central!)
 
  Uwe
 
  -
  Uwe Schindler
  H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de
  eMail: u...@thetaphi.de
 
 
  -Original Message-
  From: no...@apache.org [mailto:no...@apache.org]
  Sent: Thursday, August 20, 2015 11:29 AM
  To: comm...@lucene.apache.org
  Subject: svn commit: r10236 - /dev/lucene/lucene-solr-5.3.0-RC2-
  rev1696229/solr/ /release/lucene/solr/5.3.0/
 
  Author: noble
  Date: Thu Aug 20 09:28:55 2015
  New Revision: 10236
 
  Log:
  Move Solr 5.3.0 RC2 to release repo.
 
  Added:
 release/lucene/solr/5.3.0/
   - copied from r10235,
  dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/
  Removed:
 dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
  For additional commands, e-mail: dev-h...@lucene.apache.org
 
 
 
 
 
  --
  -
  Noble Paul
 
 
 
  --
  -
  Noble Paul
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
  For additional commands, e-mail: dev-h...@lucene.apache.org
 
 
 
  -
  To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
  For additional commands, e-mail: dev-h...@lucene.apache.org
 
 
 
 
 --
 -
 Noble Paul
 
 -
 To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
 For additional commands, e-mail: dev-h...@lucene.apache.org


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



Re: svn commit: r10236 - /dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/ /release/lucene/solr/5.3.0/

2015-08-23 Thread Noble Paul
maven artifacts released, thanks Steve.
I have trouble releasing the website

On Sat, Aug 22, 2015 at 11:58 PM, Steve Rowe sar...@gmail.com wrote:
 Noble, AFAICT looking at the staging repository you created at 
 repository.apache.org, you didn’t close or release the staging repository. 
 These are item #s 3 and 5 on 
 http://wiki.apache.org/lucene-java/PublishMavenArtifacts.

 Note that item #4 (drop a staging repository) does not need to be performed - 
 it’s there to let you know how to do it, not as a required step in the 
 standard maven artifact release process.

 Steve

 On Aug 22, 2015, at 1:52 PM, Noble Paul noble.p...@gmail.com wrote:

 Maven has to be deployed separately (FYI, I still don’t see 5.3.0 on
 Maven Central!)

 I did follow the instructions here
 http://wiki.apache.org/lucene-java/PublishMavenArtifacts . I will have
 to check

 On Sat, Aug 22, 2015 at 11:20 PM, Noble Paul noble.p...@gmail.com wrote:
 done

 On Sat, Aug 22, 2015 at 5:42 PM, Noble Paul noble.p...@gmail.com wrote:
 Sure.  Will do

 On Aug 22, 2015 4:24 AM, Uwe Schindler u...@thetaphi.de wrote:

 Hi Noble,

 the Lucene/Solr release folders still contains Maven stuff, which should
 not be visible on the download distribution:
 http://www.apache.org/dist/lucene/java/5.3.0/
 Maven has to be deployed separately (FYI, I still don’t see 5.3.0 on Maven
 Central!)

 Uwe

 -
 Uwe Schindler
 H.-H.-Meier-Allee 63, D-28213 Bremen
 http://www.thetaphi.de
 eMail: u...@thetaphi.de


 -Original Message-
 From: no...@apache.org [mailto:no...@apache.org]
 Sent: Thursday, August 20, 2015 11:29 AM
 To: comm...@lucene.apache.org
 Subject: svn commit: r10236 - /dev/lucene/lucene-solr-5.3.0-RC2-
 rev1696229/solr/ /release/lucene/solr/5.3.0/

 Author: noble
 Date: Thu Aug 20 09:28:55 2015
 New Revision: 10236

 Log:
 Move Solr 5.3.0 RC2 to release repo.

 Added:
release/lucene/solr/5.3.0/
  - copied from r10235,
 dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/
 Removed:
dev/lucene/lucene-solr-5.3.0-RC2-rev1696229/solr/


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





 --
 -
 Noble Paul



 --
 -
 Noble Paul

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



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




-- 
-
Noble Paul

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



[jira] [Commented] (SOLR-7775) support SolrCloud collection as fromIndex param in query-time join

2015-08-23 Thread ASF subversion and git services (JIRA)

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

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

Commit 1697157 from m...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1697157 ]

SOLR-7775: \{\!join score=.. fromIndex=...\} supports single-sharded replicated 
SolrCloudollection

 support SolrCloud collection as fromIndex param in query-time join
 --

 Key: SOLR-7775
 URL: https://issues.apache.org/jira/browse/SOLR-7775
 Project: Solr
  Issue Type: Sub-task
  Components: query parsers
Reporter: Mikhail Khludnev
Assignee: Mikhail Khludnev
 Fix For: 5.3

 Attachments: SOLR-7775.patch, SOLR-7775.patch


 it's allusion to SOLR-4905, will be addressed right after SOLR-6234



--
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-7775) support SolrCloud collection as fromIndex param in query-time join

2015-08-23 Thread ASF subversion and git services (JIRA)

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

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

Commit 1697167 from m...@apache.org in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1697167 ]

SOLR-7775: {!join score=.. fromIndex=...} supports single-sharded replicated 
SolrCloud collection

 support SolrCloud collection as fromIndex param in query-time join
 --

 Key: SOLR-7775
 URL: https://issues.apache.org/jira/browse/SOLR-7775
 Project: Solr
  Issue Type: Sub-task
  Components: query parsers
Reporter: Mikhail Khludnev
Assignee: Mikhail Khludnev
 Fix For: 5.3

 Attachments: SOLR-7775.patch, SOLR-7775.patch


 it's allusion to SOLR-4905, will be addressed right after SOLR-6234



--
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-NightlyTests-trunk - Build # 773 - Still Failing

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-trunk/773/

5 tests failed.
FAILED:  
junit.framework.TestSuite.org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest

Error Message:
ERROR: SolrIndexSearcher opens=20 closes=19

Stack Trace:
java.lang.AssertionError: ERROR: SolrIndexSearcher opens=20 closes=19
at __randomizedtesting.SeedInfo.seed([585170DC09A44684]:0)
at org.junit.Assert.fail(Assert.java:93)
at 
org.apache.solr.SolrTestCaseJ4.endTrackingSearchers(SolrTestCaseJ4.java:467)
at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:233)
at sun.reflect.GeneratedMethodAccessor142.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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:799)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)


FAILED:  
junit.framework.TestSuite.org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest

Error Message:
2 threads leaked from SUITE scope at 
org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest: 1) Thread[id=16026, 
name=qtp978674930-16026, state=WAITING, 
group=TGRP-ChaosMonkeyNothingIsSafeTest] at 
java.lang.Object.wait(Native Method) at 
java.lang.Object.wait(Object.java:502) at 
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient.blockUntilFinished(ConcurrentUpdateSolrClient.java:404)
 at 
org.apache.solr.update.StreamingSolrClients.blockUntilFinished(StreamingSolrClients.java:103)
 at 
org.apache.solr.update.SolrCmdDistributor.blockAndDoRetries(SolrCmdDistributor.java:231)
 at 
org.apache.solr.update.SolrCmdDistributor.finish(SolrCmdDistributor.java:89)
 at 
org.apache.solr.update.processor.DistributedUpdateProcessor.doFinish(DistributedUpdateProcessor.java:781)
 at 
org.apache.solr.update.processor.DistributedUpdateProcessor.finish(DistributedUpdateProcessor.java:1655)
 at 
org.apache.solr.update.processor.LogUpdateProcessor.finish(LogUpdateProcessorFactory.java:183)
 at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:83)
 at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:151)
 at org.apache.solr.core.SolrCore.execute(SolrCore.java:2079) 
at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:667) 
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:460) at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:210)
 at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
 at 
org.apache.solr.client.solrj.embedded.JettySolrRunner$DebugFilter.doFilter(JettySolrRunner.java:106)
 at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)

[jira] [Commented] (SOLR-7958) Move TestUtil#randomWhitespace to the test that is sole user

2015-08-23 Thread ASF subversion and git services (JIRA)

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

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

Commit 1697262 from [~thetaphi] in branch 'dev/trunk'
[ https://svn.apache.org/r1697262 ]

SOLR-7958: Move TestUtil#randomWhitespace to the only Solr test that is using it

 Move TestUtil#randomWhitespace to the test that is sole user
 

 Key: SOLR-7958
 URL: https://issues.apache.org/jira/browse/SOLR-7958
 Project: Solr
  Issue Type: Test
Reporter: Uwe Schindler
Assignee: Uwe Schindler
 Attachments: SOLR-7958.patch


 Followup issue to: LUCENE-6760
 {{TestUtil#randomWhitespace}} is only used by 
 {{org.apache.solr.search.ReturnFieldsTest#testWhitespace()}}
 After talking with Robert, this method is not useful for Lucene, so we should 
 move it to just this test.



--
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-7888) Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a BooleanQuery filter parameter available in Solr

2015-08-23 Thread Arcadius Ahouansou (JIRA)

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

Arcadius Ahouansou updated SOLR-7888:
-
Attachment: SOLR-7888.patch

 Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a 
 BooleanQuery filter parameter available in Solr
 --

 Key: SOLR-7888
 URL: https://issues.apache.org/jira/browse/SOLR-7888
 Project: Solr
  Issue Type: New Feature
  Components: Suggester
Affects Versions: 5.2.1
Reporter: Arcadius Ahouansou
Assignee: Jan Høydahl
 Fix For: 5.4

 Attachments: SOLR-7888.patch, SOLR-7888.patch, SOLR-7888.patch, 
 SOLR-7888.patch


  LUCENE-6464 has introduced a very flexible lookup method that takes as 
 parameter a BooleanQuery that is used for filtering results.
 This ticket is to expose that method to Solr.
 This would allow user to do:
 {code}
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:tennis
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:golf
  AND contexts:football
 {code}
 etc
 Given that the context filtering in currently only implemented by the 
 {code}AnalyzingInfixSuggester{code} and by the 
 {code}BlendedInfixSuggester{code}, this initial implementation will support 
 only these 2 lookup implementations.



--
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-6723) Date field problems using ExtractingRequestHandler and java 9 (b71)

2015-08-23 Thread Uwe Schindler (JIRA)

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

Uwe Schindler commented on LUCENE-6723:
---

Specifically, this time this date failed to parse: Sat Jun 23 02:57:58 XJT 
2012

 Date field problems using ExtractingRequestHandler and java 9 (b71)
 ---

 Key: LUCENE-6723
 URL: https://issues.apache.org/jira/browse/LUCENE-6723
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Uwe Schindler
Priority: Critical
 Fix For: 5.3, Trunk, 5.4

 Attachments: SOLR-7770.patch


 Tracking bug to note that the (Tika based) ExtractingRequestHandler will not 
 work properly with jdk9 starting with build71.
 This first manifested itself with failures like this from the tests...
 {noformat}
[junit4]   2 NOTE: reproduce with: ant test  
 -Dtestcase=ExtractingRequestHandlerTest
 -Dtests.method=testArabicPDF -Dtests.seed=232D0A5404C2ADED 
 -Dtests.multiplier=3 -Dtests.slow=true
 -Dtests.locale=en_JM -Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true 
 -Dtests.file.encoding=UTF-8
[junit4] ERROR   0.58s | ExtractingRequestHandlerTest.testArabicPDF 
[junit4] Throwable #1: org.apache.solr.common.SolrException: Invalid 
 Date String:'Tue Mar 09 13:44:49
 GMT+07:00 2010'
 {noformat}
 Workarround noted by Uwe...
 {quote}
 The test passes on JDK 9 b71 with:
 -Dargs=-Djava.locale.providers=JRE,SPI
 This reenabled the old Locale data. I will add this to the build parameters 
 of policeman Jenkins to stop this from
 failing. To me it looks like the locale data somehow is not able to correctly 
 parse weekdays and/or timezones. I
 will check this out tomorrow and report a bug to the OpenJDK people. There is 
 something fishy with CLDR locale data.
 There are already some bugs open, so work is not yet finished (e.g. sometimes 
 it uses wrong timezone shortcuts,...)
 {quote}



--
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-6723) Date field problems using ExtractingRequestHandler and java 9 (b71)

2015-08-23 Thread Uwe Schindler (JIRA)

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

Uwe Schindler commented on LUCENE-6723:
---

Hi Rory, hi Balchandra,

I set up a quick round trip test (it iterates all available timezones in the 
JDK, sets them as default, creates a String out of new Date().toString() and 
tried to parse that afterwards with ENGLISH, US and ROOT locale.

{code:java}
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;

public final class Test {
  
  private static void testParse(Locale locale, String date) {
try {
  new SimpleDateFormat(EEE MMM d hh:mm:ss z , locale).parse(date);
  System.out.println(String.format(Locale.ENGLISH, OK parsing '%s' in 
locale '%s', date, locale));
} catch (ParseException pe) {
  System.out.println(String.format(Locale.ENGLISH, ERROR parsing '%s' in 
locale '%s': %s, date, locale, pe.toString()));
}
  }
  
  public static void main(String[] args) {
for (String id : TimeZone.getAvailableIDs()) {
  System.out.println(Testing time zone:  + id);
  TimeZone.setDefault(TimeZone.getTimeZone(id));
  
  // some date today:
  String date1 = new Date(1440358930504L).toString();
  testParse(Locale.ENGLISH, date1);
  testParse(Locale.US, date1);
  testParse(Locale.ROOT, date1);
  // half a year back to hit DST difference:
  String date2 = new Date(1440358930504L - 8640L * 180).toString();
  testParse(Locale.ENGLISH, date2);
  testParse(Locale.US, date2);
  testParse(Locale.ROOT, date2);
}
  } 
   
}
{code}

With Java 8 this passes, with Java 9 build 78 it fails for several timezones. 
The funny thing is: SimpleDateFormat is not even able to parse UTC - LOL.

Could you pass this to the issue after reopening? It’s a good test!


 Date field problems using ExtractingRequestHandler and java 9 (b71)
 ---

 Key: LUCENE-6723
 URL: https://issues.apache.org/jira/browse/LUCENE-6723
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Uwe Schindler
Priority: Critical
 Fix For: 5.3, Trunk, 5.4

 Attachments: SOLR-7770.patch


 Tracking bug to note that the (Tika based) ExtractingRequestHandler will not 
 work properly with jdk9 starting with build71.
 This first manifested itself with failures like this from the tests...
 {noformat}
[junit4]   2 NOTE: reproduce with: ant test  
 -Dtestcase=ExtractingRequestHandlerTest
 -Dtests.method=testArabicPDF -Dtests.seed=232D0A5404C2ADED 
 -Dtests.multiplier=3 -Dtests.slow=true
 -Dtests.locale=en_JM -Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true 
 -Dtests.file.encoding=UTF-8
[junit4] ERROR   0.58s | ExtractingRequestHandlerTest.testArabicPDF 
[junit4] Throwable #1: org.apache.solr.common.SolrException: Invalid 
 Date String:'Tue Mar 09 13:44:49
 GMT+07:00 2010'
 {noformat}
 Workarround noted by Uwe...
 {quote}
 The test passes on JDK 9 b71 with:
 -Dargs=-Djava.locale.providers=JRE,SPI
 This reenabled the old Locale data. I will add this to the build parameters 
 of policeman Jenkins to stop this from
 failing. To me it looks like the locale data somehow is not able to correctly 
 parse weekdays and/or timezones. I
 will check this out tomorrow and report a bug to the OpenJDK people. There is 
 something fishy with CLDR locale data.
 There are already some bugs open, so work is not yet finished (e.g. sometimes 
 it uses wrong timezone shortcuts,...)
 {quote}



--
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] (SOLR-7958) Move TestUtil#randomWhitespace to the test that is sole user

2015-08-23 Thread Uwe Schindler (JIRA)

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

Uwe Schindler resolved SOLR-7958.
-
Resolution: Fixed

Done.

 Move TestUtil#randomWhitespace to the test that is sole user
 

 Key: SOLR-7958
 URL: https://issues.apache.org/jira/browse/SOLR-7958
 Project: Solr
  Issue Type: Test
  Components: Tests
Reporter: Uwe Schindler
Assignee: Uwe Schindler
 Fix For: Trunk, 5.4

 Attachments: SOLR-7958.patch


 Followup issue to: LUCENE-6760
 {{TestUtil#randomWhitespace}} is only used by 
 {{org.apache.solr.search.ReturnFieldsTest#testWhitespace()}}
 After talking with Robert, this method is not useful for Lucene, so we should 
 move it to just this test.



--
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-7958) Move TestUtil#randomWhitespace to the test that is sole user

2015-08-23 Thread Uwe Schindler (JIRA)

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

Uwe Schindler updated SOLR-7958:

Fix Version/s: 5.4
   Trunk
  Component/s: Tests

 Move TestUtil#randomWhitespace to the test that is sole user
 

 Key: SOLR-7958
 URL: https://issues.apache.org/jira/browse/SOLR-7958
 Project: Solr
  Issue Type: Test
  Components: Tests
Reporter: Uwe Schindler
Assignee: Uwe Schindler
 Fix For: Trunk, 5.4

 Attachments: SOLR-7958.patch


 Followup issue to: LUCENE-6760
 {{TestUtil#randomWhitespace}} is only used by 
 {{org.apache.solr.search.ReturnFieldsTest#testWhitespace()}}
 After talking with Robert, this method is not useful for Lucene, so we should 
 move it to just this test.



--
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-EA] Lucene-Solr-5.x-Linux (32bit/jdk1.9.0-ea-b78) - Build # 13696 - Still Failing!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13696/
Java: 32bit/jdk1.9.0-ea-b78 -server -XX:+UseG1GC

95 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.lucene.index.TestIndexWriterDelete

Error Message:
1 thread leaked from SUITE scope at 
org.apache.lucene.index.TestIndexWriterDelete: 1) Thread[id=492, 
name=LuceneTestCase-8-thread-1, state=WAITING, 
group=TGRP-TestIndexWriterDelete] at sun.misc.Unsafe.park(Native 
Method) at 
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) 
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 1 thread leaked from SUITE 
scope at org.apache.lucene.index.TestIndexWriterDelete: 
   1) Thread[id=492, name=LuceneTestCase-8-thread-1, state=WAITING, 
group=TGRP-TestIndexWriterDelete]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:746)
at __randomizedtesting.SeedInfo.seed([93B7789235A85230]:0)


FAILED:  junit.framework.TestSuite.org.apache.lucene.index.TestIndexWriterDelete

Error Message:
There are still zombie threads that couldn't be terminated:1) 
Thread[id=492, name=LuceneTestCase-8-thread-1, state=WAITING, 
group=TGRP-TestIndexWriterDelete] at sun.misc.Unsafe.park(Native 
Method) at 
java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) 
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: There are still zombie 
threads that couldn't be terminated:
   1) Thread[id=492, name=LuceneTestCase-8-thread-1, state=WAITING, 
group=TGRP-TestIndexWriterDelete]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at 
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:746)
at __randomizedtesting.SeedInfo.seed([93B7789235A85230]:0)


FAILED:  
org.apache.lucene.codecs.lucene50.TestBlockPostingsFormat.testLegacyEnumPositions

Error Message:


Stack Trace:
java.lang.NullPointerException
at 
__randomizedtesting.SeedInfo.seed([93B7789235A85230:16BE6A76CCF29FBB]:0)
at 
org.apache.lucene.index.BasePostingsFormatTestCase.testLegacyEnumPositions(BasePostingsFormatTestCase.java:1616)
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:504)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner.invoke(RandomizedRunner.java:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 

[jira] [Commented] (SOLR-7888) Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a BooleanQuery filter parameter available in Solr

2015-08-23 Thread Arcadius Ahouansou (JIRA)

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

Arcadius Ahouansou commented on SOLR-7888:
--

Hello [~janhoy]

- I have changed the param name to {{suggest.cfq}}

- the constant {{CONTEXTS_FIELD_NAME}} is still in {{Lookup.java}} awaiting 
confirmation from [~mikemccand]

- Regarding the local params {code}{!terms f=contexts}abc,def,ghi{code}
I had a look and the local parameter parsing happens in 
{{QParser.getParser(String qstr, String defaultParser, SolrQueryRequest req)}}.
The current query parser framework relies on the solr schema for the query 
field and the analyzer.
In our case, the analyzer is in the schema but the query/filter field is not.
I have started implementing this and some reworking is required to reuse the 
existing  QParser/QParserPlugin
I would suggest we add the local param feature as an enhancement later if that 
is OK.

Please let me know if there is any other change to be done.

Thank you.

Arcadius

 Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a 
 BooleanQuery filter parameter available in Solr
 --

 Key: SOLR-7888
 URL: https://issues.apache.org/jira/browse/SOLR-7888
 Project: Solr
  Issue Type: New Feature
  Components: Suggester
Affects Versions: 5.2.1
Reporter: Arcadius Ahouansou
Assignee: Jan Høydahl
 Fix For: 5.4

 Attachments: SOLR-7888.patch, SOLR-7888.patch, SOLR-7888.patch, 
 SOLR-7888.patch


  LUCENE-6464 has introduced a very flexible lookup method that takes as 
 parameter a BooleanQuery that is used for filtering results.
 This ticket is to expose that method to Solr.
 This would allow user to do:
 {code}
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:tennis
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:golf
  AND contexts:football
 {code}
 etc
 Given that the context filtering in currently only implemented by the 
 {code}AnalyzingInfixSuggester{code} and by the 
 {code}BlendedInfixSuggester{code}, this initial implementation will support 
 only these 2 lookup implementations.



--
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_60) - Build # 13697 - Still Failing!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13697/
Java: 32bit/jdk1.8.0_60 -server -XX:+UseSerialGC

1 tests failed.
FAILED:  org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest.test

Error Message:
document count mismatch.  control=546 sum(shards)=545 cloudClient=545

Stack Trace:
java.lang.AssertionError: document count mismatch.  control=546 sum(shards)=545 
cloudClient=545
at 
__randomizedtesting.SeedInfo.seed([ED1E1195BB47073:8685DEC3F5481D8B]:0)
at org.junit.Assert.fail(Assert.java:93)
at 
org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1298)
at 
org.apache.solr.cloud.ChaosMonkeyNothingIsSafeTest.test(ChaosMonkeyNothingIsSafeTest.java:233)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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] [Reopened] (LUCENE-6723) Date field problems using ExtractingRequestHandler and java 9 (b71)

2015-08-23 Thread Uwe Schindler (JIRA)

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

Uwe Schindler reopened LUCENE-6723:
---

I reopen this issue, because with Java 9 build 78 there are still problems 
(which are bugs in the JDK). This time the timezones cannot be parsed correctly.

 Date field problems using ExtractingRequestHandler and java 9 (b71)
 ---

 Key: LUCENE-6723
 URL: https://issues.apache.org/jira/browse/LUCENE-6723
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Hoss Man
Assignee: Uwe Schindler
Priority: Critical
 Fix For: 5.3, Trunk, 5.4

 Attachments: SOLR-7770.patch


 Tracking bug to note that the (Tika based) ExtractingRequestHandler will not 
 work properly with jdk9 starting with build71.
 This first manifested itself with failures like this from the tests...
 {noformat}
[junit4]   2 NOTE: reproduce with: ant test  
 -Dtestcase=ExtractingRequestHandlerTest
 -Dtests.method=testArabicPDF -Dtests.seed=232D0A5404C2ADED 
 -Dtests.multiplier=3 -Dtests.slow=true
 -Dtests.locale=en_JM -Dtests.timezone=Etc/GMT-7 -Dtests.asserts=true 
 -Dtests.file.encoding=UTF-8
[junit4] ERROR   0.58s | ExtractingRequestHandlerTest.testArabicPDF 
[junit4] Throwable #1: org.apache.solr.common.SolrException: Invalid 
 Date String:'Tue Mar 09 13:44:49
 GMT+07:00 2010'
 {noformat}
 Workarround noted by Uwe...
 {quote}
 The test passes on JDK 9 b71 with:
 -Dargs=-Djava.locale.providers=JRE,SPI
 This reenabled the old Locale data. I will add this to the build parameters 
 of policeman Jenkins to stop this from
 failing. To me it looks like the locale data somehow is not able to correctly 
 parse weekdays and/or timezones. I
 will check this out tomorrow and report a bug to the OpenJDK people. There is 
 something fishy with CLDR locale data.
 There are already some bugs open, so work is not yet finished (e.g. sometimes 
 it uses wrong timezone shortcuts,...)
 {quote}



--
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-EA] Lucene-Solr-5.x-Linux (64bit/jdk1.9.0-ea-b78) - Build # 13695 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/13695/
Java: 64bit/jdk1.9.0-ea-b78 -XX:+UseCompressedOops -XX:+UseG1GC

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

Error Message:
5 threads leaked from SUITE scope at 
org.apache.solr.cloud.SaslZkACLProviderTest: 1) Thread[id=2362, 
name=apacheds, state=WAITING, group=TGRP-SaslZkACLProviderTest] at 
java.lang.Object.wait(Native Method) at 
java.lang.Object.wait(Object.java:516) at 
java.util.TimerThread.mainLoop(Timer.java:526) at 
java.util.TimerThread.run(Timer.java:505)2) Thread[id=2364, 
name=ou=system.data, state=TIMED_WAITING, group=TGRP-SaslZkACLProviderTest] 
at sun.misc.Unsafe.park(Native Method) at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) 
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)3) Thread[id=2366, 
name=groupCache.data, state=TIMED_WAITING, group=TGRP-SaslZkACLProviderTest]
 at sun.misc.Unsafe.park(Native Method) at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) 
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)4) Thread[id=2365, 
name=kdcReplayCache.data, state=TIMED_WAITING, 
group=TGRP-SaslZkACLProviderTest] at sun.misc.Unsafe.park(Native 
Method) at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) 
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)5) Thread[id=2363, 
name=changePwdReplayCache.data, state=TIMED_WAITING, 
group=TGRP-SaslZkACLProviderTest] at sun.misc.Unsafe.park(Native 
Method) at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) 
at 
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
 at 
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
 at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)   
  at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
at java.lang.Thread.run(Thread.java:746)

Stack Trace:
com.carrotsearch.randomizedtesting.ThreadLeakError: 5 threads leaked from SUITE 
scope at org.apache.solr.cloud.SaslZkACLProviderTest: 
   1) Thread[id=2362, name=apacheds, state=WAITING, 
group=TGRP-SaslZkACLProviderTest]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:516)
at java.util.TimerThread.mainLoop(Timer.java:526)
at java.util.TimerThread.run(Timer.java:505)
   2) Thread[id=2364, name=ou=system.data, state=TIMED_WAITING, 
group=TGRP-SaslZkACLProviderTest]
at sun.misc.Unsafe.park(Native Method)
at 

[JENKINS] Lucene-Solr-5.x-Windows (32bit/jdk1.8.0_60) - Build # 5061 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Windows/5061/
Java: 32bit/jdk1.8.0_60 -server -XX:+UseSerialGC

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

Error Message:
ObjectTracker found 1 object(s) that were not released!!! [TransactionLog]

Stack Trace:
java.lang.AssertionError: ObjectTracker found 1 object(s) that were not 
released!!! [TransactionLog]
at __randomizedtesting.SeedInfo.seed([60BFDA9F772415D8]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNull(Assert.java:551)
at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:236)
at sun.reflect.GeneratedMethodAccessor32.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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:799)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)


FAILED:  junit.framework.TestSuite.org.apache.solr.cloud.HttpPartitionTest

Error Message:
Could not remove the following files (in the order of attempts):
C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data\tlog\tlog.000:
 java.nio.file.FileSystemException: 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data\tlog\tlog.000:
 The process cannot access the file because it is being used by another 
process. 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data\tlog:
 java.nio.file.DirectoryNotEmptyException: 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data\tlog

C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data:
 java.nio.file.DirectoryNotEmptyException: 
C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2\data

C:\Users\JenkinsSlave\workspace\Lucene-Solr-5.x-Windows\solr\build\solr-core\test\J1\temp\solr.cloud.HttpPartitionTest_60BFDA9F772415D8-001\shard-3-001\cores\c8n_1x2_leader_session_loss_shard1_replica2:
 java.nio.file.DirectoryNotEmptyException: 

RE: svn commit: r962830 [1/5] - in /websites/staging/lucene/trunk/content: ./ core/ openrelevance/ pylucene/ pylucene/jcc/ solr/

2015-08-23 Thread Uwe Schindler
For bulleted lists, markdown requires indenting by 4 chars. 
http://daringfireball.net/projects/markdown/syntax#list

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de


 -Original Message-
 From: build...@apache.org [mailto:build...@apache.org]
 Sent: Sunday, August 23, 2015 10:49 PM
 To: comm...@lucene.apache.org
 Subject: svn commit: r962830 [1/5] - in
 /websites/staging/lucene/trunk/content: ./ core/ openrelevance/ pylucene/
 pylucene/jcc/ solr/
 
 Author: buildbot
 Date: Sun Aug 23 20:48:59 2015
 New Revision: 962830
 
 Log:
 Staging update by buildbot for lucene
 
 Modified:
 websites/staging/lucene/trunk/content/   (props changed)
 websites/staging/lucene/trunk/content/core/corenews.html
 websites/staging/lucene/trunk/content/core/developer.html
 websites/staging/lucene/trunk/content/core/discussion.html
 websites/staging/lucene/trunk/content/core/documentation.html
 websites/staging/lucene/trunk/content/core/downloads.html
 websites/staging/lucene/trunk/content/core/features.html
 websites/staging/lucene/trunk/content/core/index.html
 websites/staging/lucene/trunk/content/core/mirrors-core-latest-
 redir.html
 websites/staging/lucene/trunk/content/core/mirrors-core-redir.html
 websites/staging/lucene/trunk/content/core/quickstart.html
 websites/staging/lucene/trunk/content/core/systemreqs.html
 websites/staging/lucene/trunk/content/index.html
 websites/staging/lucene/trunk/content/mainnews.html
 websites/staging/lucene/trunk/content/openrelevance/index.html
 websites/staging/lucene/trunk/content/openrelevance/mailing-lists.html
 websites/staging/lucene/trunk/content/openrelevance/orpnews.html
 websites/staging/lucene/trunk/content/privacy.html
 websites/staging/lucene/trunk/content/pylucene/features.html
 websites/staging/lucene/trunk/content/pylucene/index.html
 websites/staging/lucene/trunk/content/pylucene/install.html
 websites/staging/lucene/trunk/content/pylucene/jcc/features.html
 websites/staging/lucene/trunk/content/pylucene/jcc/index.html
 websites/staging/lucene/trunk/content/pylucene/jcc/install.html
 websites/staging/lucene/trunk/content/pylucene/mailing-lists.html
 websites/staging/lucene/trunk/content/pylucene/pynews.html
 websites/staging/lucene/trunk/content/pylucene/version_control.html
 websites/staging/lucene/trunk/content/site-instructions.html
 websites/staging/lucene/trunk/content/solr/downloads.html
 websites/staging/lucene/trunk/content/solr/features.html
 websites/staging/lucene/trunk/content/solr/index.html
 websites/staging/lucene/trunk/content/solr/logos-and-assets.html
 websites/staging/lucene/trunk/content/solr/mirrors-solr-latest-redir.html
 websites/staging/lucene/trunk/content/solr/mirrors-solr-redir.html
 websites/staging/lucene/trunk/content/solr/news.html
 websites/staging/lucene/trunk/content/solr/quickstart.html
 websites/staging/lucene/trunk/content/solr/resources.html
 
 Propchange: websites/staging/lucene/trunk/content/
 --
 --- cms:source-revision (original)
 +++ cms:source-revision Sun Aug 23 20:48:59 2015
 @@ -1 +1 @@
 -1696940
 +1697248
 
 Modified: websites/staging/lucene/trunk/content/core/corenews.html
 ==
 
 --- websites/staging/lucene/trunk/content/core/corenews.html (original)
 +++ websites/staging/lucene/trunk/content/core/corenews.html Sun Aug
 23 20:48:59 2015
 @@ -210,8 +210,56 @@
  div id=main
h1 class=title/h1
 
 -  divh1 id=lucenewzxhzdk0tmwzxhzdk1-core-newsLucenespan
 style=vertical-align: super; font-size: xx-smallTM/span Core
 News/h1
 -h2 id=15-june-2015-apache-lucenetm-521-available15 June 2015,
 Apache Luceneâ„¢ 5.2.1 available/h2
 +  divstyle type=text/css
 +/* The following code is added by mdx_elementid.py
 +   It was originally lifted from http://subversion.apache.org/style/site.css 
 */
 +/*
 + * Hide class=elementid-permalink, except when an enclosing heading
 + * has the :hover property.
 + */
 +.headerlink, .elementid-permalink {
 +  visibility: hidden;
 +}
 +h2:hover  .headerlink, h3:hover  .headerlink, h1:hover  .headerlink,
 h6:hover  .headerlink, h4:hover  .headerlink, h5:hover  .headerlink,
 dt:hover  .elementid-permalink { visibility: visible }/style
 +h1 id=lucenetm-core-newsLucenespan style=vertical-align: super;
 font-size: xx-smallTM/span Core Newsa class=headerlink
 href=#lucenetm-core-news title=Permanent linkpara;/a/h1
 +h2 id=25-august-2015-apache-lucenetm-530-available25 August 2015,
 Apache Luceneâ„¢ 5.3.0 availablea class=headerlink href=#25-august-
 2015-apache-lucenetm-530-available title=Permanent
 linkpara;/a/h2
 +pThe Lucene PMC is pleased to announce the release of Apache Lucene
 5.3.0/p
 +pApache Lucene is a high-performance, 

[JENKINS] Lucene-Solr-NightlyTests-5.x - Build # 936 - Still Failing

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-NightlyTests-5.x/936/

3 tests failed.
FAILED:  org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.test

Error Message:
shard2 is not consistent.  Got 1190 from 
http://127.0.0.1:40588/djf/collection1lastClient and got 793 from 
http://127.0.0.1:52105/djf/collection1

Stack Trace:
java.lang.AssertionError: shard2 is not consistent.  Got 1190 from 
http://127.0.0.1:40588/djf/collection1lastClient and got 793 from 
http://127.0.0.1:52105/djf/collection1
at 
__randomizedtesting.SeedInfo.seed([49D118F2C6A76DF4:C1852728685B000C]:0)
at org.junit.Assert.fail(Assert.java:93)
at 
org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1246)
at 
org.apache.solr.cloud.AbstractFullDistribZkTestBase.checkShardConsistency(AbstractFullDistribZkTestBase.java:1225)
at 
org.apache.solr.cloud.ChaosMonkeySafeLeaderTest.test(ChaosMonkeySafeLeaderTest.java:165)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
at 
org.apache.lucene.util.TestRuleMarkFailure$1.evaluate(TestRuleMarkFailure.java:48)
at 
org.apache.lucene.util.TestRuleIgnoreAfterMaxFailures$1.evaluate(TestRuleIgnoreAfterMaxFailures.java:65)
at 

[JENKINS] Lucene-Solr-trunk-MacOSX (64bit/jdk1.8.0) - Build # 2666 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2666/
Java: 64bit/jdk1.8.0 -XX:+UseCompressedOops -XX:+UseG1GC

1 tests failed.
FAILED:  org.apache.solr.security.BasicAuthIntegrationTest.testBasics

Error Message:
No match for authentication.enabled = true, full response = {   
responseHeader:{ status:0, QTime:0},   
authentication.enabled:false,   authentication:{ 
class:solr.BasicAuthPlugin, 
credentials:{solr:orwp2Ghgj39lmnrZOTm7Qtre1VqHFDfwAEzr0ApbN3Y= 
Ju5osoAqOX8iafhWpPP01E5P+sg8tK8tHON7rCYZRRw=}}} 

Stack Trace:
java.lang.AssertionError: No match for authentication.enabled = true, full 
response = {
  responseHeader:{
status:0,
QTime:0},
  authentication.enabled:false,
  authentication:{
class:solr.BasicAuthPlugin,
credentials:{solr:orwp2Ghgj39lmnrZOTm7Qtre1VqHFDfwAEzr0ApbN3Y= 
Ju5osoAqOX8iafhWpPP01E5P+sg8tK8tHON7rCYZRRw=}}}

at 
__randomizedtesting.SeedInfo.seed([91C9374A32D41DC0:AC1199660A3A43B0]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at 
org.apache.solr.security.BasicAuthIntegrationTest.verifySecurityStatus(BasicAuthIntegrationTest.java:160)
at 
org.apache.solr.security.BasicAuthIntegrationTest.doExtraTests(BasicAuthIntegrationTest.java:99)
at 
org.apache.solr.cloud.TestMiniSolrCloudCluster.testCollectionCreateSearchDelete(TestMiniSolrCloudCluster.java:208)
at 
org.apache.solr.cloud.TestMiniSolrCloudCluster.testBasics(TestMiniSolrCloudCluster.java:87)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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] [Comment Edited] (SOLR-7888) Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a BooleanQuery filter parameter available in Solr

2015-08-23 Thread Arcadius Ahouansou (JIRA)

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

Arcadius Ahouansou edited comment on SOLR-7888 at 8/24/15 1:27 AM:
---

Hello [~janhoy]

- I have changed the param name to {{suggest.cfq}}

- the constant {{CONTEXTS_FIELD_NAME}} is still in {{Lookup.java}} awaiting 
confirmation from [~mikemccand]

- Regarding the local params {code}{!terms f=contexts}abc,def,ghi{code}
I had a look and the local parameter parsing happens in 
{{QParser.getParser(String qstr, String defaultParser, SolrQueryRequest req)}}.
The current query parser framework relies on the solr schema for the query 
field and the analyzer.
In our case, the analyzer is in the schema but the query/filter field is not.
I have started implementing this and some reworking is required to reuse the 
existing  QParser/QParserPlugin
Note that in the specified case, TermsQParserPlugin generates a 
ConstantScoreQuery. We will have to wrap this into a BooleanQuery to send it to 
Lucene as the context filtering supports only BooleanQuery at the moment.
I would suggest we add the local param feature as an enhancement later if that 
is OK.

Please let me know if there is any other change to be done.

Thank you.

Arcadius


was (Author: arcadius):
Hello [~janhoy]

- I have changed the param name to {{suggest.cfq}}

- the constant {{CONTEXTS_FIELD_NAME}} is still in {{Lookup.java}} awaiting 
confirmation from [~mikemccand]

- Regarding the local params {code}{!terms f=contexts}abc,def,ghi{code}
I had a look and the local parameter parsing happens in 
{{QParser.getParser(String qstr, String defaultParser, SolrQueryRequest req)}}.
The current query parser framework relies on the solr schema for the query 
field and the analyzer.
In our case, the analyzer is in the schema but the query/filter field is not.
I have started implementing this and some reworking is required to reuse the 
existing  QParser/QParserPlugin
I would suggest we add the local param feature as an enhancement later if that 
is OK.

Please let me know if there is any other change to be done.

Thank you.

Arcadius

 Make Lucene's AnalyzingInfixSuggester.lookup() method that takes a 
 BooleanQuery filter parameter available in Solr
 --

 Key: SOLR-7888
 URL: https://issues.apache.org/jira/browse/SOLR-7888
 Project: Solr
  Issue Type: New Feature
  Components: Suggester
Affects Versions: 5.2.1
Reporter: Arcadius Ahouansou
Assignee: Jan Høydahl
 Fix For: 5.4

 Attachments: SOLR-7888.patch, SOLR-7888.patch, SOLR-7888.patch, 
 SOLR-7888.patch


  LUCENE-6464 has introduced a very flexible lookup method that takes as 
 parameter a BooleanQuery that is used for filtering results.
 This ticket is to expose that method to Solr.
 This would allow user to do:
 {code}
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:tennis
 /suggest?suggest=truesuggest.build=truesuggest.q=termsuggest.contextFilterQuery=contexts:golf
  AND contexts:football
 {code}
 etc
 Given that the context filtering in currently only implemented by the 
 {code}AnalyzingInfixSuggester{code} and by the 
 {code}BlendedInfixSuggester{code}, this initial implementation will support 
 only these 2 lookup implementations.



--
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-7958) Move TestUtil#randomWhitespace to the test that is sole user

2015-08-23 Thread ASF subversion and git services (JIRA)

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

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

Commit 1697264 from [~thetaphi] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1697264 ]

Merged revision(s) 1697262 from lucene/dev/trunk:
SOLR-7958: Move TestUtil#randomWhitespace to the only Solr test that is using it

 Move TestUtil#randomWhitespace to the test that is sole user
 

 Key: SOLR-7958
 URL: https://issues.apache.org/jira/browse/SOLR-7958
 Project: Solr
  Issue Type: Test
Reporter: Uwe Schindler
Assignee: Uwe Schindler
 Attachments: SOLR-7958.patch


 Followup issue to: LUCENE-6760
 {{TestUtil#randomWhitespace}} is only used by 
 {{org.apache.solr.search.ReturnFieldsTest#testWhitespace()}}
 After talking with Robert, this method is not useful for Lucene, so we should 
 move it to just this test.



--
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-7560) Parallel SQL Support

2015-08-23 Thread Susheel Kumar (JIRA)

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

Susheel Kumar commented on SOLR-7560:
-

Hi Joel,

I started with two basic tests on my local box
a) add field alias e.g. 
select id,name as product_name from techproducts limit 20

 which currently fails as data returned contains still name as the 
field/column key than product_name 

b) I wanted to get additional field returned from SQL e.g 
select id,name,manu,mul(price,weight) from techproducts limit 20
which currently fails with error Aggregate functions only supported with group 
by queries.  while actually I just want to have additional calculated field 
based on some function/formula for every document.  I checked SQLHandler.java 
which currently throws this out due to presence of parenthesis without any 
group by/aggregate function.

Please let me know your suggestion on this. 

Thanks,
Susheel 



 Parallel SQL Support
 

 Key: SOLR-7560
 URL: https://issues.apache.org/jira/browse/SOLR-7560
 Project: Solr
  Issue Type: New Feature
  Components: clients - java, search
Reporter: Joel Bernstein
 Fix For: Trunk

 Attachments: SOLR-7560.calcite.patch, SOLR-7560.patch, 
 SOLR-7560.patch, SOLR-7560.patch, SOLR-7560.patch


 This ticket provides support for executing *Parallel SQL* queries across 
 SolrCloud collections. The SQL engine will be built on top of the Streaming 
 API (SOLR-7082), which provides support for *parallel relational algebra* and 
 *real-time map-reduce*.
 Basic design:
 1) A new SQLHandler will be added to process SQL requests. The SQL statements 
 will be compiled to live Streaming API objects for parallel execution across 
 SolrCloud worker nodes.
 2) SolrCloud collections will be abstracted as *Relational Tables*. 
 3) The Presto SQL parser will be used to parse the SQL statements.
 4) A JDBC thin client will be added as a Solrj client.
 This ticket will focus on putting the framework in place and providing basic 
 SELECT support and GROUP BY aggregate support.
 Future releases will build on this framework to provide additional SQL 
 features.



--
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-5.x-Java7 - Build # 3443 - Failure

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-5.x-Java7/3443/

1 tests failed.
REGRESSION:  org.apache.solr.cloud.BasicDistributedZk2Test.test

Error Message:
Error from server at http://127.0.0.1:59895/z_drv/collection1: 127.0.0.1:48766 
failed to respond

Stack Trace:
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at http://127.0.0.1:59895/z_drv/collection1: 127.0.0.1:48766 failed 
to respond
at 
__randomizedtesting.SeedInfo.seed([E76C02137C10078A:6F383DC9D2EC6A72]:0)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234)
at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226)
at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135)
at 
org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:152)
at 
org.apache.solr.cloud.BasicDistributedZk2Test.testUpdateAndDelete(BasicDistributedZk2Test.java:242)
at 
org.apache.solr.cloud.BasicDistributedZk2Test.test(BasicDistributedZk2Test.java:106)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$6.evaluate(RandomizedRunner.java:836)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$7.evaluate(RandomizedRunner.java:872)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$8.evaluate(RandomizedRunner.java:886)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsFixedStatement.callStatement(BaseDistributedSearchTestCase.java:963)
at 
org.apache.solr.BaseDistributedSearchTestCase$ShardsRepeatRule$ShardsStatement.evaluate(BaseDistributedSearchTestCase.java:938)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.TestRuleSetupTeardownChained$1.evaluate(TestRuleSetupTeardownChained.java:50)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
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:845)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$3.evaluate(RandomizedRunner.java:747)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$4.evaluate(RandomizedRunner.java:781)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:792)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
at 

[JENKINS] Lucene-Solr-Tests-trunk-Java8 - Build # 307 - Failure

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Tests-trunk-Java8/307/

1 tests failed.
FAILED:  junit.framework.TestSuite.org.apache.solr.cloud.BasicDistributedZk2Test

Error Message:
ObjectTracker found 3 object(s) that were not released!!! [TransactionLog]

Stack Trace:
java.lang.AssertionError: ObjectTracker found 3 object(s) that were not 
released!!! [TransactionLog]
at __randomizedtesting.SeedInfo.seed([57B99113C720A14]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNull(Assert.java:551)
at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:236)
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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:799)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)




Build Log:
[...truncated 9303 lines...]
   [junit4] Suite: org.apache.solr.cloud.BasicDistributedZk2Test
   [junit4]   2 Creating dataDir: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-Tests-trunk-Java8/solr/build/solr-core/test/J2/temp/solr.cloud.BasicDistributedZk2Test_57B99113C720A14-001/init-core-data-001
   [junit4]   2 18781 INFO  
(SUITE-BasicDistributedZk2Test-seed#[57B99113C720A14]-worker) [] 
o.a.s.BaseDistributedSearchTestCase Setting hostContext system property: /
   [junit4]   2 18801 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
   [junit4]   2 18804 INFO  (Thread-33) [] o.a.s.c.ZkTestServer client 
port:0.0.0.0/0.0.0.0:0
   [junit4]   2 18806 INFO  (Thread-33) [] o.a.s.c.ZkTestServer Starting 
server
   [junit4]   2 18904 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.ZkTestServer start zk server on port:45486
   [junit4]   2 18920 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
   [junit4]   2 19131 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.c.ConnectionManager Waiting for client to connect to ZooKeeper
   [junit4]   2 19188 INFO  (zkCallback-8-thread-1) [] 
o.a.s.c.c.ConnectionManager Watcher 
org.apache.solr.common.cloud.ConnectionManager@3714c781 
name:ZooKeeperConnection Watcher:127.0.0.1:45486 got event WatchedEvent 
state:SyncConnected type:None path:null path:null type:None
   [junit4]   2 19193 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.c.ConnectionManager Client is connected to ZooKeeper
   [junit4]   2 19194 INFO  
(TEST-BasicDistributedZk2Test.test-seed#[57B99113C720A14]) [] 
o.a.s.c.c.SolrZkClient Using default ZkACLProvider
   [junit4]   2 19196 INFO  

[JENKINS] Lucene-Solr-trunk-Linux (64bit/jdk1.8.0_60) - Build # 13977 - Failure!

2015-08-23 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/13977/
Java: 64bit/jdk1.8.0_60 -XX:-UseCompressedOops -XX:+UseParallelGC

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

Error Message:
ObjectTracker found 1 object(s) that were not released!!! [TransactionLog]

Stack Trace:
java.lang.AssertionError: ObjectTracker found 1 object(s) that were not 
released!!! [TransactionLog]
at __randomizedtesting.SeedInfo.seed([4ABE84C290A369F6]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertNull(Assert.java:551)
at org.apache.solr.SolrTestCaseJ4.afterClass(SolrTestCaseJ4.java:236)
at sun.reflect.GeneratedMethodAccessor37.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:1627)
at 
com.carrotsearch.randomizedtesting.RandomizedRunner$5.evaluate(RandomizedRunner.java:799)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
com.carrotsearch.randomizedtesting.rules.SystemPropertiesRestoreRule$1.evaluate(SystemPropertiesRestoreRule.java:57)
at 
org.apache.lucene.util.AbstractBeforeAfterRule$1.evaluate(AbstractBeforeAfterRule.java:46)
at 
com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)
at 
org.apache.lucene.util.TestRuleStoreClassName$1.evaluate(TestRuleStoreClassName.java:42)
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:54)
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 
com.carrotsearch.randomizedtesting.ThreadLeakControl$StatementRunner.run(ThreadLeakControl.java:365)
at java.lang.Thread.run(Thread.java:745)




Build Log:
[...truncated 10555 lines...]
   [junit4] Suite: org.apache.solr.cloud.HttpPartitionTest
   [junit4]   2 Creating dataDir: 
/home/jenkins/workspace/Lucene-Solr-trunk-Linux/solr/build/solr-core/test/J0/temp/solr.cloud.HttpPartitionTest_4ABE84C290A369F6-001/init-core-data-001
   [junit4]   2 1233912 INFO  
(SUITE-HttpPartitionTest-seed#[4ABE84C290A369F6]-worker) [] 
o.a.s.BaseDistributedSearchTestCase Setting hostContext system property: 
/ir_rqi/b
   [junit4]   2 1233913 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.ZkTestServer STARTING ZK TEST SERVER
   [junit4]   2 1233913 INFO  (Thread-4140) [] o.a.s.c.ZkTestServer client 
port:0.0.0.0/0.0.0.0:0
   [junit4]   2 1233913 INFO  (Thread-4140) [] o.a.s.c.ZkTestServer 
Starting server
   [junit4]   2 1234013 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.ZkTestServer start zk server on port:57228
   [junit4]   2 1234014 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.c.SolrZkClient Using default ZkCredentialsProvider
   [junit4]   2 1234014 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.c.ConnectionManager Waiting for client to connect to ZooKeeper
   [junit4]   2 1234016 INFO  (zkCallback-1079-thread-1) [] 
o.a.s.c.c.ConnectionManager Watcher 
org.apache.solr.common.cloud.ConnectionManager@53891230 
name:ZooKeeperConnection Watcher:127.0.0.1:57228 got event WatchedEvent 
state:SyncConnected type:None path:null path:null type:None
   [junit4]   2 1234016 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.c.ConnectionManager Client is connected to ZooKeeper
   [junit4]   2 1234016 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.c.SolrZkClient Using default ZkACLProvider
   [junit4]   2 1234016 INFO  
(TEST-HttpPartitionTest.test-seed#[4ABE84C290A369F6]) [] 
o.a.s.c.c.SolrZkClient makePath: /solr
   

[JENKINS] Lucene-Solr-SmokeRelease-5.x - Build # 300 - Still Failing

2015-08-23 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-SmokeRelease-5.x/300/

No tests ran.

Build Log:
[...truncated 52561 lines...]
prepare-release-no-sign:
[mkdir] Created dir: 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/lucene/build/smokeTestRelease/dist
 [copy] Copying 461 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/lucene/build/smokeTestRelease/dist/lucene
 [copy] Copying 245 files to 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/lucene/build/smokeTestRelease/dist/solr
   [smoker] Java 1.7 
JAVA_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7
   [smoker] Java 1.8 
JAVA_HOME=/home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8
   [smoker] NOTE: output encoding is UTF-8
   [smoker] 
   [smoker] Load release URL 
file:/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/lucene/build/smokeTestRelease/dist/...
   [smoker] 
   [smoker] Test Lucene...
   [smoker]   test basics...
   [smoker]   get KEYS
   [smoker] 0.1 MB in 0.01 sec (11.2 MB/sec)
   [smoker]   check changes HTML...
   [smoker]   download lucene-5.4.0-src.tgz...
   [smoker] 28.5 MB in 0.04 sec (809.6 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   download lucene-5.4.0.tgz...
   [smoker] 65.8 MB in 0.08 sec (803.6 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   download lucene-5.4.0.zip...
   [smoker] 76.1 MB in 0.10 sec (788.0 MB/sec)
   [smoker] verify md5/sha1 digests
   [smoker]   unpack lucene-5.4.0.tgz...
   [smoker] verify JAR metadata/identity/no javax.* or java.* classes...
   [smoker] test demo with 1.7...
   [smoker]   got 6063 hits for query lucene
   [smoker] checkindex with 1.7...
   [smoker] test demo with 1.8...
   [smoker]   got 6063 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] check Lucene's javadoc JAR
   [smoker]   unpack lucene-5.4.0.zip...
   [smoker] verify JAR metadata/identity/no javax.* or java.* classes...
   [smoker] test demo with 1.7...
   [smoker]   got 6063 hits for query lucene
   [smoker] checkindex with 1.7...
   [smoker] test demo with 1.8...
   [smoker]   got 6063 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] check Lucene's javadoc JAR
   [smoker]   unpack lucene-5.4.0-src.tgz...
   [smoker] make sure no JARs/WARs in src dist...
   [smoker] run ant validate
   [smoker] run tests w/ Java 7 and testArgs='-Dtests.slow=false'...
   [smoker] test demo with 1.7...
   [smoker]   got 213 hits for query lucene
   [smoker] checkindex with 1.7...
   [smoker] generate javadocs w/ Java 7...
   [smoker] 
   [smoker] Crawl/parse...
   [smoker] 
   [smoker] Verify...
   [smoker] run tests w/ Java 8 and testArgs='-Dtests.slow=false'...
   [smoker] test demo with 1.8...
   [smoker]   got 213 hits for query lucene
   [smoker] checkindex with 1.8...
   [smoker] generate javadocs w/ Java 8...
   [smoker] 
   [smoker] Crawl/parse...
   [smoker] 
   [smoker] Verify...
   [smoker]   confirm all releases have coverage in TestBackwardsCompatibility
   [smoker] find all past Lucene releases...
   [smoker] run TestBackwardsCompatibility..
   [smoker] Releases that don't seem to be tested:
   [smoker]   5.3.0
   [smoker] Traceback (most recent call last):
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 1449, in module
   [smoker] main()
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 1394, in main
   [smoker] smokeTest(c.java, c.url, c.revision, c.version, c.tmp_dir, 
c.is_signed, ' '.join(c.test_args))
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 1432, in smokeTest
   [smoker] unpackAndVerify(java, 'lucene', tmpDir, 'lucene-%s-src.tgz' % 
version, svnRevision, version, testArgs, baseURL)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 583, in unpackAndVerify
   [smoker] verifyUnpacked(java, project, artifact, unpackPath, 
svnRevision, version, testArgs, tmpDir, baseURL)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 762, in verifyUnpacked
   [smoker] confirmAllReleasesAreTestedForBackCompat(unpackPath)
   [smoker]   File 
/x1/jenkins/jenkins-slave/workspace/Lucene-Solr-SmokeRelease-5.x/dev-tools/scripts/smokeTestRelease.py,
 line 1387, in confirmAllReleasesAreTestedForBackCompat
   [smoker] raise RuntimeError('some releases are not tested by 
TestBackwardsCompatibility?')
   [smoker] RuntimeError: some releases are not tested by 
TestBackwardsCompatibility?

BUILD FAILED

[jira] [Updated] (SOLR-7954) Exception while using {!cardinality=1.0}.

2015-08-23 Thread Modassar Ather (JIRA)

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

Modassar Ather updated SOLR-7954:
-
Description: 
Following exception is thrown for the query : 
bq. q=pn:*stats=truestats.field={!cardinality=1.0}field.
The exception is not seen once the cardinality is set to 0.9 or less.
The field is docValues enabled and indexed=false. The same exception I tried to 
reproduce on non docValues field but could not.

ERROR - 2015-08-11 12:24:00.222; [core] org.apache.solr.common.SolrException; 
null:java.lang.ArrayIndexOutOfBoundsException: 3
at 
net.agkn.hll.serialization.BigEndianAscendingWordSerializer.writeWord(BigEndianAscendingWordSerializer.java:152)
at net.agkn.hll.util.BitVector.getRegisterContents(BitVector.java:247)
at net.agkn.hll.HLL.toBytes(HLL.java:917)
at net.agkn.hll.HLL.toBytes(HLL.java:869)
at 
org.apache.solr.handler.component.AbstractStatsValues.getStatsValues(StatsValuesFactory.java:348)
at 
org.apache.solr.handler.component.StatsComponent.convertToResponse(StatsComponent.java:151)
at 
org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:62)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:255)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)

  was:
Following exception is thrown for the query : 
bq. q=field:querystats=truestats.field={!cardinality=1.0}field.
The exception is not seen once the cardinality is set to 0.9 or less.
The field is docValues enabled and indexed=false. The same exception I tried to 
reproduce on non docValues field but could not.

ERROR - 2015-08-11 12:24:00.222; [core] org.apache.solr.common.SolrException; 
null:java.lang.ArrayIndexOutOfBoundsException: 3
at 
net.agkn.hll.serialization.BigEndianAscendingWordSerializer.writeWord(BigEndianAscendingWordSerializer.java:152)
at net.agkn.hll.util.BitVector.getRegisterContents(BitVector.java:247)
at net.agkn.hll.HLL.toBytes(HLL.java:917)
at net.agkn.hll.HLL.toBytes(HLL.java:869)
at 
org.apache.solr.handler.component.AbstractStatsValues.getStatsValues(StatsValuesFactory.java:348)
at 
org.apache.solr.handler.component.StatsComponent.convertToResponse(StatsComponent.java:151)
at 
org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:62)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:255)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
at 

[jira] [Updated] (SOLR-7954) Exception while using {!cardinality=1.0}.

2015-08-23 Thread Modassar Ather (JIRA)

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

Modassar Ather updated SOLR-7954:
-
Description: 
Following exception is thrown for the query : 
bq. q=field1:*stats=truestats.field={!cardinality=1.0}field.
The exception is not seen once the cardinality is set to 0.9 or less.
The field is docValues enabled and indexed=false. The same exception I tried to 
reproduce on non docValues field but could not.

ERROR - 2015-08-11 12:24:00.222; [core] org.apache.solr.common.SolrException; 
null:java.lang.ArrayIndexOutOfBoundsException: 3
at 
net.agkn.hll.serialization.BigEndianAscendingWordSerializer.writeWord(BigEndianAscendingWordSerializer.java:152)
at net.agkn.hll.util.BitVector.getRegisterContents(BitVector.java:247)
at net.agkn.hll.HLL.toBytes(HLL.java:917)
at net.agkn.hll.HLL.toBytes(HLL.java:869)
at 
org.apache.solr.handler.component.AbstractStatsValues.getStatsValues(StatsValuesFactory.java:348)
at 
org.apache.solr.handler.component.StatsComponent.convertToResponse(StatsComponent.java:151)
at 
org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:62)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:255)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
at org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:654)
at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:450)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:227)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:196)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:497)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at 
org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)

  was:
Following exception is thrown for the query : 
bq. q=pn:*stats=truestats.field={!cardinality=1.0}field.
The exception is not seen once the cardinality is set to 0.9 or less.
The field is docValues enabled and indexed=false. The same exception I tried to 
reproduce on non docValues field but could not.

ERROR - 2015-08-11 12:24:00.222; [core] org.apache.solr.common.SolrException; 
null:java.lang.ArrayIndexOutOfBoundsException: 3
at 
net.agkn.hll.serialization.BigEndianAscendingWordSerializer.writeWord(BigEndianAscendingWordSerializer.java:152)
at net.agkn.hll.util.BitVector.getRegisterContents(BitVector.java:247)
at net.agkn.hll.HLL.toBytes(HLL.java:917)
at net.agkn.hll.HLL.toBytes(HLL.java:869)
at 
org.apache.solr.handler.component.AbstractStatsValues.getStatsValues(StatsValuesFactory.java:348)
at 
org.apache.solr.handler.component.StatsComponent.convertToResponse(StatsComponent.java:151)
at 
org.apache.solr.handler.component.StatsComponent.process(StatsComponent.java:62)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:255)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:2064)
at 

[jira] [Updated] (SOLR-7282) Cache config or index schema objects by configset and share them across cores

2015-08-23 Thread Damien Kamerman (JIRA)

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

Damien Kamerman updated SOLR-7282:
--
Attachment: SOLR-7282.patch

Cache cloud schemas by name

 Cache config or index schema objects by configset and share them across cores
 -

 Key: SOLR-7282
 URL: https://issues.apache.org/jira/browse/SOLR-7282
 Project: Solr
  Issue Type: Sub-task
  Components: SolrCloud
Reporter: Shalin Shekhar Mangar
Assignee: Shalin Shekhar Mangar
 Fix For: 5.2, Trunk

 Attachments: SOLR-7282.patch


 Sharing schema and config objects has been known to improve startup 
 performance when a large number of cores are on the same box (See 
 http://wiki.apache.org/solr/LotsOfCores).Damien also saw improvements to 
 cluster startup speed upon caching the index schema in SOLR-7191.
 Now that SolrCloud configuration is based on config sets in ZK, we should 
 explore how we can minimize config/schema parsing for each core in a way that 
 is compatible with the recent/planned changes in the config and schema APIs.



--
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-7949) Thers is a xss issue in plugins/stats page of Admin Web UI.

2015-08-23 Thread davidchiu (JIRA)

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

davidchiu edited comment on SOLR-7949 at 8/24/15 2:55 AM:
--

OK,I will try to uploading patch files when finding bugs。


was (Author: davidchiu):
OK,I will try to uploading patch files where finding bugs。

 Thers is a xss issue in plugins/stats page of Admin Web UI.
 ---

 Key: SOLR-7949
 URL: https://issues.apache.org/jira/browse/SOLR-7949
 Project: Solr
  Issue Type: Bug
  Components: web gui
Affects Versions: 4.9, 4.10.4, 5.2.1
Reporter: davidchiu
Assignee: Jan Høydahl
 Fix For: Trunk, 5.4, 5.3.1


 Open Solr Admin Web UI, select a core(such as collection1) and then click 
 Plugins/stats,and type a url like 
 http://127.0.0.1:8983/solr/#/collection1/plugins/cache?entry=score=img 
 src=1 onerror=alert(1); to the browser address, you will get alert box with 
 1.
 I changed follow code to resolve this problem:
 The Original code:
   for( var i = 0; i  entry_count; i++ )
   {
 $( 'a[data-bean=' + entries[i] + ']', frame_element )
   .parent().addClass( 'expanded' );
   }
 The Changed code:
   for( var i = 0; i  entry_count; i++ )
   {
 $( 'a[data-bean=' + entries[i].esc() + ']', frame_element )
   .parent().addClass( 'expanded' );
   }



--
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-7949) Thers is a xss issue in plugins/stats page of Admin Web UI.

2015-08-23 Thread davidchiu (JIRA)

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

davidchiu commented on SOLR-7949:
-

OK,I will try to uploading patch files where finding bugs。

 Thers is a xss issue in plugins/stats page of Admin Web UI.
 ---

 Key: SOLR-7949
 URL: https://issues.apache.org/jira/browse/SOLR-7949
 Project: Solr
  Issue Type: Bug
  Components: web gui
Affects Versions: 4.9, 4.10.4, 5.2.1
Reporter: davidchiu
Assignee: Jan Høydahl
 Fix For: Trunk, 5.4, 5.3.1


 Open Solr Admin Web UI, select a core(such as collection1) and then click 
 Plugins/stats,and type a url like 
 http://127.0.0.1:8983/solr/#/collection1/plugins/cache?entry=score=img 
 src=1 onerror=alert(1); to the browser address, you will get alert box with 
 1.
 I changed follow code to resolve this problem:
 The Original code:
   for( var i = 0; i  entry_count; i++ )
   {
 $( 'a[data-bean=' + entries[i] + ']', frame_element )
   .parent().addClass( 'expanded' );
   }
 The Changed code:
   for( var i = 0; i  entry_count; i++ )
   {
 $( 'a[data-bean=' + entries[i].esc() + ']', frame_element )
   .parent().addClass( 'expanded' );
   }



--
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