简体   繁体   English

如何在 MacO 上安装 Hadoop?

[英]How to install Hadoop on MacOs?

I have MacOs when I install Hadoop I used this Command sudo apt install hadoop-yarn-resourcemanager我在安装 Hadoop 时有 MacOs 我使用了这个命令sudo apt install hadoop-yarn-resourcemanager

I got below error我得到以下错误

Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/apt"无法在“/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/apt”中找到可执行文件

apt is the Debian / Ubuntu Linux package management system. apt是 Debian / Ubuntu Linux 包管理系统。 What makes you think that MacOs supports Debian packages?!是什么让您认为 MacOs 支持 Debian 软件包?!

Instead you could install and use the brew package manager.相反,您可以安装和使用brew包管理器。

See https://isaacchanghau.github.io/post/install_hadoop_mac/ for example.例如,请参见https://isaacchanghau.github.io/post/install_hadoop_mac/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM