[jira] [Commented] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

2016-01-18 Thread Hudson (JIRA)

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

Hudson commented on TIKA-1834:
--

SUCCESS: Integrated in tika-trunk-jdk1.7 #902 (See 
[https://builds.apache.org/job/tika-trunk-jdk1.7/902/])
Fix for TIKA-1834: Fix for GeoTopic parser holding state while running Tika 
server contributed by smadha  this closes #71. (mattmann: 
[http://svn.apache.org/viewvc/tika/trunk/?view=rev&rev=1725318])
* trunk/CHANGES.txt
* 
trunk/tika-parsers/src/main/java/org/apache/tika/parser/geo/topic/GeoParser.java
* 
trunk/tika-parsers/src/main/java/org/apache/tika/parser/geo/topic/NameEntityExtractor.java


> Fix for GeoTopic parser holding state while running Tika server
> ---
>
> Key: TIKA-1834
> URL: https://issues.apache.org/jira/browse/TIKA-1834
> Project: Tika
>  Issue Type: Sub-task
>  Components: parser
>Affects Versions: 1.12
> Environment: All
>Reporter: Madhav Sharan
>Assignee: Chris A. Mattmann
> Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



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


[jira] [Commented] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

2016-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TIKA-1834:
--

Github user asfgit closed the pull request at:

https://github.com/apache/tika/pull/71


> Fix for GeoTopic parser holding state while running Tika server
> ---
>
> Key: TIKA-1834
> URL: https://issues.apache.org/jira/browse/TIKA-1834
> Project: Tika
>  Issue Type: Sub-task
>  Components: parser
>Affects Versions: 1.12
> Environment: All
>Reporter: Madhav Sharan
>Assignee: Chris A. Mattmann
> Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



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


[jira] [Commented] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

2016-01-18 Thread Chris A. Mattmann (JIRA)

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

Chris A. Mattmann commented on TIKA-1834:
-

{noformat}
[INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ tika-java7 ---
[INFO] Installing 
org/apache/tika/tika-java7/1.12-SNAPSHOT/tika-java7-1.12-SNAPSHOT.jar
[INFO] Writing OBR metadata
[INFO] 
[INFO] 
[INFO] Building Apache Tika 1.12-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tika ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ tika ---
[INFO] 
[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ tika 
---
[INFO] 
[INFO] --- forbiddenapis:2.0:check (default) @ tika ---
[INFO] Skipping execution for packaging "pom"
[INFO] 
[INFO] --- forbiddenapis:2.0:testCheck (default) @ tika ---
[INFO] Skipping execution for packaging "pom"
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ tika ---
[INFO] Installing /Users/mattmann/tmp/tika1.12/pom.xml to 
/Users/mattmann/.m2/repository/org/apache/tika/tika/1.12-SNAPSHOT/tika-1.12-SNAPSHOT.pom
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Tika parent . SUCCESS [  1.875 s]
[INFO] Apache Tika core ... SUCCESS [ 19.173 s]
[INFO] Apache Tika parsers  SUCCESS [03:51 min]
[INFO] Apache Tika XMP  SUCCESS [  3.680 s]
[INFO] Apache Tika serialization .. SUCCESS [  1.956 s]
[INFO] Apache Tika batch .. SUCCESS [02:03 min]
[INFO] Apache Tika application  SUCCESS [ 41.319 s]
[INFO] Apache Tika OSGi bundle  SUCCESS [ 25.187 s]
[INFO] Apache Tika translate .. SUCCESS [  2.478 s]
[INFO] Apache Tika server . SUCCESS [ 29.457 s]
[INFO] Apache Tika examples ... SUCCESS [ 19.309 s]
[INFO] Apache Tika Java-7 Components .. SUCCESS [  2.733 s]
[INFO] Apache Tika  SUCCESS [  0.039 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 08:22 min
[INFO] Finished at: 2016-01-18T10:37:40-08:00
[INFO] Final Memory: 124M/1724M
[INFO] 
[chipotle:~/tmp/tika1.12] mattmann% 
{noformat}


> Fix for GeoTopic parser holding state while running Tika server
> ---
>
> Key: TIKA-1834
> URL: https://issues.apache.org/jira/browse/TIKA-1834
> Project: Tika
>  Issue Type: Sub-task
>  Components: parser
>Affects Versions: 1.12
> Environment: All
>Reporter: Madhav Sharan
>Assignee: Chris A. Mattmann
> Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



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


[jira] [Commented] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

2016-01-18 Thread Chris A. Mattmann (JIRA)

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

Chris A. Mattmann commented on TIKA-1834:
-

tests pass, and patch applies fine, will commit now! thanks [~msha...@usc.edu]!

> Fix for GeoTopic parser holding state while running Tika server
> ---
>
> Key: TIKA-1834
> URL: https://issues.apache.org/jira/browse/TIKA-1834
> Project: Tika
>  Issue Type: Sub-task
>  Components: parser
>Affects Versions: 1.12
> Environment: All
>Reporter: Madhav Sharan
>Assignee: Chris A. Mattmann
> Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



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


[jira] [Commented] (TIKA-1834) Fix for GeoTopic parser holding state while running Tika server

2016-01-18 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on TIKA-1834:
--

GitHub user smadha opened a pull request:

https://github.com/apache/tika/pull/71

fix for TIKA-1834 contributed by msha...@usc.edu



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/smadha/tika TIKA-1834

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/tika/pull/71.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #71


commit 0154e3067c8a63ab176e4e2161515d2d7d45b8e7
Author: smadha 
Date:   2016-01-18T18:08:18Z

fix for TIKA-1834 contributed by msha...@usc.edu




> Fix for GeoTopic parser holding state while running Tika server
> ---
>
> Key: TIKA-1834
> URL: https://issues.apache.org/jira/browse/TIKA-1834
> Project: Tika
>  Issue Type: Sub-task
>  Components: parser
>Affects Versions: 1.12
> Environment: All
>Reporter: Madhav Sharan
> Fix For: 1.12
>
>
> While using TIKA-server  we observed that GeoTopic parser started holding 
> state and returned all the location retrieved for any previous request. 
> This was happening as mutable object 
> org.apache.tika.parser.geo.topic.NameEntityExtractor was initialised once and 
> then was reused by all request. 
> As part of this fix org.apache.tika.parser.geo.topic.NameEntityExtractor is 
> recreated for every request.



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