In the example above, we hdfs through java code operation, the operator can continue to see the results we obtained with the code or via the command line, but no matter what kind are not intuitive, eclipse provides a direct connection to HDFS and show plug-ins. We will show how to use this plug-in.
1 systems, software and premise constraints
- Hadoop installed in CentOS7
https://www.jianshu.com/p/b7ae3b51e559 - eclipse Oxygen.3 (4.7.3)
above software download link: https://pan.baidu.com/s/1c_skDYabCRSkS5hRUB6lFQ
extraction code: a00t - I.e. windows installed in the machine 64 jdk8
https://www.jianshu.com/p/2d60d5f7ba46
2 operation
- 1 closed CentOS7 root user firewall
systemctl stop firewalld
- 2 Unzip the downloaded eclipse-bigdata.zip
-
3. Double-extracting file folder eclipse bigdata.exe, after the opening operation in the following manner:
These are the HDFS through the plug-in to view the eclipse.