Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The HBase connection is only used in the constructor to get an Admin , it should be closed after used.
public UpdateHTableHostCLI(List<String> htables, String oldHostValue) throws IOException { this.htables = htables; this.oldHostValue = oldHostValue; Connection conn = ConnectionFactory.createConnection(HBaseConfiguration.create()); hbaseAdmin = conn.getAdmin(); this.kylinConfig = KylinConfig.getInstanceFromEnv(); }
Attachments
Issue Links
- links to