国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

解決:ERROR: Cannot set priority of datanode process 10603

這篇具有很好參考價(jià)值的文章主要介紹了解決:ERROR: Cannot set priority of datanode process 10603。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

WARNING: Use of this script to start HDFS daemons is deprecated.
WARNING: Attempting to execute replacement "hdfs --daemon start" instead.
ERROR: Cannot set priority of datanode process 10603

場(chǎng)景:?jiǎn)?dòng)datanode出現(xiàn)如上錯(cuò)誤

查看日志:

JSVC_HOME is not set or set incorrectly. jsvc is required to run secure
or privileged daemons. Please download and install jsvc from 
http://archive.apache.org/dist/commons/daemon/binaries/ 
and set JSVC_HOME to the directory containing the jsvc binary.
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 63373
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65536
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited

修改文件配置:

vi hadoop-env.sh 
#export HDFS_DATANODE_SECURE_USER=root

成功啟動(dòng)
官網(wǎng)解釋:
Secure DataNode
Because the DataNode data transfer protocol does not use the Hadoop RPC framework, DataNodes must authenticate themselves using privileged ports which are specified by dfs.datanode.address and dfs.datanode.http.address. This authentication is based on the assumption that the attacker won’t be able to get root privileges on DataNode hosts.

When you execute the hdfs datanode command as root, the server process binds privileged ports at first, then drops privilege and runs as the user account specified by HDFS_DATANODE_SECURE_USER. This startup process uses the jsvc program installed to JSVC_HOME. You must specify HDFS_DATANODE_SECURE_USER and JSVC_HOME as environment variables on start up (in hadoop-env.sh).

As of version 2.6.0, SASL can be used to authenticate the data transfer protocol. In this configuration, it is no longer required for secured clusters to start the DataNode as root using jsvc and bind to privileged ports. To enable SASL on data transfer protocol, set dfs.data.transfer.protection in hdfs-site.xml. A SASL enabled DataNode can be started in secure mode in following two ways: 1. Set a non-privileged port for dfs.datanode.address. 1. Set dfs.http.policy to HTTPS_ONLY or set dfs.datanode.http.address to a privileged port and make sure the HDFS_DATANODE_SECURE_USER and JSVC_HOME environment variables are specified properly as environment variables on start up (in hadoop-env.sh).

In order to migrate an existing cluster that used root authentication to start using SASL instead, first ensure that version 2.6.0 or later has been deployed to all cluster nodes as well as any external applications that need to connect to the cluster. Only versions 2.6.0 and later of the HDFS client can connect to a DataNode that uses SASL for authentication of data transfer protocol, so it is vital that all callers have the correct version before migrating. After version 2.6.0 or later has been deployed everywhere, update configuration of any external applications to enable SASL. If an HDFS client is enabled for SASL, then it can connect successfully to a DataNode running with either root authentication or SASL authentication. Changing configuration for all clients guarantees that subsequent configuration changes on DataNodes will not disrupt the applications. Finally, each individual DataNode can be migrated by changing its configuration and restarting. It is acceptable to have a mix of some DataNodes running with root authentication and some DataNodes running with SASL authentication temporarily during this migration period, because an HDFS client enabled for SASL can connect to both.文章來(lái)源地址http://www.zghlxwxcb.cn/news/detail-715929.html

