You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org> on 2012/05/22 20:27:41 UTC
[jira] [Created] (SOLR-3478) DataImportHandler's Entity must have a
name
Stefan Matheis (steffkes) created SOLR-3478:
-----------------------------------------------
Summary: DataImportHandler's Entity must have a name
Key: SOLR-3478
URL: https://issues.apache.org/jira/browse/SOLR-3478
Project: Solr
Issue Type: Bug
Affects Versions: 4.0
Environment: {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
Reporter: Stefan Matheis (steffkes)
Fix For: 4.0
Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
{code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
SEVERE: null:org.apache.solr.common.SolrException
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
[...]
Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Assigned] (SOLR-3478) DataImportHandler's Entity must have
a name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) reassigned SOLR-3478:
-----------------------------------------------
Assignee: Stefan Matheis (steffkes)
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3478) DataImportHandler's Entity must have a
name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) updated SOLR-3478:
--------------------------------------------
Attachment: SOLR-3478.patch
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-3478) DataImportHandler's Entity must have
a name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) resolved SOLR-3478.
---------------------------------------------
Resolution: Fixed
Committed in r1341920
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3478) DataImportHandler's Entity must have a
name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) updated SOLR-3478:
--------------------------------------------
Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code} (was: {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code})
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3478) DataImportHandler's Entity must have a
name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) updated SOLR-3478:
--------------------------------------------
Assignee: (was: Stefan Matheis (steffkes))
Ah okay! I opened this issue, Credits to [Emma, she reported this on the ML|http://lucene.472066.n3.nabble.com/Solr-mail-dataimporter-cannot-be-found-tc3985223.html]
James will you take care of this one and i'll remove my patch, because this should not be required, right?
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Comment Edited] (SOLR-3478) DataImportHandler's Entity must
have a name
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281135#comment-13281135 ]
James Dyer edited comment on SOLR-3478 at 5/23/12 2:45 PM:
-----------------------------------------------------------
Thanks for finding this one. Looking at this issue, I'm pretty sure I introduced this bug with SOLR-3422.
was (Author: jdyer):
Thanks for finding this one. Looking at this issue, I'm pretty sure I introduced this bug with SOLR-3430.
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (SOLR-3478) DataImportHandler's Entity must have a
name
Posted by "Stefan Matheis (steffkes) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Matheis (steffkes) updated SOLR-3478:
--------------------------------------------
Assignee: Stefan Matheis (steffkes)
okay, now it's clear for me. will commit the changed example soon
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3478) DataImportHandler's Entity must have
a name
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281642#comment-13281642 ]
James Dyer commented on SOLR-3478:
----------------------------------
Actually I think for 4.0 we should break backwards-compatibility with this one and require all DIH entities to have a name. (In 3.6 and prior, it logs a warning and assigns a name based on the system clock.) In SOLR-3422 I fixed any unit tests that didn't use "name" but missed the examples.
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-3478) DataImportHandler's Entity must have
a name
Posted by "James Dyer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-3478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281135#comment-13281135 ]
James Dyer commented on SOLR-3478:
----------------------------------
Thanks for finding this one. Looking at this issue, I'm pretty sure I introduced this bug with SOLR-3430.
> DataImportHandler's Entity must have a name
> -------------------------------------------
>
> Key: SOLR-3478
> URL: https://issues.apache.org/jira/browse/SOLR-3478
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.0
> Environment: r1341454, {code}java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar{code}
> Reporter: Stefan Matheis (steffkes)
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3478.patch
>
>
> Using trunk and trying to start the {{example-DIH}} version, throws the following Exception:
> {code}May 22, 2012 8:17:45 PM org.apache.solr.common.SolrException log
> SEVERE: null:org.apache.solr.common.SolrException
> at org.apache.solr.core.SolrCore.<init>(SolrCore.java:614)
> [...]
> Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Entity must have a name.
> at org.apache.solr.handler.dataimport.config.Entity.<init>(Entity.java:54)
> at org.apache.solr.handler.dataimport.config.DIHConfiguration.<init>(DIHConfiguration.java:61)
> at org.apache.solr.handler.dataimport.DataImporter.readFromXml(DataImporter.java:249)
> at org.apache.solr.handler.dataimport.DataImporter.loadDataConfig(DataImporter.java:187)
> ... 49 more{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org