Github user hyunsik commented on a diff in the pull request:
https://github.com/apache/tajo/pull/417#discussion_r26739002
--- Diff: tajo-cli/src/main/java/org/apache/tajo/cli/tools/TajoHAAdmin.java
---
@@ -131,6 +131,9 @@ public void runCommand(String[] args) throws Exception {
} else if (hostName == null && port == null) {
tajoClient = new TajoClientImpl(ServiceTrackerFactory.get(tajoConf));
}
+ if (!tajoClient.isConnected()) {
--- End diff --
I think that this class also does not require TajoClient connection.
Removing TajoClient would be a better solution to fix 'unused field' warning.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---