-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure due to test errors #19
Comments
I got failures on the same tests. |
I was able to address the errors in com.tamingtext.opennlp.AnswerTypeTest and com.tamingtext.qa.QATest by renaming the index.* files to .idx and data. to *.data in TT_HOME/WordNet-3.0/dict/. For example, data.adj => adj.dat and index.adj => adj.idx. The issue with com.tamingtext.classifier.bayes.ExtractTrainingDataTest seems to be a permissions issue. In my case it looks like: java.io.IOException: Failed to set permissions of path: \tmp\hadoop-GChavez\mapred\staging\GChavez-212503113.staging to 0700 I'm still working on solving this one. |
From what I can tell, the issue is the version of Hadoop that Mahout uses. See https://issues.apache.org/jira/browse/HADOOP-7682 TamingText depends on Mahout 0.6, the latest version is 0.11. I'm a Java noob and I have no idea how to go about trying to update these dependencies. Otherwise, I'd fork this repo, update it, and submit a pull request. If anyone wants to point me to some resources that will educate me, I'd appreciate it. Otherwise I'll keep beating my head against it until I figure it out. |
Hi, Running com.tamingtext.opennlp.AnswerTypeTest I am using Ubuntu, JDK 1.8 and Maven 3.3.9. But I tried with older Java and Maven versions and I got the same error. Check the test error log below. Thanks a lot, _Test set: com.tamingtext.opennlp.AnswerTypeTestTests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.786 sec <<< FA |
Hello,
I have followed the readme to build the code downloaded from master branch yesterday. I keep getting the following errors during the test phase of maven build. It seems only 3 of the unit tests failed. I want to check if these are known issues or if there is any workaround so that I can complete the build and test out the sample QA system.
I am using Windows 2008 R2, JDK 1.7.0_05, Maven 3.2.2
Thanks
-Jimmy
T E S T S
Running com.tamingtext.carrot2.Carrot2ExampleTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.192 sec
Running com.tamingtext.classifier.bayes.BayesUpdateRequestProcessorTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.566 sec
Running com.tamingtext.classifier.bayes.ExtractTrainingDataTest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.961 sec <<< FAILURE!
Running com.tamingtext.classifier.mlt.MoreLikeThisQueryTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.565 sec
Running com.tamingtext.fuzzy.LevenshteinDistanceTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.171 sec
Running com.tamingtext.fuzzy.OverlapMeasuresTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.737 sec
Running com.tamingtext.fuzzy.TrieNodeTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.182 sec
Running com.tamingtext.mahout.VectorExamplesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.134 sec
Running com.tamingtext.opennlp.AnswerTypeTest
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.956 sec <<< FAILURE!
Running com.tamingtext.opennlp.ChunkParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.611 sec
Running com.tamingtext.opennlp.NameFinderTest
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.591 sec
Running com.tamingtext.opennlp.ParserTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.751 sec
Running com.tamingtext.opennlp.POSTaggerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.843 sec
Running com.tamingtext.qa.PassageRankingComponentTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.974 sec
Running com.tamingtext.qa.QATest
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 53.369 sec <<< FAILURE!
Running com.tamingtext.sentences.SentenceDetectionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.329 sec
Running com.tamingtext.snowball.SnowballStemmerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.189 sec
Running com.tamingtext.solr.SolrJTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.192 sec
Running com.tamingtext.texttamer.solr.NameFilterTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.377 sec
Running com.tamingtext.texttamer.solr.SentenceTokenizerTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.457 sec
Running com.tamingtext.tika.TikaTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.889 sec
Running com.tamingtext.util.StringUtilTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.221 sec
Results :
Tests in error:
Tests run: 43, Failures: 0, Errors: 4, Skipped: 0
The text was updated successfully, but these errors were encountered: