91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

unable kill namenode hadoop3.0.3 解決到放棄解決的過程

發布時間:2020-06-27 11:55:56 來源:網絡 閱讀:2267 作者:wxbo1 欄目:大數據

[hadoop@zui hadoop]$ hadoop namenode -format
WARNING: Use of this script to execute namenode is deprecated.
WARNING: Attempting to execute replacement "hdfs namenode" instead.

namenode is running as process 18452. Stop it first.

(3.0.3使用 : hdfs namenode -formate)


[hadoop@zui hadoop]$ stop-dfs.sh
Stopping namenodes on [zui]
zui: Warning: Permanently added 'zui' (ECDSA) to the list of known hosts.
zui: ERROR: Unable to kill 18452
Stopping datanodes
localhost: ERROR: Unable to kill 19132
Stopping secondary namenodes [zui]
zui: ERROR: Unable to kill 19311


[hadoop@zui hadoop]$ stop-all.sh
WARNING: Stopping all Apache Hadoop daemons as hadoop in 10 seconds.
WARNING: Use CTRL-C to abort.
Stopping namenodes on [zui]
zui: ERROR: Unable to kill 18452
Stopping datanodes
localhost: ERROR: Unable to kill 19132
Stopping secondary namenodes [zui]
zui: ERROR: Unable to kill 19311
Stopping nodemanagers
Stopping resourcemanager


[hadoop@zui hadoop]$ hdfs namenode -format
namenode is running as process 18452. Stop it first.
[hadoop@zui hadoop]$ kill -9 18452
bash: kill: (18452) - No such process

[hadoop@zui hadoop]$ sudo kill -9 18452
[sudo] password for hadoop:
hadoop is not in the sudoers file. This incident will be reported.

(使用root kill 進程)

[hadoop@zui hadoop]$ su root
Password:
[root@zui hadoop]# kill -9 18452
bash: kill: (18452) - No such process
[root@zui hadoop]# sudo kill -9 18452
kill: sending signal to 18452 failed: No such process
[root@zui hadoop]#

(該進程是否只有在hadoop同戶下才可以查到,但是hadoop使用也顯示沒有這個進程,加上sudo提示hadoop not in the sudoers file )


添加hadoop到 sudoers :
例子:引用來自 : https://www.cnblogs.com/dingtian/p/7771046.html

切換用戶至root
vim /etc/sudoers

找到root ALL=(ALL) ALL,在下方新增

stack ALL=(ALL) NOPASSWD: ALL 
wq!
強制保存并退出即可
unable kill namenode  hadoop3.0.3  解決到放棄解決的過程

unable kill namenode  hadoop3.0.3  解決到放棄解決的過程

(過程中發現root沒有 sudoers的修改權限,
chmod 720 sudoers ---》 ok )


hadoop 有 sudo的權限后,再次kill namenode 進程 :依然顯示沒有這個進程
[hadoop@zui etc]$ sudo kill -9 18452
kill: sending signal to 18452 failed: No such process
(可是我日勒個去,執行hdfs namenode -format時候就是顯示namenode is running 18452)


我fuck了自己,rm了 3.0.3,接下來使用2.6.0

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

介休市| 柳州市| 镇康县| 虹口区| 鹤庆县| 宁远县| 古丈县| 郧西县| 柘荣县| 九江市| 德惠市| 尖扎县| 上高县| 佛坪县| 汾西县| 龙州县| 思茅市| 阿拉善盟| 古蔺县| 肇源县| 鄄城县| 留坝县| 定襄县| 石城县| 长汀县| 黄浦区| 四子王旗| 北安市| 广宗县| 广西| 华宁县| 布拖县| 临朐县| 奉新县| 左云县| 陇川县| 唐河县| 三河市| 阳江市| 翼城县| 余干县|