SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
fix: weed shell add filer runtime attributes
shibinbin3464f21b5cc7
diff --git a/weed/command/shell.go b/weed/command/shell.goindex 79f8b8bf92..7a328d8c1a 100644--- a/weed/command/shell.go+++ b/weed/command/shell.go@@ -14,6 +14,12 @@ var (func init() {cmdShell.Run = runShell // break init cycleshellOptions.Masters = cmdShell.Flag.String("master", "localhost:9333", "comma-separated master servers")+ filerHost := cmdShell.Flag.String("filer.host", "localhost", "comma-separated filer server host")+ flierPort := cmdShell.Flag.Int64("filer.port", 9333, "comma-separated filer server port")+ directory := cmdShell.Flag.String("filer.dir", "/", "comma-separated filer server directory")+ shellOptions.FilerHost = *filerHost+ shellOptions.FilerPort = *flierPort+ shellOptions.Directory = *directory}var cmdShell = &Command{@@ -24,19 +30,14 @@ var cmdShell = &Command{`,}-var ()func runShell(command *Command, args []string) bool {util.LoadConfiguration("security", false)shellOptions.GrpcDialOption = security.LoadClientTLS(viper.Sub("grpc"), "client")- shellOptions.FilerHost = "localhost"- shellOptions.FilerPort = 8888- shellOptions.Directory = "/"-shell.RunShell(shellOptions)return true-}+}\ No newline at end of file