cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6376) Pig tests are failing
Date Thu, 21 Nov 2013 08:22:35 GMT


Sylvain Lebresne commented on CASSANDRA-6376:

I'll note that while I'm +1 on this exclude patch, the pig test fails with that ExceptionInInitializerError
above even if run alone through the pig-test target, which is the main problem I meant we
should fix here.

> Pig tests are failing
> ---------------------
>                 Key: CASSANDRA-6376
>                 URL:
>             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(
>     [junit] 	at org.apache.cassandra.pig.CqlTableDataTypeTest.setup(
>     [junit] Caused by: java.lang.NullPointerException
>     [junit] 	at org.apache.hadoop.hdfs.MiniDFSCluster.startDataNodes(
>     [junit] 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(
>     [junit] 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(
>     [junit] 	at org.apache.pig.test.MiniCluster.setupMiniDfsAndMrClusters(
>     [junit] 	at org.apache.pig.test.MiniGenericCluster.<init>(
>     [junit] 	at org.apache.pig.test.MiniCluster.<init>(
>     [junit] 	at org.apache.pig.test.MiniGenericCluster.<clinit>(
> {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

View raw message