- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Error while executing DUMP command in PIG in AWS HDPCD exam
- Labels:
-
Apache Pig
Created ‎08-16-2017 06:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I started Pig with pig -x local and loaded the hdfs file ina relation. When I executed DUMP command, it threw the below error:
ERROR 1066: Unable to open iterator for alias events. Backend error : java.lang.IllegalStateException: Job in state DEFINE instead of RUNNING org.apache.pig.impl.logicalLayer.FrontendException: ERROR 1066: Unable to open iterator for alias events. Backend error : java.lang.IllegalStateException: Job in state DEFINE instead of RUNNING
Created ‎08-16-2017 03:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you paste the whole log? Hard to tell from this excerpt. There might be an earlier error causing this. As well, why are you running this in local mode? Did you try restarting the grunt shell ? I also hit some weird errors which cleared after restarting the shell which was in an inconsistent state.
Created ‎08-16-2017 03:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you paste the whole log? Hard to tell from this excerpt. There might be an earlier error causing this. As well, why are you running this in local mode? Did you try restarting the grunt shell ? I also hit some weird errors which cleared after restarting the shell which was in an inconsistent state.
Created ‎08-17-2017 06:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thankyou for your response. I figured my AWS services were not starting properly and hence it was giving this error. Solved my issue. Also Thanks, I needed to run Pig instead of pig -x local.
Created ‎08-18-2017 12:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the update. Glad it helped. Can you please accept the answer ?
