Skip to content

Commit

Permalink
Merge pull request #63 from littleEast7/arrange-exception
Browse files Browse the repository at this point in the history
arrange exception
  • Loading branch information
JiamingMai authored Jan 2, 2025
2 parents 3063edb + fe4e1c3 commit 14368da
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 128 deletions.
3 changes: 2 additions & 1 deletion alluxiofs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from alluxiofs.client import AlluxioClient
from alluxiofs.core import AlluxioFileSystem
from alluxiofs.core import setup_logger

__all__ = ["AlluxioFileSystem", "AlluxioClient"]
__all__ = ["AlluxioFileSystem", "AlluxioClient", "setup_logger"]
3 changes: 3 additions & 0 deletions alluxiofs/client/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,6 @@
"http://{worker_host}:{http_port}/v1/load?path={path}&opType=stop"
)
ETCD_PREFIX_FORMAT = "/ServiceDiscovery/{cluster_name}/"
EXCEPTION_CONTENT = (
"Worker's address: {worker_host}:{http_port}, Error: {error}"
)
Loading

0 comments on commit 14368da

Please sign in to comment.