cassandra-commits mailing list archives

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

    [ https://issues.apache.org/jira/browse/CASSANDRA-6376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13828594#comment-13828594
] 

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: 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)

Mime
View raw message