org.apache.pig.impl.logicalLayer.FrontendException

ERROR 1066: Unable to open iterator for alias raw. Backend error : Unable to recreate exception from backed error: Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected

Samebug tips1

Check for bad records in the input data (like '(null)')

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

Solutions on the web312

  • via Google Groups by Zhu Wayne, 6 months ago
    ERROR 1066: Unable to open iterator for alias raw. Backend error : Unable to recreate exception from backed error: Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected
  • ERROR 1066: Unable to open iterator for alias sc. Backend error : Unable to recreate exception from backed error: Error: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
  • ERROR 1066: Unable to open iterator for alias sc. Backend error : Unable to recreate exception from backed error: Error: Found class org.apache.hadoop.mapreduce.TaskAttemptContext, but interface was expected
  • Stack trace

    • org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias raw. Backend error : Unable to recreate exception from backed error: Error: Found interface org.apache.hadoop.mapreduce.Counter, but class was expected at org.apache.pig.PigServer.openIterator(PigServer.java:826)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago