java.lang.Error: org.apache.pig.impl.logicalLayer.FrontendException: ERROR 0: Incompatible file URI scheme: har : hdfs

Apache's JIRA Issue Tracker | Tsz Wo Nicholas Sze | 7 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.

Root Cause Analysis

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

    ERROR 0: Incompatible file URI scheme: har : hdfs

    at org.apache.pig.LoadFunc.getAbsolutePath()
  2. org.apache.pig
    Main.main
    1. org.apache.pig.LoadFunc.getAbsolutePath(LoadFunc.java:246)
    2. org.apache.pig.LoadFunc.relativeToAbsolutePath(LoadFunc.java:62)
    3. org.apache.pig.impl.logicalLayer.parser.QueryParser.LoadClause(QueryParser.java:1472)
    4. org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:1245)
    5. org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:911)
    6. org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:700)
    7. org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:63)
    8. org.apache.pig.PigServer$Graph.parseQuery(PigServer.java:1035)
    9. org.apache.pig.PigServer$Graph.registerQuery(PigServer.java:985)
    10. org.apache.pig.PigServer.registerQuery(PigServer.java:385)
    11. org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:712)
    12. org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:324)
    13. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:160)
    14. org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:136)
    15. org.apache.pig.tools.grunt.Grunt.run(Grunt.java:75)
    16. org.apache.pig.Main.main(Main.java:356)
    16 frames