Sat Oct 19 01:13:43 CUT 2024
cd /c/hadoop/hadoop-tools/hadoop-extras
mvn --batch-mode -Ptest-patch -Pdist -Dtar -Pnative-win -Dhttps.protocols=TLSv1.2 -Drequire.openssl -Drequire.test.libhadoop -Dshell-executable=/c/Git/bin/bash.exe -Dopenssl.prefix=/c/vcpkg/installed/x64-windows -Dcmake.prefix.path=/c/vcpkg/installed/x64-windows -Dwindows.cmake.toolchain.file=/c/vcpkg/scripts/buildsystems/vcpkg.cmake -Dwindows.cmake.build.type=RelWithDebInfo -Dwindows.build.hdfspp.dll=off -Dwindows.no.sasl=on -Duse.platformToolsetVersion=v142 -Dsurefire.rerunFailingTestsCount=2 -Pparallel-tests -Pshelltest -Drequire.test.libhadoop -Drequire.snappy -Pdist -Dtar -Pnative-win -Dhttps.protocols=TLSv1.2 -Drequire.openssl -Drequire.test.libhadoop -Dshell-executable=/c/Git/bin/bash.exe -Dopenssl.prefix=/c/vcpkg/installed/x64-windows -Dcmake.prefix.path=/c/vcpkg/installed/x64-windows -Dwindows.cmake.toolchain.file=/c/vcpkg/scripts/buildsystems/vcpkg.cmake -Dwindows.cmake.build.type=RelWithDebInfo -Dwindows.build.hdfspp.dll=off -Dwindows.no.sasl=on -Duse.platformToolsetVersion=v142 clean test -fae
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Detecting the operating system and CPU architecture
[INFO] ------------------------------------------------------------------------
[INFO] os.detected.name: windows
[INFO] os.detected.arch: x86_64
[INFO] os.detected.bitness: 64
[INFO] os.detected.version: 10.0
[INFO] os.detected.version.major: 10
[INFO] os.detected.version.minor: 0
[INFO] os.detected.classifier: windows-x86_64
[WARNING] The requested profile "parallel-tests" could not be activated because it does not exist.
[WARNING] The requested profile "shelltest" could not be activated because it does not exist.
[INFO] 
[INFO] ------------------< org.apache.hadoop:hadoop-extras >-------------------
[INFO] Building Apache Hadoop Extras 3.5.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hadoop-extras ---
[INFO] Deleting C:\hadoop\hadoop-tools\hadoop-extras\target
[INFO] Deleting C:\hadoop\hadoop-tools\hadoop-extras (includes = [dependency-reduced-pom.xml], excludes = [])
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (create-testdirs) @ hadoop-extras ---
[INFO] Executing tasks

main:
    [mkdir] Created dir: C:\hadoop\hadoop-tools\hadoop-extras\target\test-dir
[INFO] Executed tasks
[INFO] 
[INFO] --- replacer:1.5.3:replace (replace-generated-sources) @ hadoop-extras ---
[INFO] Skipping
[INFO] 
[INFO] --- replacer:1.5.3:replace (replace-sources) @ hadoop-extras ---
[INFO] Skipping
[INFO] 
[INFO] --- maven-enforcer-plugin:3.5.0:enforce (banned-illegal-imports) @ hadoop-extras ---
[INFO] Rule 0: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 1: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 2: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 3: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 4: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 5: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 6: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 7: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 8: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 9: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 10: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 11: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 12: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 13: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 14: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 15: org.apache.maven.plugins.enforcer.RestrictImports passed
[INFO] Rule 16: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed
[INFO] Rule 17: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hadoop-extras ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\hadoop\hadoop-tools\hadoop-extras\src\main\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ hadoop-extras ---
[INFO] Compiling 5 source files to C:\hadoop\hadoop-tools\hadoop-extras\target\classes
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\main\java\org\apache\hadoop\tools\DistCh.java:[205,24] [deprecation] write(DataOutput) in FsPermission has been deprecated
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\main\java\org\apache\hadoop\tools\DistCh.java:[243,36] [deprecation] Reader(FileSystem,Path,Configuration) in Reader has been deprecated
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\main\java\org\apache\hadoop\tools\DistCh.java:[448,52] [deprecation] createWriter(FileSystem,Configuration,Path,Class,Class,CompressionType) in SequenceFile has been deprecated
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\main\java\org\apache\hadoop\tools\DistCh.java:[491,34] [deprecation] Reader(FileSystem,Path,Configuration) in Reader has been deprecated
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.2:list (deplist) @ hadoop-extras ---
[INFO] 
[INFO] --- replacer:1.5.3:replace (replace-test-sources) @ hadoop-extras ---
[INFO] Skipping
[INFO] 
[INFO] --- replacer:1.5.3:replace (replace-generated-test-sources) @ hadoop-extras ---
[INFO] Skipping
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ hadoop-extras ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\hadoop\hadoop-tools\hadoop-extras\src\test\resources
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (create-log-dir) @ hadoop-extras ---
[INFO] Executing tasks

