org.apache.pig.impl.logicalLayer.FrontendException

ERROR 1066: Unable to open iterator for alias uniqcnt

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 web54

  • via Unknown by Ilia Chinkare,
  • via Unknown by Ilia Chinkare,
  • via Unknown by Jay Vyas,
  • Stack trace

    • org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias uniqcnt at org.apache.pig.PigServer.openIterator(PigServer.java:880) at org.bigtop.bigpetstore.etl.PigETL.numberOfProductsByProduct(PigETL.java:99) at org.bigtop.bigpetstore.pigtest.TestPig.runPig(TestPig.java:61) at org.bigtop.bigpetstore.pigtest.TestPig.testPigETL(TestPig.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    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 visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,