Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2972 Umbrella ticket for test failures in 0.11/trunk
  3. PIG-2978

TestLoadStoreFuncLifeCycle fails with hadoop-2.0.x

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.11
    • None
    • None

    Description

      To reproduce, please run:

      ant clean test -Dtestcase=TestLoadStoreFuncLifeCycle -Dhadoopversion=23
      

      This fails with the following error:

      Error during parsing. Job in state DEFINE instead of RUNNING
      org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1000: Error during parsing. Job in state DEFINE instead of RUNNING
          at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1607)
          at org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:1546)
          at org.apache.pig.PigServer.registerQuery(PigServer.java:516)
          at org.apache.pig.PigServer.registerQuery(PigServer.java:529)
          at org.apache.pig.TestLoadStoreFuncLifeCycle.testLoadStoreFunc(TestLoadStoreFuncLifeCycle.java:332)
      Caused by: Failed to parse: Job in state DEFINE instead of RUNNING
          at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:193)
          at org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1599)
      Caused by: java.lang.IllegalStateException: Job in state DEFINE instead of RUNNING
          at org.apache.hadoop.mapreduce.Job.ensureState(Job.java:292)
          at org.apache.hadoop.mapreduce.Job.toString(Job.java:456)
          at java.lang.String.valueOf(String.java:2826)
          at org.apache.pig.TestLoadStoreFuncLifeCycle.logCaller(TestLoadStoreFuncLifeCycle.java:270)
          at org.apache.pig.TestLoadStoreFuncLifeCycle.access$000(TestLoadStoreFuncLifeCycle.java:41)
          at org.apache.pig.TestLoadStoreFuncLifeCycle$InstrumentedStorage.logCaller(TestLoadStoreFuncLifeCycle.java:54)
          at org.apache.pig.TestLoadStoreFuncLifeCycle$InstrumentedStorage.getSchema(TestLoadStoreFuncLifeCycle.java:115)
          at org.apache.pig.newplan.logical.relational.LOLoad.getSchemaFromMetaData(LOLoad.java:174)
          at org.apache.pig.newplan.logical.relational.LOLoad.<init>(LOLoad.java:88)
          at org.apache.pig.parser.LogicalPlanBuilder.buildLoadOp(LogicalPlanBuilder.java:839)
          at org.apache.pig.parser.LogicalPlanGenerator.load_clause(LogicalPlanGenerator.java:3236)
          at org.apache.pig.parser.LogicalPlanGenerator.op_clause(LogicalPlanGenerator.java:1315)
          at org.apache.pig.parser.LogicalPlanGenerator.general_statement(LogicalPlanGenerator.java:799)
          at org.apache.pig.parser.LogicalPlanGenerator.statement(LogicalPlanGenerator.java:517)
          at org.apache.pig.parser.LogicalPlanGenerator.query(LogicalPlanGenerator.java:392)
          at org.apache.pig.parser.QueryParserDriver.parse(QueryParserDriver.java:184)
      

      Attachments

        1. PIG-2978-2.patch
          2 kB
          Cheolsoo Park
        2. PIG-2978.patch
          2 kB
          Cheolsoo Park

        Activity

          People

            cheolsoo Cheolsoo Park
            cheolsoo Cheolsoo Park
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: