iwasakims commented on PR #6017:
URL: https://github.com/apache/hadoop/pull/6017#issuecomment-1704304520
I ran tests of hadoop-yarn-server-timelineservice-hbase and
hadoop-yarn-server-timelineservice-hbase-tests with `-Dhbase.profile=2.0`.
```
$
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice-hbase
$ mvn clean test -Dhbase.profile=2.0
$ cd ../hadoop-yarn-server-timelineservice-hbase-tests
$ mvn clean test -Dhbase.profile=2.0
```
Added test-scope dependency on junit is needed for MiniDFSCluster. It exists
as transitive dependency of hbase-common-1.17.2 in the default profile but not
available in hbase2.
```
[ERROR] Tests run: 3, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
0.587 s <<< FAILURE! - in
org.apache.hadoop.yarn.server.timelineservice.storage.common.TestHBaseTimelineStorageUtils
[ERROR] testWithHbaseConfAtHdfsFileSystem Time elapsed: 0.093 s <<< ERROR!
java.lang.NoClassDefFoundError: org/junit/Assert
at
org.apache.hadoop.test.GenericTestUtils.assertExists(GenericTestUtils.java:277)
at
org.apache.hadoop.test.GenericTestUtils.getTestDir(GenericTestUtils.java:221)
at
org.apache.hadoop.test.GenericTestUtils.getTestDir(GenericTestUtils.java:230)
at
org.apache.hadoop.hdfs.MiniDFSCluster.getBaseDirectory(MiniDFSCluster.java:3104)
at
org.apache.hadoop.hdfs.MiniDFSCluster$Builder.<init>(MiniDFSCluster.java:239)
at
org.apache.hadoop.yarn.server.timelineservice.storage.common.TestHBaseTimelineStorageUtils.testWithHbaseConfAtHdfsFileSystem(TestHBaseTimelineStorageUtils.java:89)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]