WIP SeaweedFileSystem added mkdirs, getFileStatus, listStatus, delete

This commit is contained in:
Chris Lu
2018-11-25 13:43:26 -08:00
parent d9871e92d2
commit 1cbd53c01c
11 changed files with 584 additions and 98 deletions

View File

@@ -2,6 +2,9 @@ syntax = "proto3";
package filer_pb;
option java_package = "seaweedfs.client";
option java_outer_classname = "FilerProto";
//////////////////////////////////////////////////
service SeaweedFiler {
@@ -83,15 +86,17 @@ message FileChunk {
message FuseAttributes {
uint64 file_size = 1;
int64 mtime = 2;
int64 mtime = 2; // unix time in seconds
uint32 file_mode = 3;
uint32 uid = 4;
uint32 gid = 5;
int64 crtime = 6;
int64 crtime = 6; // unix time in seconds
string mime = 7;
string replication = 8;
string collection = 9;
int32 ttl_sec = 10;
string user_name = 11; // for hdfs
repeated string group_name = 12; // for hdfs
}
message CreateEntryRequest {