wchevreuil commented on code in PR #107:
URL:
https://github.com/apache/hbase-operator-tools/pull/107#discussion_r899167670
##########
hbase-hbck2/pom.xml:
##########
@@ -171,16 +171,19 @@
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>${log4j2.version}</version>
+ <scope>provided</scope>
</dependency>
Review Comment:
Ok, maybe this is a broader issue and we should address in a separate jira,
as I noticed the following classpath issues whilst testing it against a
pseudo-distributed 2.6.0-SNASPHOT:
1) If I try run hbck2 as _./bin/hbase hbck -j
../hbase-hbck2-1.3.0-SNAPSHOT.jar_, I get below error:
```Error: Could not find or load main class org.apache.hbase.HBCK2
Caused by: java.lang.NoClassDefFoundError: org/apache/hadoop/util/Tool```
2) If I try run the hbck2 jar that includes slf4j classes as _./bin/hbase
--internal-classpath hbck -j ../hbase-hbck2-1.3.0-SNAPSHOT.jar_, it passes the
NCDFE mentioned above, but it then gets the error from my previous comment. So
maybe this slf4j conflict is due to this `--internal-classpath` flag that
shouldn't be used.
--
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]