OS platform & distribution (eg., Linux Ubuntu 16.04):Linux centos 4.18.0-193.el8.aarch64 #1 SMP Fri May 8 11:05:12 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Java version:
Describe the current behavior
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.191-b12, mixed mode)
Describe the expected behavior
mvn test can be passed about testing openlookeng@1.8.0
Steps to reproduce the issue
[root@centos openlookeng]# mvn -T126 test
……
[INFO] --- jacoco-maven-plugin:0.8.2:report (report) @ presto-parser ---
[INFO] Skipping JaCoCo execution because property jacoco.skip is set.
[ERROR] Tests run: 114, Failures: 1, Errors: 0, Skipped: 44, Time elapsed: 3.56 s <<< FAILURE! - in TestSuite
[ERROR] testCreateHdfsFS(io.hetu.core.filesystem.TestHetuFileSystemClientFactory) Time elapsed: 0.324 s <<< FAILURE!
java.lang.IllegalArgumentException: java.net.UnknownHostException: hadoop-master
at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:447)
at org.apache.hadoop.hdfs.NameNodeProxiesClient.createProxyWithClientProtocol(NameNodeProxiesClient.java:131)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:355)
at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:289)
at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:176)
at org.apache.hadoop.fs.PrestoFileSystemCache.createFileSystem(PrestoFileSystemCache.java:125)
at org.apache.hadoop.fs.PrestoFileSystemCache.getInternal(PrestoFileSystemCache.java:92)
at org.apache.hadoop.fs.PrestoFileSystemCache.get(PrestoFileSystemCache.java:65)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:479)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:227)
at io.hetu.core.filesystem.HetuHdfsFileSystemClient.<init>(HetuHdfsFileSystemClient.java:69)
at io.hetu.core.filesystem.HdfsFileSystemClientFactory.getFileSystemClient(HdfsFileSystemClientFactory.java:46)
at io.hetu.core.filesystem.TestHetuFileSystemClientFactory.testCreateHdfsFS(TestHetuFileSystemClientFactory.java:78)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:645)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.UnknownHostException: hadoop-master
... 26 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestHetuFileSystemClientFactory.testCreateHdfsFS:78 » IllegalArgument java.net...
[INFO]
[ERROR] Tests run: 110, Failures: 1, Errors: 0, Skipped: 40
[INFO]
[INFO]
Software Environment:
OpenLooKeng version (source or binary):1.8.0
OS platform & distribution (eg., Linux Ubuntu 16.04):Linux centos 4.18.0-193.el8.aarch64 #1 SMP Fri May 8 11:05:12 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
Java version:
Describe the current behavior
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8 openjdk version "1.8.0_191" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_191-b12) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.191-b12, mixed mode)
Describe the expected behavior
mvn test can be passed about testing openlookeng@1.8.0
Steps to reproduce the issue
Can you help me solve this problem?
Related log/screenshots
Special notes for this issue