lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nishikanta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-3771) While using RSS indexing from Solr, we are getting error "Caused by: java.net.UnknownHostException" & indexing fail.
Date Thu, 30 Aug 2012 22:50:09 GMT

    [ https://issues.apache.org/jira/browse/SOLR-3771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445380#comment-13445380
] 

nishikanta commented on SOLR-3771:
----------------------------------

Hi Hoss/Jack,

 Is there any option in the configuration to add proxy setting in the rss-data-config.xml
file or any configuration in solr?. Basically mentioned rss url is able to parse with standalone
java program using proxy setting. while trying to index with the Solr using dataImport, its
giving the UnknownHostException exception.

<?xml version="1.0" encoding="UTF-8" ?>
<dataConfig>
	<dataSource type="URLDataSource" />
	<document>
		<entity name="IndustryMonitor"
		pk="link"
		url="company URL comes here ......"
		processor="XPathEntityProcessor"
		forEach="/channel | /channel/item"
		transformer="DateFormatTransformer">

		<field column="title" xpath="/rss/channel/item/title" />
		<field column="author" xpath="/rss/channel/item/author" />		
		<field column="link" xpath="/rss/channel/item/link" />

</entity>
</document>
</dataConfig>


Thanks,
Nish
                
> While using RSS indexing from Solr, we are getting error "Caused by: java.net.UnknownHostException"
& indexing fail.
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3771
>                 URL: https://issues.apache.org/jira/browse/SOLR-3771
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 3.6
>         Environment: Solr Search engine using RSS data feeding
>            Reporter: Nagaraj Molala
>         Attachments: rss-data-config.xml, schema.xml, solrconfig.xml
>
>
> we are getting below error. Please give us the solution as this is a show stopper for
our application. Attached the config files for your reference.
>  
> https://issues.apache.org/jira/browse/SOLR 2:51 PM 
> Caused by: java.net.UnknownHostException: xx.abcd.abcd.com
>        at java.net.PlainSocketImpl.connect(Unknown Source)
>        at java.net.SocksSocketImpl.connect(Unknown Source)
>        at java.net.Socket.connect(Unknown Source)
>        at sun.net.NetworkClient.doConnect(Unknown Source)
>        at sun.net.www.http.HttpClient.openServer(Unknown Source)
>        at sun.net.www.http.HttpClient.openServer(Unknown Source)
>        at sun.net.www.http.HttpClient.<init>(Unknown Source)
>        at sun.net.www.http.HttpClient.New(Unknown Source)
>        at sun.net.www.http.HttpClient.New(Unknown Source)
>        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
> Source)
>        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
> ce)
>        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
>        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
> urce)
>        at org.apache.solr.handler.dataimport.URLDataSource.getData(URLDataSourc
> e.java:97)
>        ... 13 more
>  

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

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


Mime
View raw message