Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Get the svn repo from here? https://cwiki.apache.org/MAHOUT/buildingmahout.html svn co http://svn.apache.org/repos/asf/mahout/trunk On Tue, Apr 16, 2013 at 8:11 PM, Ted Dunning ted.dunn...@gmail.com wrote: This still isn't right. WHat happens if you clone mahout again (to get a clean copy) and then open the pom file using a clean start of IntelliJ? This will avoid question of cached evil. Also, which version of IntelliJ are you using? On Tue, Apr 16, 2013 at 11:10 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: On Tue, Apr 16, 2013 at 3:14 PM, Ted Dunning ted.dunn...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Using compile in the Maven tab doesn't do the trick. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation? Maven 3.0.4, and yes
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
PS IntelliJ Community Edition 11.1.5 for Linux On Tue, Apr 30, 2013 at 2:36 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Get the svn repo from here? https://cwiki.apache.org/MAHOUT/buildingmahout.html svn co http://svn.apache.org/repos/asf/mahout/trunk On Tue, Apr 16, 2013 at 8:11 PM, Ted Dunning ted.dunn...@gmail.comwrote: This still isn't right. WHat happens if you clone mahout again (to get a clean copy) and then open the pom file using a clean start of IntelliJ? This will avoid question of cached evil. Also, which version of IntelliJ are you using? On Tue, Apr 16, 2013 at 11:10 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: On Tue, Apr 16, 2013 at 3:14 PM, Ted Dunning ted.dunn...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Using compile in the Maven tab doesn't do the trick. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation? Maven 3.0.4, and yes
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Upgrading to IntelliJ 12 has fixed this prob! Thanks On Tue, Apr 30, 2013 at 2:39 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: PS IntelliJ Community Edition 11.1.5 for Linux On Tue, Apr 30, 2013 at 2:36 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Get the svn repo from here? https://cwiki.apache.org/MAHOUT/buildingmahout.html svn co http://svn.apache.org/repos/asf/mahout/trunk On Tue, Apr 16, 2013 at 8:11 PM, Ted Dunning ted.dunn...@gmail.comwrote: This still isn't right. WHat happens if you clone mahout again (to get a clean copy) and then open the pom file using a clean start of IntelliJ? This will avoid question of cached evil. Also, which version of IntelliJ are you using? On Tue, Apr 16, 2013 at 11:10 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: On Tue, Apr 16, 2013 at 3:14 PM, Ted Dunning ted.dunn...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Using compile in the Maven tab doesn't do the trick. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation? Maven 3.0.4, and yes
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
On Tue, Apr 30, 2013 at 2:59 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Upgrading to IntelliJ 12 has fixed this prob! Happy days.
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Ah it is in generated-sources. So any class in there will be unavailable to people's IDEs. Any interest in fixing this? On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Nevermind I see this is in the docs On Tue, Apr 16, 2013 at 1:00 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Ah it is in generated-sources. So any class in there will be unavailable to people's IDEs. Any interest in fixing this? On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
It is available in the IDE because it will pick up the Maven project but you need to bade your project on Maven. On Apr 16, 2013 9:00 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Ah it is in generated-sources. So any class in there will be unavailable to people's IDEs. Any interest in fixing this? On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
No need for Mahout to fix this because IntelliJ fixed this long ago. Just open the pom.xml file at the top level. Then use the maven commands menu on the far right to compile once using maven. Shazam, all fixed. Works best in IDEA 10 or more recent. The most recent I have seen is 12.1.1. On Tue, Apr 16, 2013 at 8:00 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Ah it is in generated-sources. So any class in there will be unavailable to people's IDEs. Any interest in fixing this? On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. On Tue, Apr 16, 2013 at 1:24 PM, Ted Dunning ted.dunn...@gmail.com wrote: No need for Mahout to fix this because IntelliJ fixed this long ago. Just open the pom.xml file at the top level. Then use the maven commands menu on the far right to compile once using maven. Shazam, all fixed. Works best in IDEA 10 or more recent. The most recent I have seen is 12.1.1. On Tue, Apr 16, 2013 at 8:00 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Ah it is in generated-sources. So any class in there will be unavailable to people's IDEs. Any interest in fixing this? On Tue, Apr 16, 2013 at 12:47 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Looks like OpenIntObjectHashMap is not in the release. Is this patched somewhere? On Tue, Apr 16, 2013 at 12:26 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Guys, using release 0.7 I have this complaint in my IDE(IntelliJ) for org.apache.mahout.cf.taste.hadoop.als.FactorizationEvaluator and org.apache.mahout.cf.taste.hadoop.als.ParallelALSFactorizationJob: Here's the offending line for both classes: import org.apache.mahout.math.map.OpenIntObjectHashMap; Am I missing a build step? The test for parallel als factorization job runs fine. Thanks Andrew
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
On Tue, Apr 16, 2013 at 8:33 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation?
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
On Tue, Apr 16, 2013 at 3:14 PM, Ted Dunning ted.dunn...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Using compile in the Maven tab doesn't do the trick. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation? Maven 3.0.4, and yes
Re: Cannot resolve symbol 'OpenIntObjectHashMap'
This still isn't right. WHat happens if you clone mahout again (to get a clean copy) and then open the pom file using a clean start of IntelliJ? This will avoid question of cached evil. Also, which version of IntelliJ are you using? On Tue, Apr 16, 2013 at 11:10 PM, Andrew Musselman andrew.mussel...@gmail.com wrote: On Tue, Apr 16, 2013 at 3:14 PM, Ted Dunning ted.dunn...@gmail.com wrote: Cool, thanks; I fixed it by adding the generated-sources/org directory to the source path.. That isn't a good fix. For one thing, you may have a similar problem with tests. And if we add protobuf sorts of things, that will fail as well. Using compile in the Maven tab doesn't do the trick. Still have IntelliJ complaining about a bunch of things in the top-level pom.xml, like hadoop module dependencies not found, maven plugins not found, etc.. That means that your environment has a problem. What version of Maven do you have installed? Did you tell IntelliJ about your installation? Maven 3.0.4, and yes