日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

hadoop Permission denied (publickey,password,keyboard-interactive).

發(fā)布時(shí)間:2024/3/12 编程问答 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 hadoop Permission denied (publickey,password,keyboard-interactive). 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

andrew@localhost: Permission denied (publickey,password,keyboard-interactive).

ssh localhost沒有設(shè)置免密碼登入

ssh localhost Password: Last login: Wed May 20 10:48:23 2020 from ::1

ssh-kengen生成密碼之后

ssh-keygen Generating public/private rsa key pair. Enter file in which to save the key (/Users/andrew/.ssh/id_rsa): /Users/andrew/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /Users/andrew/.ssh/id_rsa. Your public key has been saved in /Users/andrew/.ssh/id_rsa.pub. The key fingerprint is: SHA256:FOWMvClmbKSG99685SZmFb/oPUyipbqHzKK7AVJlt4M andrew@macbook The key's randomart image is: +---[RSA 3072]----+ | o . ... | | o o o = | | . E + + o | | . . + o o. | |o . | | ++ .+*+=o .. | +----[SHA256]-----+

ssh-copy-id localhost即可

ssh-copy-id localhost /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/Users/andrew/.ssh/id_rsa.pub" /usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed /usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys Password:Number of key(s) added: 1Now try logging into the machine, with: "ssh 'localhost'" and check to make sure that only the key(s) you wanted were added.

現(xiàn)在開啟hadoop 進(jìn)程就沒問題

start-all.sh WARNING: Attempting to start all Apache Hadoop daemons as andrew in 10 seconds. WARNING: This is not a recommended production deployment configuration. WARNING: Use CTRL-C to abort. Starting namenodes on [localhost] Starting datanodes Starting secondary namenodes [macbook] 2020-05-20 10:49:50,936 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable Starting resourcemanager Starting nodemanagers andrew@1macbook:~#jps 24834 TaskManagerRunner 24581 StandaloneSessionClusterEntrypoint 35211 TaskManagerRunner 60780 Application 60781 Application 81487 ResourceManager 38287 28242 TaskManagerRunner 3987 NameNode 4244 SecondaryNameNode 4087 DataNode 4567 NodeManager 4664 Jps 72059

總結(jié)

以上是生活随笔為你收集整理的hadoop Permission denied (publickey,password,keyboard-interactive).的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。