Exemplo n.º 1
0
 static void Test()
 {
     UploadFile(@"D:\Research\KB\kb.entity.subset");
     DownLoadFile("kb.entity.subset");
     var wclient = new NameNodeServiceClient();
     wclient.DeleteFile("kb.entity.subset");
     FileServiceClient client = new FileServiceClient("BasicHttpBinding_IFileService", "http://*****:*****@"D:\Research\KB\kb.entity", FileMode.Open);
     var stream = new CombinedStream(streams);
     client.UploadChunk(stream);
 }
Exemplo n.º 2
0
 private static void DeleteFile(string p)
 {
     var client = new NameNodeServiceClient();
     client.DeleteFile(p);
 }