main:
   [delete] Deleting directory C:\hadoop\hadoop-tools\hadoop-extras\target\test-dir
    [mkdir] Created dir: C:\hadoop\hadoop-tools\hadoop-extras\target\test-dir
    [mkdir] Created dir: C:\hadoop\hadoop-tools\hadoop-extras\target\log
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ hadoop-extras ---
[INFO] Compiling 2 source files to C:\hadoop\hadoop-tools\hadoop-extras\target\test-classes
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\test\java\org\apache\hadoop\mapred\tools\TestGetGroups.java:[23,31] [deprecation] MiniMRCluster in org.apache.hadoop.mapred has been deprecated
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\test\java\org\apache\hadoop\mapred\tools\TestGetGroups.java:[37,10] [deprecation] MiniMRCluster in org.apache.hadoop.mapred has been deprecated
[WARNING] C:\hadoop\hadoop-tools\hadoop-extras\src\test\java\org\apache\hadoop\mapred\tools\TestGetGroups.java:[41,18] [deprecation] MiniMRCluster in org.apache.hadoop.mapred has been deprecated
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M1:test (default-test) @ hadoop-extras ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.apache.hadoop.mapred.tools.TestGetGroups
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.006 s - in org.apache.hadoop.mapred.tools.TestGetGroups
[INFO] Running org.apache.hadoop.tools.TestDistCh
[ERROR] Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 12.76 s <<< FAILURE! - in org.apache.hadoop.tools.TestDistCh
[ERROR] testDistCh(org.apache.hadoop.tools.TestDistCh)  Time elapsed: 8.374 s  <<< ERROR!
org.apache.hadoop.fs.InvalidPathException: Invalid path name Path part /C:/Users/HadoopBuilder/AppData/Local/Temp/1729300445473/apps_staging_dir from URI hdfs://127.0.0.1:55982/C:/Users/HadoopBuilder/AppData/Local/Temp/1729300445473/apps_staging_dir is not a valid filename.
	at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:427)
	at org.apache.hadoop.fs.Hdfs.getFileStatus(Hdfs.java:149)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1255)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1251)
	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
	at org.apache.hadoop.fs.FileContext.getFileStatus(FileContext.java:1257)
	at org.apache.hadoop.fs.FileContext$Util.exists(FileContext.java:1760)
	at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:171)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:165)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:80)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:41)
	at org.apache.hadoop.tools.TestDistCh.testDistCh(TestDistCh.java:179)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

[ERROR] testDistCh(org.apache.hadoop.tools.TestDistCh)  Time elapsed: 2.287 s  <<< ERROR!
org.apache.hadoop.fs.InvalidPathException: Invalid path name Path part /C:/Users/HadoopBuilder/AppData/Local/Temp/1729300447738/apps_staging_dir from URI hdfs://127.0.0.1:56110/C:/Users/HadoopBuilder/AppData/Local/Temp/1729300447738/apps_staging_dir is not a valid filename.
	at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:427)
	at org.apache.hadoop.fs.Hdfs.getFileStatus(Hdfs.java:149)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1255)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1251)
	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
	at org.apache.hadoop.fs.FileContext.getFileStatus(FileContext.java:1257)
	at org.apache.hadoop.fs.FileContext$Util.exists(FileContext.java:1760)
	at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:171)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:165)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:80)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:41)
	at org.apache.hadoop.tools.TestDistCh.testDistCh(TestDistCh.java:179)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

[ERROR] testDistCh(org.apache.hadoop.tools.TestDistCh)  Time elapsed: 1.996 s  <<< ERROR!
org.apache.hadoop.fs.InvalidPathException: Invalid path name Path part /C:/Users/HadoopBuilder/AppData/Local/Temp/1729300449802/apps_staging_dir from URI hdfs://127.0.0.1:56236/C:/Users/HadoopBuilder/AppData/Local/Temp/1729300449802/apps_staging_dir is not a valid filename.
	at org.apache.hadoop.fs.AbstractFileSystem.getUriPath(AbstractFileSystem.java:427)
	at org.apache.hadoop.fs.Hdfs.getFileStatus(Hdfs.java:149)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1255)
	at org.apache.hadoop.fs.FileContext$15.next(FileContext.java:1251)
	at org.apache.hadoop.fs.FSLinkResolver.resolve(FSLinkResolver.java:90)
	at org.apache.hadoop.fs.FileContext.getFileStatus(FileContext.java:1257)
	at org.apache.hadoop.fs.FileContext$Util.exists(FileContext.java:1760)
	at org.apache.hadoop.mapreduce.v2.MiniMRYarnCluster.serviceInit(MiniMRYarnCluster.java:171)
	at org.apache.hadoop.service.AbstractService.init(AbstractService.java:165)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:80)
	at org.apache.hadoop.mapred.MiniMRClientClusterFactory.create(MiniMRClientClusterFactory.java:41)
	at org.apache.hadoop.tools.TestDistCh.testDistCh(TestDistCh.java:179)
	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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63)
	at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
	at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
	at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:290)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Errors: 
[ERROR] org.apache.hadoop.tools.TestDistCh.testDistCh(org.apache.hadoop.tools.TestDistCh)
[ERROR]   Run 1: TestDistCh.testDistCh:179 » InvalidPath Invalid path name Path part /C:/Users/...
[ERROR]   Run 2: TestDistCh.testDistCh:179 » InvalidPath Invalid path name Path part /C:/Users/...
[ERROR]   Run 3: TestDistCh.testDistCh:179 » InvalidPath Invalid path name Path part /C:/Users/...
[INFO] 
[INFO] 
[ERROR] Tests run: 2, Failures: 0, Errors: 1, Skipped: 1
[INFO] 
[ERROR] There are test failures.

Please refer to C:\hadoop\hadoop-tools\hadoop-extras\target\surefire-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  25.088 s
[INFO] Finished at: 2024-10-19T01:14:10Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "parallel-tests" could not be activated because it does not exist.
[WARNING] The requested profile "shelltest" could not be activated because it does not exist.
