[ https://issues.apache.org/jira/browse/CASSANDRA-6376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13829027#comment-13829027 ]
Sylvain Lebresne commented on CASSANDRA-6376: --------------------------------------------- bq. pig-test passes for me just fine. Interesting. But you didn't saw the same stacktrace than in the description when running it with the main test target did you? If you did, that doesn't make a whole lot of sense because the pig-test target does nothing more than only running the pig tests with a different timeout. I wonder if it's not some dependency that needs to be installed that I don't have but you two guys have because you've used pig and I never have. In any case, if it's just a weird local thing of my machine, then I suppose I don't really care, I'll just never run the pig-test. But can at least one more people check the pig-test target and say what he got? > Pig tests are failing > --------------------- > > Key: CASSANDRA-6376 > URL: https://issues.apache.org/jira/browse/CASSANDRA-6376 > Project: Cassandra > Issue Type: Bug > Reporter: Sylvain Lebresne > Assignee: Alex Liu > Priority: Minor > Attachments: 6376-1.2-branch.txt > > > On my box, all pig tests are failing with the following stack: > {noformat} > [junit] Testcase: org.apache.cassandra.pig.CqlTableDataTypeTest: Caused > an ERROR > [junit] null > [junit] java.lang.ExceptionInInitializerError > [junit] at > org.apache.cassandra.pig.PigTestBase.startHadoopCluster(PigTestBase.java:104) > [junit] at > org.apache.cassandra.pig.CqlTableDataTypeTest.setup(CqlTableDataTypeTest.java:198) > [junit] Caused by: java.lang.NullPointerException > [junit] at > org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(MiniDFSCluster.java:422) > [junit] at > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:280) > [junit] at > org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:124) > [junit] at > org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(MiniCluster.java:50) > [junit] at > org.apache.pig.test.MiniGenericCluster.<init>(MiniGenericCluster.java:49) > [junit] at org.apache.pig.test.MiniCluster.<init>(MiniCluster.java:31) > [junit] at > org.apache.pig.test.MiniGenericCluster.<clinit>(MiniGenericCluster.java:45) > {noformat} > On CASSANDRA-6375, Brandon reported that it was the case on his box too, so I > don't think it's a local to my machine. Seems to be a relatively basic setup > thing though, not an actual test failure. > I'll also note that we have a specific target for pig tests and that this > target uses a longer timeout than the one for the test target. If that's > because pig tests typically don't finish within the test timeout, then it > would be nice to exclude them from the normal test target (and maybe include > them in the long-test target). -- This message was sent by Atlassian JIRA (v6.1#6144)