I have an EMR Setup, which is supposed to come with Hive and Hadoop pre-configured.
As far, as I can see for any command which require MapReduce Job, Hive fails.
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
So, I went to Job Tracking URL, and here is the relevant output:
Diagnostics: Could not initialize class java.net.NetworkInterface
java.lang.NoClassDefFoundError: Could not initialize class java.net.NetworkInterface
at org.apache.hadoop.net.NetUtils.isLocalAddress(NetUtils.java:690)
...
Any help with this error would be appreciated...
Stack Trace points to codes: