In previous blog, I wrote about the steps to set the environment and download Apache Hadoop code on our machine for understanding and contributing. In this blog, I will walk through the code set up on IDE (IntelliJ here).
By now, I presume to Apache Hadoop code is on our machine and also code is compiled. If not follow the blog.
Please follow below steps for importing HDFS module on IntelliJ
Step 1: Open IntelliJ (either using short-link or idea.sh) and then close project if already open as shown below
Step 2: In below screen, choose Import project as shown below.
Step 3: Now, you have to browse to the folder you want to import. Select Hadoop/hadoop-hdfs-project/hadoop-hdfs folder directory and press 'OK'.
Step 4: The below screen will be shown. Please select the option "Import project from external model" and Click 'next'.
Step 5: Now, Keep pressing next->next and then finish. The project will be imported in IntelliJ as shown below.
Now, Apache Hadoop HDFS module is imported in IntelliJ. You can import other module (YARN,Common) similarly.
I hope all viewers are able to import the Apache Hadoop project successfully in IntelliJ. If facing any issues, please discuss as I will be happy assisting you all.
In the next tutorial, I will discuss the steps of debugging Hadoop.
By now, I presume to Apache Hadoop code is on our machine and also code is compiled. If not follow the blog.
Please follow below steps for importing HDFS module on IntelliJ
Step 1: Open IntelliJ (either using short-link or idea.sh) and then close project if already open as shown below
Step 2: In below screen, choose Import project as shown below.
Step 3: Now, you have to browse to the folder you want to import. Select Hadoop/hadoop-hdfs-project/hadoop-hdfs folder directory and press 'OK'.
Step 4: The below screen will be shown. Please select the option "Import project from external model" and Click 'next'.
Step 5: Now, Keep pressing next->next and then finish. The project will be imported in IntelliJ as shown below.
Now, Apache Hadoop HDFS module is imported in IntelliJ. You can import other module (YARN,Common) similarly.
I hope all viewers are able to import the Apache Hadoop project successfully in IntelliJ. If facing any issues, please discuss as I will be happy assisting you all.
In the next tutorial, I will discuss the steps of debugging Hadoop.
No comments:
Post a Comment