I've downloaded hadoop2.2.0.jar and added it to my eclipse project as an external jar library. I get error for:
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io;
Error: org.apache.hadoop.fs.Path cannot be resolved.
Could you please let me know how I can fix it? I want to create a .jar from my app and run it on Amazon EMR.
Thank you so much. I replaced Hadoop version 2.2.0 with 1.0.3 and the problem get solved.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.