Installed hadoop using brew, now want to run hadoop jobs in intelliJ IDEA. How to setup the environment and resolve dependencies?
Installed hadoop using brew, now want to run hadoop jobs in intelliJ IDEA. How to setup the environment and resolve dependencies?
After spending lot's of time, was finally able to run hadoop jobs from intelliJ IDEA. Hope this might save time for others.
brew upgrade hadoop
installed/updated hadoop in /usr/local/Cellar/hadoop/2.x.x Now, we will try to import dependency from this location in our intelliJ
Repeat Step 4 and import ../Hadoop-2.x.x/share/hadoop/common/lib folder
Hadoop environment is integrated with intelliJ Java Project. You can create new java classes to implement your drivers, mappers, reducers etc.