You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2013/11/21 00:43:36 UTC

[jira] [Updated] (CASSANDRA-6376) Pig tests are failing

     [ https://issues.apache.org/jira/browse/CASSANDRA-6376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Liu updated CASSANDRA-6376:
--------------------------------

    Attachment: 6376-1.2-branch.txt

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