Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-6376

Pig tests are failing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.2.16, 2.0.7, 2.1 beta2
    • None
    • None
    • Low

    Description

      On my box, all pig tests are failing with the following stack:

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

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

      Attachments

        1. 6376-1.2-branch.txt
          1 kB
          Alex Liu
        2. 6376-v2.txt
          2 kB
          Alex Liu

        Activity

          People

            alexliu68 Alex Liu
            slebresne Sylvain Lebresne
            Alex Liu
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: