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
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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