Got it

OceanStor 9000 feature introduction -- HDFS

4274 0 10 0 0

HDFS Plugin is used to convert HDFS protocol-based access requests to NFS protocol-based access requests.

shows the position of HDFS Plugin in the Hadoop software architecture after HDFS Plugin is interconnected with OceanStor 9000.

Hadoop architecture including HDFS Plugin 
oceanstor_hdfs_fea_0038_fig1.png

As shown in below picture , by inheriting the FileSystem-class codes and the AbstractFileSystem-class codes provided by the open-source HDFS, HDFS Plugin provides file access interfaces, as shown in below table . 

icon-note.gif NOTE:

For details on the the FileSystem-class codes and the AbstractFileSystem-class codes provided by the open-source HDFS, visit http://hadoop.apache.org/.

HDFS Plugin principle 
oceanstor_hdfs_fea_0038_fig2.png
Interfaces supported by HDFS Plugin

Class

Function Name

Description

FileSystem

initialize

Initializes HDFS Plugin.

getFileBlockLocations

Obtains file offset information.

append

Appends data to a file.

create

Creates a file.

delete

Deletes a file or folder.

getFileStatus

Obtains file information.

listStatus

Lists file information.

open

Open a file.

rename

Renames a file or folder.

mkdirs

Creates a folder.

setOwner

Sets an owner or owning group for a file or folder.

setPermission

Sets permission for a file or folder.

AbstractFileSystem

createSymlink

Creates a soft link.

getFileLinkStatus

Obtains the file information to which a specific soft link corresponds.

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.