[jira] Created: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Sean Owen (JIRA)
Use IOUtils, FileLineIterable/Iterator across the project - Key: MAHOUT-175 URL: https://issues.apache.org/jira/browse/MAHOUT-175 Project: Mahout Issue Type: Improvement Affects

[jira] Updated: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Owen updated MAHOUT-175: - Attachment: MAHOUT-175.patch Use IOUtils, FileLineIterable/Iterator across the project

ConstructProperties?

2009-09-09 Thread Sean Owen
What is the purpose of using the ConstructProperties annotation in TimingStatistics? I understand it has something to do with JMX, but, do we need that? Not at all important, more curious than anything.

[jira] Updated: (MAHOUT-163) Get (better) cluster labels using Log Likelihood Ratio

2009-09-09 Thread Shashikant Kore (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shashikant Kore updated MAHOUT-163: --- Attachment: MAHOUT-163.patch Revised patch updated to trunk. Get (better) cluster labels

Re: Fwd: Use repository.apache.org for deployment

2009-09-09 Thread Jukka Zitting
Hi, On Fri, Sep 4, 2009 at 12:48 PM, Isabel Drostisa...@apache.org wrote: I added the apache parent to our pom - at least a mvn install from root still runs smoothly. You may still want to review things like the contents of the META-INF directories in the generated jar files. The latest Apache

[jira] Created: (MAHOUT-176) Remove VectorIterable in favor of just using IterableVector

2009-09-09 Thread Grant Ingersoll (JIRA)
Remove VectorIterable in favor of just using IterableVector - Key: MAHOUT-176 URL: https://issues.apache.org/jira/browse/MAHOUT-176 Project: Mahout Issue Type: Improvement

[jira] Updated: (MAHOUT-176) Remove VectorIterable in favor of just using IterableVector

2009-09-09 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll updated MAHOUT-176: --- Fix Version/s: 0.2 Remove VectorIterable in favor of just using IterableVector

[jira] Commented: (MAHOUT-176) Remove VectorIterable in favor of just using IterableVector

2009-09-09 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12753072#action_12753072 ] Sean Owen commented on MAHOUT-176: -- I like this sort of change. Remove VectorIterable in

Re: Maven build error

2009-09-09 Thread Grant Ingersoll
FYI: changing the Maven Resources Plugin version to 2.4 (from 2.3) in the POM resolves this. I will commit. On Aug 21, 2009, at 3:21 AM, Robin Anil wrote: I set up a new system(Ubuntu Karmic) with fresh checkout from the trunk and applied the Bayes Patch. I can do an mvn install.

Re: Examples Compile Error w/ Netflix stuff

2009-09-09 Thread Sean Owen
Oh. I got caught out attempting to manage two sets of changes in one client -- one quick one that I committed today and MAHOUT-175. I didn't commit part of the change that happens to affect this file in MAHOUT-175. I just overlooked that it did in fact overlap, didn't think it did. If nobody

[jira] Resolved: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/MAHOUT-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sean Owen resolved MAHOUT-175. -- Resolution: Fixed Use IOUtils, FileLineIterable/Iterator across the project

Re: [jira] Updated: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Ted Dunning
How does IOUtils do this? On Wed, Sep 9, 2009 at 2:37 AM, Sean Owen (JIRA) j...@apache.org wrote: Uses IOUtils consistently to close Closeables, -- Ted Dunning, CTO DeepDyve

Re: [jira] Updated: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Sean Owen
It just packs up this... if (closeable != null) { try { closeable.close(); } catch (IOException ioe) { log.warning(ioe); } } That's 7 lines I don't need to repeat all over the place. It came in very handy to convert 3x7 = 21 such lines into 1 since a JDBC call involves 3 closeable

Re: [jira] Updated: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Sean Owen
Not sure I really highlighted the punchline, reason it might ever matter -- if you have more than one Closeable to close() in a block, you probably need to do something like this. If the first one fails to close, you miss closing the second. Unless you write some funky nested finally blocks and

Re: [jira] Updated: (MAHOUT-175) Use IOUtils, FileLineIterable/Iterator across the project

2009-09-09 Thread Ted Dunning
Cool. It just suddenly sounded like finalizers were creeping in with the assumption that they would handle closing files. On Wed, Sep 9, 2009 at 9:37 AM, Sean Owen sro...@gmail.com wrote: It just packs up this... ... That's 7 lines I don't need to repeat all over the place. -- Ted