org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.

incubator-hcatalog-user | Ashutosh Chauhan | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: Data Loding in HCatalog using PIG

    incubator-hcatalog-user | 5 years ago | Ashutosh Chauhan
    org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.

    Root Cause Analysis

    1. org.apache.pig.impl.logicalLayer.FrontendException

      ERROR 1115: Output Location Validation Failed for: 'default.passwdTableAnalysis More info to follow: Column name for a field is not specified. Please provide the full schema as an argument to HCatStorer.

      at org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit()
    2. org.apache.pig
      PlanVisitor.visit
      1. org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit(InputOutputFileValidator.java:82)
      2. org.apache.pig.newplan.logical.relational.LOStore.accept(LOStore.java:76)
      3. org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:64)
      4. org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66)
      5. org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66)
      6. org.apache.pig.newplan.DepthFirstWalker.walk(DepthFirstWalker.java:53)
      7. org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50)
      7 frames