java client operating HDFS (IDEA, Eclipse plug-in)

deployment windows hadoop package
deployment package Download
First step: hadoop.dll file into c: / windows / system32 Here Insert Picture Description
Step Two: Configure environment variables
add HADOOP_HOME, HADOOP_USER_NAME = root
Here Insert Picture Description
hadoopbin and sbin directories in the PATH into Here Insert Picture Description
third step: in common, hdfs, mapreduce, yarn, tools and jar package lib at all in the hadoop-2.6.5.tar \ hadoop-2.6.5 \ share \ hadoop directory (total of 121), into the same directory Here Insert Picture Description
step four: eclipse plug-in
to install the plug-
configure
Here Insert Picture DescriptionHere Insert Picture Description
the plug-in does not support high availability, so every day you need to configure
Active namenode provide the service, standby does not provide services
Here Insert Picture Description
to restart the computer, load hadoop.dll
step Four: IDEA plug-in configuration hadoop

  • Hadoop plugin installation
    Here Insert Picture Description
  • Hadoop plugin using
    Here Insert Picture Description
    the same Active namenode provide the service, standby does not provide servicesHere Insert Picture Description
    Here Insert Picture Description
Published 235 original articles · won praise 412 · views 240 000 +

Guess you like

Origin blog.csdn.net/qq_42859864/article/details/104525083