HDFS-OVER-FTP Installation and Configuration

Source: Internet
Author: User
Tags ftp client

Hdfs-over-ftp is an open source, easy-to-use gadget that implements the download and upload capabilities of the HDFs system. Can be used as a management tool, fast and convenient.


1 Installing the JDK (1.6 or later) and configuring environment variables
Execute java-version and Javac-version separately, if the display version is correct, the installation and configuration is successful


2 Install Hadoop and start the service and configure the environment variables
Execution of Hadoop version, if the correct version number is displayed, indicates a successful installation and configuration


3 Installing MAVEN (3.0.4) and configuring environment variables
Perform MVN--version, if the correct version is displayed, indicating the installation and configuration success


4 download hdfs-over-ftp-master.tar.gz, address https://github.com/iponweb/hdfs-over-ftp


5 TAR-ZVXF hdfs-over-ftp-master.tar.gz


6 VI hdfs-over-ftp-master/src/main/resources/users.properties


7 Set the value of the red font to the MD5 encryption value of the password you want to set, and the MD5 encrypted value with the following password of 123456
ftpserver.user.firstuser.userpassword=e10adc3949ba59abbe56e057f20f883e
ftpserver.user.firstuser.homedirectory=/
Ftpserver.user.firstuser.enableflag=true
Ftpserver.user.firstuser.writepermission=true
Ftpserver.user.firstuser.maxloginnumber=0
Ftpserver.user.firstuser.maxloginperip=0
Ftpserver.user.firstuser.idletime=0
Ftpserver.user.firstuser.uploadrate=0
Ftpserver.user.firstuser.downloadrate=0
Ftpserver.user.firstuser.groups=firstuser,users


ftpserver.user.agladyshev.userpassword=e10adc3949ba59abbe56e057f20f883e
ftpserver.user.agladyshev.homedirectory=/
Ftpserver.user.agladyshev.enableflag=true
Ftpserver.user.agladyshev.writepermission=true
Ftpserver.user.agladyshev.maxloginnumber=0
Ftpserver.user.agladyshev.maxloginperip=0
Ftpserver.user.agladyshev.idletime=0
Ftpserver.user.agladyshev.uploadrate=0
Ftpserver.user.agladyshev.downloadrate=0
Ftpserver.user.agladyshev.groups=agladyshev,users


8 Modify the configuration of the file Hdfs-over-ftp-master/src/main/resources/hdfs-over-ftp.properties, red for the modified value
#uncomment this to run FTP server
Port = 2222
Data-ports =2223


#uncomment this to run SSL FTP server
#ssl-port = 2226
#ssl-data-ports = 2227


# HDFs URI
Hdfs-uri = hdfs://localhost: 9000


# has to be a user which runs HDFS
# This allows-start FTP server as a root to use port
# and use HDFs as a superuser
Superuser = Agladyshev


9 Modify the configuration of the file Hdfs-over-ftp-master/pom.xml, the red font is the modified section, if not modified, may not be able to find some packages when the server is running
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>2.0.0-m2</version>
</dependency>

<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
<version>2.6.0</version>
</dependency>


10 Execute SH hdfs-over-ftp-master/hdfs-over-ftp.sh, after downloading all the packages the server will start (note: The machine that installs the FTP service must be able to connect the external network)
11 If the display server is started, you can log in with any FTP client or command

After starting the server, use ftp://localhost:2222 to enter the HDFS system. According to the small monk to test. Convenience is very convenient, but often there are bugs, such as sometimes go into failure, unable to log in, or download and upload unresponsive all need to restart the service. So the tools are not yet stable enough.

Hdfs-over-ftp Installation and configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.