到了這里,關(guān)于解決:ERROR: Cannot set priority of datanode process 10603的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來(lái)自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • Hadoop在啟動(dòng)yarn時(shí)報(bào)錯(cuò):Cannot set priority of resourcemanager process xxxxx

    Hadoop在啟動(dòng)yarn時(shí)報(bào)錯(cuò):Cannot set priority of resourcemanager process xxxxx

    著急看解決方法的請(qǐng)直接奔文末。 今天剛開始弄Hadoop,啟動(dòng)完namenode和hadoop之后,開始啟動(dòng)yarn,結(jié)果直接報(bào)錯(cuò)了: Cannot set priority of resourcemanager process 93826 翻譯過來(lái)就是說:無(wú)法設(shè)置resourcemanager進(jìn)程的優(yōu)先級(jí)(大概)。 然后就開始百度,stackOverflow上有說是沒有設(shè)置ssh免密登

    2023年04月12日
    瀏覽(26)
  • 啟動(dòng)Hadoop集群,出現(xiàn)Cannot set priority of nodemanager(resourcemanager) process xxx問題

    啟動(dòng)Hadoop集群,出現(xiàn)Cannot set priority of nodemanager(resourcemanager) process xxx問題

    (不感興趣可以跳過背景介紹) 配置 在安裝hive的過程中,初始化數(shù)據(jù)庫(kù)成功后(mysql),輸入 命令: ./bin/hive 啟動(dòng)hive時(shí)出錯(cuò)(忘記截圖了)。后發(fā)現(xiàn)原因是hive3.x僅支持JDK 1.8,并不支持openJDK 11,盡管hadoop3.3.x是支持JDK 1.8和openJDK 11的。當(dāng)降低JDK版本后啟動(dòng)集群,便出現(xiàn)啟動(dòng)

    2024年02月01日
    瀏覽(22)
  • Cannot set properties of null (setting ‘onclick‘)問題解決方案

    Cannot set properties of null (setting ‘onclick‘)問題解決方案

    個(gè)人學(xué)習(xí)過程中遇到“Uncaught TypeError: Cannot set properties of null (setting ‘onclick’)”問題,分享下 html代碼: 運(yùn)行結(jié)果: 問題原因:getElementById方法無(wú)法找到所寫的id名(空格也被認(rèn)為是id名的一部分了) 修改前代碼: 修改后: 運(yùn)行成功!

    2024年02月16日
    瀏覽(19)
  • 【JS】如何解決Cannot set properties of undefined

    TypeError: Cannot set properties of undefined 類型錯(cuò)誤:無(wú)法設(shè)置未定義的屬性 問題解析 當(dāng)前的是當(dāng)前對(duì)象或者數(shù)組是undefined,但是卻用來(lái)引用屬性或者索引 比如下面兩種情況 或者是當(dāng)前的value值不是我們顯式聲明的undefined,而是運(yùn)算之后得到undefined,之后我們?cè)偃ビ盟?解決方案 問

    2024年02月16日
    瀏覽(18)
  • Uncaught TypeError: Cannot set properties of null (setting ‘innerText‘)解決方法

    Uncaught TypeError: Cannot set properties of null (setting ‘innerText‘)解決方法

    昨天用js寫了一個(gè)隨機(jī)抽獎(jiǎng)系統(tǒng)出現(xiàn)了Uncaught TypeError: Cannot set properties of null (setting \\\'innerText\\\') 這個(gè)報(bào)錯(cuò)意思是無(wú)法讀取nll屬性的\\\'innerText\\\',即找不到你想要將所寫的HTML代碼插入地方 原因: 瀏覽器加載頁(yè)面是從上往下,會(huì)將HTML文檔解析為一個(gè)DOM樹,當(dāng)執(zhí)行到j(luò)s代碼塊中的innet

    2024年02月16日
    瀏覽(22)
  • Uncaught TypeError TypeError: Cannot set properties of null (setting ‘onclick‘)的解決辦法

    我下面用代碼示例一下。 這個(gè)代碼你讀一下,好像可以實(shí)現(xiàn)我們想要的效果,實(shí)現(xiàn)點(diǎn)擊相關(guān)的div盒子實(shí)現(xiàn)其背景顏色變顏色的效果,但是一運(yùn)行下來(lái),在調(diào)試控制臺(tái)里就會(huì)出現(xiàn)Uncaught TypeError TypeError: Cannot set properties of null (setting \\\'onclick\\\')這樣的報(bào)錯(cuò)------未捕獲的類型錯(cuò)誤: 無(wú)

    2024年02月02日
    瀏覽(27)
  • JS常見報(bào)錯(cuò)解決辦法:Uncaught TypeError: Cannot set properties of null (setting ‘innerHTML‘)

    JS常見報(bào)錯(cuò)解決辦法:Uncaught TypeError: Cannot set properties of null (setting ‘innerHTML‘)

    Uncaught TypeError: Cannot set properties of null (setting ‘innerHTML’)意思是, 未捕獲類型錯(cuò)誤:無(wú)法設(shè)置空屬性(設(shè)置“innerHTML”), 也就是說**.innerHTM**前的對(duì)象內(nèi)容是空或null。 1、舉個(gè)例子,我需要用js渲染HTML網(wǎng)頁(yè)的數(shù)據(jù)。 報(bào)錯(cuò): Uncaught TypeError: Cannot set properties of null (setting ‘in

    2024年02月16日
    瀏覽(18)
  • 【Vite】Vite切換版本(Vite+vue3)報(bào)錯(cuò) [vite] Internal server error: Cannot set property ‘id‘ of undefined

    【Vite】Vite切換版本(Vite+vue3)報(bào)錯(cuò) [vite] Internal server error: Cannot set property ‘id‘ of undefined

    Vue3+vite的項(xiàng)目,在全局安裝新的Vite版本后,一直報(bào)下圖錯(cuò)誤。 報(bào)錯(cuò)信息 通過很多方式?jīng)]有解決,最后發(fā)現(xiàn)是Vite版本的問題,因?yàn)閂ue是從腳手架中引入的 查看package.json和package.lock.json區(qū)別 修改 將 package.json 中vite的版本號(hào)固定后,安裝( npm install )發(fā)現(xiàn)仍有問題 最終解決 查

    2024年02月16日
    瀏覽(24)
  • centos7開機(jī)報(bào)錯(cuò)bash:cannot set terminal process group (-1):Inappropriate ioctl for device的解決過程

    centos7開機(jī)報(bào)錯(cuò)bash:cannot set terminal process group (-1):Inappropriate ioctl for device的解決過程

    前幾日服務(wù)器突然無(wú)法正常連接,一直沒時(shí)間處理,今日進(jìn)入機(jī)房查看發(fā)現(xiàn)服務(wù)器已重啟,停在了啟動(dòng)過程中,報(bào)錯(cuò)如圖: 大致的意思是檢查文件系統(tǒng)時(shí)到某個(gè)文件出錯(cuò)了,異常的文件是 /dev/mapper/vg_hljtnits-lv_home 報(bào)錯(cuò)信息如下: bash:cannot set terminal process group (-1):Inappropriate

    2024年02月10日
    瀏覽(17)
  • vue 啟動(dòng)項(xiàng)目報(bào)錯(cuò):TypeError: Cannot set property ‘parent‘ of undefined異常解決

    vue 啟動(dòng)項(xiàng)目報(bào)錯(cuò):TypeError: Cannot set property ‘parent‘ of undefined異常解決

    場(chǎng)景:從git上面拉下來(lái)一個(gè)項(xiàng)目 npm i 下載完依賴以后 npm run serve 去運(yùn)行項(xiàng)目的時(shí)候 報(bào)錯(cuò)TypeError: Cannot set property ‘parent’ of undefined 如圖所示 原因:首先排查發(fā)現(xiàn)判斷得出是less解析失敗導(dǎo)致 但是經(jīng)過長(zhǎng)時(shí)間的查詢解決方案發(fā)現(xiàn)是因?yàn)関ue版本在下載包的過程中由2.6.10升級(jí)為2

    2024年02月12日
    瀏覽(26)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包