You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Ran Hamada (JIRA)" <ji...@apache.org> on 2011/08/10 02:43:27 UTC
[jira] [Created] (MAHOUT-782) Build error with Java JDK 1.7
Build error with Java JDK 1.7
-----------------------------
Key: MAHOUT-782
URL: https://issues.apache.org/jira/browse/MAHOUT-782
Project: Mahout
Issue Type: Improvement
Components: Integration
Reporter: Ran Hamada
Priority: Minor
Fix For: 0.6
I get an error building mahout with JDK1.7.0 at
integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Resolved] (MAHOUT-782) Build error with Java JDK 1.7
Posted by Lance Norskog <go...@gmail.com>.
http://www.lucidimagination.com/blog/2011/07/28/dont-use-java-7-for-anything/
Java 7 is not usable in its current release.
On Wed, Aug 10, 2011 at 1:23 AM, Sean Owen (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Sean Owen resolved MAHOUT-782.
> ------------------------------
>
> Resolution: Not A Problem
> Assignee: Sean Owen
>
> I can't commit this patch since it would not work in Java 6. DataSource does not have a getParentLogger() method, which is both the original problem and why this can't be committed. If you want to experiment with Java 7, indeed you'll have to maintain some local changes like this.
>
>> Build error with Java JDK 1.7
>> -----------------------------
>>
>> Key: MAHOUT-782
>> URL: https://issues.apache.org/jira/browse/MAHOUT-782
>> Project: Mahout
>> Issue Type: Improvement
>> Components: Integration
>> Affects Versions: 0.5
>> Reporter: Ran Hamada
>> Assignee: Sean Owen
>> Priority: Minor
>> Labels: build-failure, compile
>> Fix For: 0.6
>>
>> Attachments: MAHOUT-782.patch
>>
>>
>> I get an error building mahout with JDK1.7.0 at
>> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
--
Lance Norskog
goksron@gmail.com
Re: [jira] [Updated] (MAHOUT-782) Build error with Java JDK 1.7
Posted by Ted Dunning <te...@gmail.com>.
Ran,
Can you say just a bit about what kind of error you had? Why does java 1.7
cause the error? Why does your patch fix it?
On Tue, Aug 9, 2011 at 5:45 PM, Ran Hamada (JIRA) <ji...@apache.org> wrote:
>
> [
> https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Ran Hamada updated MAHOUT-782:
> ------------------------------
>
> Attachment: MAHOUT-782.patch
>
> patch
>
> > Build error with Java JDK 1.7
> > -----------------------------
> >
> > Key: MAHOUT-782
> > URL: https://issues.apache.org/jira/browse/MAHOUT-782
> > Project: Mahout
> > Issue Type: Improvement
> > Components: Integration
> > Reporter: Ran Hamada
> > Priority: Minor
> > Labels: build-failure, compile
> > Fix For: 0.6
> >
> > Attachments: MAHOUT-782.patch
> >
> >
> > I get an error building mahout with JDK1.7.0 at
> >
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
[jira] [Resolved] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved MAHOUT-782.
------------------------------
Resolution: Not A Problem
Assignee: Sean Owen
I can't commit this patch since it would not work in Java 6. DataSource does not have a getParentLogger() method, which is both the original problem and why this can't be committed. If you want to experiment with Java 7, indeed you'll have to maintain some local changes like this.
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Affects Versions: 0.5
> Reporter: Ran Hamada
> Assignee: Sean Owen
> Priority: Minor
> Labels: build-failure, compile
> Fix For: 0.6
>
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-782:
-----------------------------
Fix Version/s: 0.7
Labels: (was: build-failure compile)
You can't apply this patch since it would mean the project doesn't work in Java 6, and Java 6 will be around for years. However I think there's an easy compromise. This method can be implemented and throw SQLFeatureNotSupportedException. It can't @Override. But then it works everywhere. I'll do that.
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Affects Versions: 0.5
> Reporter: Ran Hamada
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 0.7
>
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
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
[jira] [Updated] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated MAHOUT-782:
-----------------------------
Affects Version/s: 0.5
Fix Version/s: (was: 0.6)
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Affects Versions: 0.5
> Reporter: Ran Hamada
> Assignee: Sean Owen
> Priority: Minor
> Labels: build-failure, compile
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266444#comment-13266444 ]
Hudson commented on MAHOUT-782:
-------------------------------
Integrated in Mahout-Quality #1455 (See [https://builds.apache.org/job/Mahout-Quality/1455/])
Add method to support Java 7's terrible decision to make a backwards-incompatible API change here, pointlessly. (MAHOUT-782) (Revision 1332942)
Result = FAILURE
srowen : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332942
Files :
* /mahout/trunk/integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Affects Versions: 0.5
> Reporter: Ran Hamada
> Assignee: Sean Owen
> Priority: Minor
> Fix For: 0.7
>
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
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
[jira] [Commented] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Shrinivas Joshi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13266316#comment-13266316 ]
Shrinivas Joshi commented on MAHOUT-782:
----------------------------------------
Is there any recent interest in addressing this issue especially after Oracle's announcement to EOL JDK 6? Thanks.
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Affects Versions: 0.5
> Reporter: Ran Hamada
> Assignee: Sean Owen
> Priority: Minor
> Labels: build-failure, compile
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
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
[jira] [Updated] (MAHOUT-782) Build error with Java JDK 1.7
Posted by "Ran Hamada (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAHOUT-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ran Hamada updated MAHOUT-782:
------------------------------
Attachment: MAHOUT-782.patch
patch
> Build error with Java JDK 1.7
> -----------------------------
>
> Key: MAHOUT-782
> URL: https://issues.apache.org/jira/browse/MAHOUT-782
> Project: Mahout
> Issue Type: Improvement
> Components: Integration
> Reporter: Ran Hamada
> Priority: Minor
> Labels: build-failure, compile
> Fix For: 0.6
>
> Attachments: MAHOUT-782.patch
>
>
> I get an error building mahout with JDK1.7.0 at
> integration/src/main/java/org/apache/mahout/cf/taste/impl/model/jdbc/ConnectionPoolDataSource.java
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira