17

Click here to load reader

Integration with hdfs using WebDFS and NFS

Embed Size (px)

Citation preview

Page 1: Integration with hdfs using WebDFS and NFS

Integration with HDFSUsing NFS and WebHDFS

Christophe Marchal | Software Architect

Page 2: Integration with hdfs using WebDFS and NFS
Page 3: Integration with hdfs using WebDFS and NFS

Access your files in HDFS

Page 4: Integration with hdfs using WebDFS and NFS

Network File System WebHDFS

Page 5: Integration with hdfs using WebDFS and NFS

NFS support Motivations

1. File browsing and downloading

2. File uploading

3. Data streaming

Page 6: Integration with hdfs using WebDFS and NFS

Network File System Stack

Page 7: Integration with hdfs using WebDFS and NFS

NFS Gateway

Page 8: Integration with hdfs using WebDFS and NFS

NFS Gateway

Page 9: Integration with hdfs using WebDFS and NFS

Hands on

mount -t nfs -o vers=3,proto=tcp,nolock HOSTIP:/ /PATH/TO/MOUNTPOINT

Page 10: Integration with hdfs using WebDFS and NFS

WebHDFS

Page 11: Integration with hdfs using WebDFS and NFS

API

HTTP

webhdfs://<HOST>:<HTTP_PORT>/<PATH>

WebHDFS hdfs://<HOST>:<RPC_PORT>/<PATH>

http://<HOST>:<HTTP_PORT>/webhdfs/v1/<PATH>?op=

Page 12: Integration with hdfs using WebDFS and NFS

API

HTTP GET

OPENGETFILESTATUSLISTSTATUSGETCONTENTSUMMARYGETFILECHECKSUMGETHOMEDIRECTORYGETDELEGATIONTOKEN

HTTP PUT

CREATEMKDIRSRENAMESETREPLICATIONSETOWNERSETPERMISSIONSETTIMESRENEWDELEGATIONTOKENCANCELDELEGATIONTOKEN

HTTP POST APPEND

HTTP DELETE DELETE

Page 13: Integration with hdfs using WebDFS and NFS

File status

Page 14: Integration with hdfs using WebDFS and NFS

Read File

Page 15: Integration with hdfs using WebDFS and NFS

Append

Append to a File

Page 16: Integration with hdfs using WebDFS and NFS

Append

Example of use

Page 17: Integration with hdfs using WebDFS and NFS

Christophe Marchal | Software Architect @toff63

Thanks