示例#1
0
        public async Task CreateSnapshot()
        {
            client = new WebHdfsClient(DataTestUtility.HdfsConnStr);
            var dirPath = $"{DataTestUtility.HdfsRootDir}/{nameof(CreateSnapshot)}/";
            await client.MakeDirectory(dirPath, "770");


            var result = await client.CreateSnapshot(dirPath);

            var fileStat = await client.GetFileStatus($"{dirPath}SNAPSHOT");

            Assert.True(false);
        }