通过自制程序安装hadoop的问题

mhd8tkvw  于 2021-07-13  发布在  Hadoop
关注(0)|答案(0)|浏览(524)

我试图在我的macbookair上安装hadoop,但我似乎无法让它与自制软件一起工作。它能够安装它的大部分,但当它得到“使图像”的一部分,它停止了一段时间,然后给我一个错误。我已经在ubuntu上做过多次了,但是要在mac上完成安装是一个真正的挑战。另外,这是一个非常旧的mac,所以请记住这一点。下面是终端输出的样子

  1. brew install hadoop
  2. Warning: You are using macOS 10.11.
  3. We (and Apple) do not provide support for this old version.
  4. You will encounter build failures with some formulae.
  5. Please create pull requests instead of asking for help on Homebrew's GitHub,
  6. Twitter or any other official channels. You are responsible for resolving
  7. any issues you experience while you are running this
  8. old version.
  9. ==> Downloading https://github.com/openjdk/jdk/commit/f80a6066e45c3d53a61715abfe
  10. Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/0559e02e5059303e24d4303a0fe5b7c8fe841833d62ff7e53e3ab735713e1ae2--f80a6066e45c3d53a61715abfe71abc3b2e162a1.patch
  11. ==> Downloading https://github.com/openjdk/jdk/commit/4622a18a72c30c4fc72c166bee
  12. Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/6f828ea92f87af2663228de008ebd5a67c58919d2bb6471f8ab46b4814e6c297--4622a18a72c30c4fc72c166bee7de42903e1d036.patch
  13. ==> Downloading https://download.java.net/java/GA/jdk14.0.2/205943a0976c4ed48cb1
  14. Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/4a16d10e8fdff3dd085a21e2ddd1d0ff91dba234c8c5f6588bff9752c845bebb--openjdk-14.0.2_osx-x64_bin.tar.gz
  15. ==> Downloading https://hg.openjdk.java.net/jdk-updates/jdk15u/archive/jdk-15.0.
  16. Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/336948b1d9a8eba79fadf26569f4af0cb2fe147fde214fc9d9bf6b66f2f927d2--jdk15u-jdk-15.0.1-ga.tar.bz2
  17. ==> Downloading https://archive.apache.org/dist/hadoop/common/hadoop-3.2.1/hadoo
  18. Already downloaded: /Users/erinokeefe/Library/Caches/Homebrew/downloads/04f4e38d436545a3530b6296fcfb19caf4d31f4c2afc68a33677c40cd34f3143--hadoop-3.2.1.tar.gz
  19. ==> Installing dependencies for hadoop: openjdk
  20. ==> Installing hadoop dependency: openjdk
  21. ==> Patching
  22. ==> Applying f80a6066e45c3d53a61715abfe71abc3b2e162a1.patch
  23. patching file src/hotspot/share/runtime/sharedRuntime.cpp
  24. Hunk #1 succeeded at 2850 (offset -6 lines).
  25. ==> Applying 4622a18a72c30c4fc72c166bee7de42903e1d036.patch
  26. patching file src/java.desktop/macosx/native/libawt_lwawt/awt/CSystemColors.m
  27. ==> ./configure --without-version-pre --without-version-opt --with-version-build
  28. ==> make images
  29. Last 15 lines from /Users/erinokeefe/Library/Logs/Homebrew/openjdk/02.make:
  30. ./src/jdk.incubator.jpackage/share/native/applauncher/AppLauncher.cpp:224:41: error: default initialization of an object of const type 'const (anonymous namespace)::ResetLastErrorMsgAtEndOfScope' without a user-provided default constructor
  31. const ResetLastErrorMsgAtEndOfScope resetLastErrorMsg;
  32. ^
  33. = {}
  34. 1 error generated.
  35. * All command lines available in /private/tmp/openjdk-20210217-31117-16vasue/jdk15u-jdk-15.0.1-ga/build/macosx-x86_64-server-release/make-support/failure-logs.
  36. === End of repeated output ===
  37. No indication of failed target found.
  38. Hint: Try searching the build log for '] Error'.
  39. Hint: See doc/building.html#troubleshooting for assistance.
  40. make[1]:***[main] Error 2
  41. make:***[images] Error 2
  42. Do not report this issue to Homebrew/brew or Homebrew/core!
  43. These open issues may also help:
  44. openjdk 15.0.2 https://github.com/Homebrew/homebrew-core/pull/69460
  45. openjdk@11 11.0.10 https://github.com/Homebrew/homebrew-core/pull/69396
  46. OpenJDK post-install fails without Xcode on M1 https://github.com/Homebrew/homebrew-core/issues/69100
  47. Cassandra 3.11.9_1 crashes in openjdk@8 JVM https://github.com/Homebrew/homebrew-core/issues/66462
  48. OpenJDK is somewhat broken on newer MacOS instances, console is flooded with errors when using JMeter, AdoptOpenJDK has no issues https://github.com/Homebrew/homebrew-core/issues/66953
  49. Error: You are using macOS 10.11.
  50. We (and Apple) do not provide support for this old version.
  51. You will encounter build failures with some formulae.
  52. Please create pull requests instead of asking for help on Homebrew's GitHub,
  53. Twitter or any other official channels. You are responsible for resolving
  54. any issues you experience while you are running this
  55. old version.

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题