HbaseThrift 连接池

           //使用using 释放连接到连接池
           using (var hclient = HBaseClientPool.GetHclient())
               Stopwatch sw = new Stopwatch();

               for (int i = 0; i <= 10000; i++)
                       string row = System.Guid.NewGuid().ToString();
                       hclient.Client.mutateRow("1".ToBytes(), row.ToBytes(), new List<Mutation> { new Mutation { Column = "b:abc".ToBytes(), Value = DateTime.Now.ToBytes() } }, null);
                       Console.WriteLine($"时间:{DateTime.Now} 耗时:{sw.ElapsedMilliseconds} ");
                   catch (Exception ex)

Install-Package HbaseThriftPool -Version
dotnet add package HbaseThriftPool --version
<PackageReference Include="HbaseThriftPool" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HbaseThriftPool --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 443 7/6/2018
1.1.2 395 6/20/2018