Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mvn test failed about testing [email protected] on centos8_aarch64 #402

Open
Tom-python0121 opened this issue Nov 23, 2022 · 0 comments
Open

Comments

@Tom-python0121
Copy link

Software Environment:

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 [email protected]

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]

Can you help me solve this problem?

Related log/screenshots

Special notes for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant