org.apache.pig.impl.logicalLayer.FrontendException

ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web312

  • via incubator-hcatalog-user by Subroto sanyal, 9 months ago
    ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.
  • via incubator-hcatalog-user by Subroto sanyal, 9 months ago
    ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.
  • via Google Groups by batman, 1 year ago
    ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false.
  • Stack trace

    • org.apache.pig.impl.logicalLayer.FrontendException: ERROR 2042: Error in new logical plan. Try -Dpig.usenewlogicalplan=false. at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:313) at org.apache.pig.PigServer.compilePp(PigServer.java:1365) at org.apache.pig.PigServer.executeCompiledLogicalPlan(PigServer.java:1207) at org.apache.pig.PigServer.execute(PigServer.java:1201) at org.apache.pig.PigServer.access$100(PigServer.java:129) at org.apache.pig.PigServer$Graph.execute(PigServer.java:1528) at org.apache.pig.PigServer.executeBatchEx(PigServer.java:373) at org.apache.pig.PigServer.executeBatch(PigServer.java:340) at org.apache.pig.tools.grunt.GruntParser.executeBatch(GruntParser.java:115) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:172) at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:144) at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:90) at org.apache.pig.Main.run(Main.java:500) at org.apache.pig.Main.main(Main.java:107) Caused by: 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(InputOutputFileValidator.java:82) at org.apache.pig.newplan.logical.relational.LOStore.accept(LOStore.java:76) at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:64) at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66) at org.apache.pig.newplan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:66) at org.apache.pig.newplan.DepthFirstWalker.walk(DepthFirstWalker.java:53) at org.apache.pig.newplan.PlanVisitor.visit(PlanVisitor.java:50) at org.apache.pig.newplan.logical.rules.InputOutputFileValidator.validate(InputOutputFileValidator.java:52) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.compile(HExecutionEngine.java:292) ... 13 more Caused by: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1115: Column name for a field is not specified. Please provide the full schema as an argument to HCatStorer. at org.apache.hcatalog.pig.HCatBaseStorer.validateAlias(HCatBaseStorer.java:410) at org.apache.hcatalog.pig.HCatBaseStorer.doSchemaValidations(HCatBaseStorer.java:328) at org.apache.hcatalog.pig.HCatStorer.setStoreLocation(HCatStorer.java:105) at org.apache.pig.newplan.logical.rules.InputOutputFileValidator$InputOutputFileVisitor.visit(InputOutputFileValidator.java:75) ... 21 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.