msamirkhan opened a new pull request #3961: URL: https://github.com/apache/hbase/pull/3961
MajorCompactor creates excessive connections: once every time MajorCompactionRequest.getConnection is called. Can do better by using the Connection object created in MajorCompactor. **Testing:** Ran `mvn -D test="org.apache.hadoop.hbase.util.compaction.TestMajorCompactor" test -pl hbase-server -am` Before: ``` % grep 'ipc.RpcConnection' hbase-server/target/surefire-reports/org.apache.hadoop.hbase.util.compaction.TestMajorCompactor-output.txt | grep -c 'ClientMeta' 17 ``` After: ``` % grep 'ipc.RpcConnection' hbase-server/target/surefire-reports/org.apache.hadoop.hbase.util.compaction.TestMajorCompactor-output.txt | grep -c 'ClientMeta' 2 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
