Cov txheej txheem:
Video: Kuv tuaj yeem nrhiav tau lub tshuab hluav taws xob nyob qhov twg?
2024 Tus sau: Lynn Donovan | [email protected]. Kawg hloov kho: 2023-12-15 23:47
Log cov npe
Lub neej ntawd SPARK_WORKER_LOG_DIR qhov chaw yog /var/ log / spark / tus neeg ua haujlwm. Lub neej ntawd log directory rau pib lub Teeb SQL Thrift server yog $HOME/ spark -thrift-server. Teeb Plhaub thiab daim ntawv thov cov ntaub ntawv yog tso zis rau lub console. Log configuration ntaub ntawv nyob rau hauv tib directory li spark -env.sh.
Hais txog qhov no, kuv yuav ua li cas thiaj tau txais cov cav ntoo?
Teeb txoj haujlwm lossis daim ntawv thov los ntawm nplooj ntawv Tshawb Fawb, koj tuaj yeem nkag mus rau cov ntaub ntawv ntawm Application UI thiab Teeb Daim ntawv thov UI. nplooj ntawv, koj tuaj yeem nkag mus rau lub cov ntaub ntawv via cov Teeb Daim ntawv thov UI. Koj tseem tuaj yeem ntxiv cov ntaub ntawv txhawm rau txheeb xyuas qhov yuam kev thiab kev zam hauv Teeb txoj haujlwm lossis daim ntawv thov ua tsis tiav.
Ib yam li ntawd, koj yuav ua li cas kuaj cov xov paj? Saib a log file Cov cov ntaub ntawv ntawm tus tswv daim ntawv thov kuj tuaj yeem pom hauv qhov browser hauv qhov chaw tswj hwm UI ntawm xov paj .resourcemanager.webapp.address}/cluster (https://localhost:8088 ntawm ib leeg "cluster").
Ib yam li ib tug yuav nug, Kuv yuav ua li cas thiaj li tau txais executor cav ntawm Spark?
Teb
- Cov lus qhia kom tau txais Spark executor cav:
- Rau Amabari - 1) Mus rau Spark Service thiab Configs tab: 2) Nrhiav "Advanced spark-log4j-properties" nkag.
- Rau Cloudera -- Teem: spark.executor.extraJavaOptions=-Dlog4j.configuration=file:/etc/spark/conf.cloudera.spark_on_yarn/log4j.properties.
Kuv yuav ua li cas thiaj nrhiav tau kuv lub txim keeb kwm server URL?
Ej., for the keeb kwm server , lawv feem ntau yuav nkag tau ntawm server - url >:18080/api/v1, thiab rau daim ntawv thov khiav, ntawm https://localhost:4040/api/v1. Hauv API, ib daim ntawv thov raug xa mus los ntawm nws daim ntawv thov ID, [app-id].
Pom zoo:
Dab tsi ua rau lub qhov hluav taws xob muaj hluav taws xob tsawg?
Ib qho laj thawj uas lub qhov hluav taws xob yuav muaj lowvoltageis uas nws hnav tawm. Cov hluav taws xob hluav taws xob tuaj yeem hnav tawm tib yam li txhua yam khoom siv lossis cov khoom siv hluav taws xob.Qhov txuas tsis tu ncua thiab tshem tawm cov hlua rau hauv lub qhov hluav taws xob tuaj yeem loosen thiab hnav cov kev sib txuas
Puas tuaj yeem tiv thaiv hluav taws xob tiv thaiv hluav taws xob?
Surge protectors tiag tiag yuav tiv thaiv cov khoos phis tawj thiab lwm yam khoom siv hluav taws xob los ntawm lub zog hluav taws xob thiab feem ntau cov xob laim nyob deb, tab sis lawv tsis tuaj yeem tiv thaiv lub teeb pom kev ncaj qha los ntawm kev puas tsuaj rau cov khoom siv sib txuas
Yuav ua li cas koj xaim lub tshuab hluav taws xob mus rau qhov ntsuas hluav taws xob?
Muaj peb cov xov hlau uas yuav tsum tau txuas mus rau qhov tseeb regulator davhlau ya nyob twg. Weld lub regulator mount rau lub tsheb laij teb ncej. Txuas lub regulator rau lub mount. Txuas lub roj teeb zoo cable hlau - feem ntau yog liab - rau tus tswj. Polarize lub generator los yog alternator los ntawm tus regulator
Yuav ua li cas kom tshem tau ib tug daig prong plug los ntawm ib tug hluav taws xob qhov hluav taws xob?
Tua lub Circuit Court breaker rau lub qhov hluav taws xob. Kuaj nws nrog lub ntsuas ntsuas hluav taws xob kom paub tseeb tias lub hwj chim tawm. Tshawb xyuas lub qhov tawg kom pom tias nws tob npaum li cas hauv lub ntsaws. Yog tias nws tawm txaus, rub nws nrog ob lub koob lub qhov ntswg pliers thiab rub tawm ncaj qha
Puas yog txhua lub tshuab hluav taws xob muaj GFCI qhov hluav taws xob?
Duplex (ob chav) qhov hluav taws xob muaj nyob rau ntawm lub tshuab hluav taws xob nqa tau thiab txhua qhov khoom siv 120 volts. Hauv av txhaum kev tiv thaiv qhov hluav taws xob (GFCI) yog qhov tshwj xeeb ntawm qee cov qauv thiab tiv thaiv tus neeg siv los ntawm hluav taws xob shocks