Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
After HBASE-14361, we get rid of HConnection Instance in ReplicationSink in standalone mode. But there are still three HConnection Instance, i think the unused ones should be removed.
The three instances are created below
6 2015-09-21 16:05:36,401 INFO [10.0.3.80:60429.activeMasterManager] client.ConnectionImplementation:. 7 java.lang.Throwable 8 >---at org.apache.hadoop.hbase.client.ConnectionImplementation.<init>(ConnectionImplementation.java:217) 9 >---at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 10 >---at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) 11 >---at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 12 >---at java.lang.reflect.Constructor.newInstance(Constructor.java:422) 13 >---at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:231) 14 >---at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:118) 15 >---at org.apache.hadoop.hbase.master.ServerManager.<init>(ServerManager.java:222) 16 >---at org.apache.hadoop.hbase.master.ServerManager.<init>(ServerManager.java:212) 17 >---at org.apache.hadoop.hbase.master.HMaster.createServerManager(HMaster.java:853) 18 >---at org.apache.hadoop.hbase.master.HMaster.finishActiveMasterInitialization(HMaster.java:661) 19 >---at org.apache.hadoop.hbase.master.HMaster.access$500(HMaster.java:180) 20 >---at org.apache.hadoop.hbase.master.HMaster$1.run(HMaster.java:1670) 21 >---at java.lang.Thread.run(Thread.java:745) 22 2015-09-21 16:05:36,401 INFO [M:0;10.0.3.80:60429] client.ConnectionImplementation:. 23 java.lang.Throwable 24 >---at org.apache.hadoop.hbase.client.ConnectionImplementation.<init>(ConnectionImplementation.java:217) 25 >---at org.apache.hadoop.hbase.client.ConnectionUtils$1.<init>(ConnectionUtils.java:128) 26 >---at org.apache.hadoop.hbase.client.ConnectionUtils.createShortCircuitConnection(ConnectionUtils.java:128) 27 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.createClusterConnection(HRegionServer.java:686) 28 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.setupClusterConnection(HRegionServer.java:717) 29 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:730) 30 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:885) 31 >---at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.run(HMasterCommandLine.java:311) 32 >---at java.lang.Thread.run(Thread.java:745) 33 2015-09-21 16:05:36,401 INFO [RS:0;10.0.3.80:60431] client.ConnectionImplementation:. 34 java.lang.Throwable 35 >---at org.apache.hadoop.hbase.client.ConnectionImplementation.<init>(ConnectionImplementation.java:217) 36 >---at org.apache.hadoop.hbase.client.ConnectionUtils$1.<init>(ConnectionUtils.java:128) 37 >---at org.apache.hadoop.hbase.client.ConnectionUtils.createShortCircuitConnection(ConnectionUtils.java:128) 38 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.createClusterConnection(HRegionServer.java:686) 39 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.setupClusterConnection(HRegionServer.java:717) 40 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:730) 41 >---at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:885) 42 >---at java.lang.Thread.run(Thread.java:745)
Attachments
Attachments
Issue Links
- is related to
-
HBASE-14361 ReplicationSink should create Connection instances lazily
- Closed