diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-09-01 03:46:51 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-09-01 03:46:51 -0700 |
| commit | cb299dfaa279e14def8bf3f26816913213a91097 (patch) | |
| tree | 1778bf6ced657633bab9ca8ec0c97c55ddf88bcc /other/java/client/src/test | |
| parent | 5f283498c058ba0da5a31517040426e9f8291885 (diff) | |
| download | seaweedfs-cb299dfaa279e14def8bf3f26816913213a91097.tar.xz seaweedfs-cb299dfaa279e14def8bf3f26816913213a91097.zip | |
HCFS: use latest grpc versions, separate hadoop2 and hadoop3
Diffstat (limited to 'other/java/client/src/test')
| -rw-r--r-- | other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java b/other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java new file mode 100644 index 000000000..dde23ee87 --- /dev/null +++ b/other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java @@ -0,0 +1,17 @@ +package seaweedfs.client; + +import java.util.List; + +public class SeaweedFilerTest { + public static void main(String[] args){ + + FilerClient filerClient = new FilerClient("localhost", 18888); + + List<FilerProto.Entry> entries = filerClient.listEntries("/"); + + for (FilerProto.Entry entry : entries) { + System.out.println(entry.toString()); + } + + } +} |
