JAR cov ntaub ntawv hauv Hadoop yog dab tsi?
JAR cov ntaub ntawv hauv Hadoop yog dab tsi?

Video: JAR cov ntaub ntawv hauv Hadoop yog dab tsi?

Video: JAR cov ntaub ntawv hauv Hadoop yog dab tsi?
Video: Niam Ntawv Soob Lwj Yaj, Nws Tus Ntawv, thiab Nws Li Txiaj Ntsig 2024, Kaum ib hlis
Anonim

Cov haoop ua archive hais kom ua tsim ib Hadoop archive, ib ntaub ntawv uas muaj lwm yam cov ntaub ntawv . Cov qab jaar hais kom ua ib qho program muaj nyob rau hauv a JAR cov ntaub ntawv . Cov neeg siv tuaj yeem ntim lawv MapQhia kod ib JAR cov ntaub ntawv thiab ua nws siv cov lus txib no. haoop ua txoj hauj lwm. Cov haoop ua txoj hauj lwm command enables koj tswj MapQhia hauj lwm.

Tom qab ntawd, JAR cov ntaub ntawv hauv Java yog dab tsi?

ZIP. A JAR ( Java ARchive) yog ib pob ntaub ntawv hom ntawv feem ntau yog siv los sau ntau yam Java chav kawm cov ntaub ntawv thiab cuam tshuam metadata thiab cov peev txheej (ntawv nyeem, duab, thiab lwm yam) rau hauv ib qho ntaub ntawv rau kev faib tawm. JAR cov ntaub ntawv yog archive cov ntaub ntawv uas suav nrog a Java - tshwj xeeb manifest ntaub ntawv.

Tsis tas li ntawd, Hadoop Streaming ua haujlwm li cas? Hadoop Streaming yog API generic uas tso cai rau sau Mappers thiab Txo hauv txhua hom lus. Tab sis lub ntsiab lus tseem ceeb tseem zoo li qub. Mappers thiab Reducers tau txais lawv cov tswv yim thiab tawm ntawm stdin thiab stdout raws li (qhov tseem ceeb, tus nqi) khub. Apache Hadoop siv ntws raws li UNIX tus qauv ntawm koj daim ntawv thov thiab Hadoop qhov system.

Ib sab saum toj no, MapReduce moj khaum yog dab tsi?

Hadoop MapQhia (Hoob Daim ntawv qhia / Txo ) yog software lub moj khaum rau kev faib ua cov ntaub ntawv loj loj ntawm kev suav cov pawg. Nws yog ib txoj haujlwm me me ntawm Apache Hadoop project. Nyob rau hauv layman lub sij hawm Mapreduce pab faib cov ntaub ntawv nkag mus rau hauv ntau qhov chaw thiab khiav ib qho kev pab cuam ntawm tag nrho cov ntaub ntawv seem nyob rau tib lub sijhawm.

Puas yog Hadoop dawb?

Ntau Hadoop , txawm yog dawb , tej zaum yuav tsis tau xa tus nqi zoo tshaj plaws rau cov nyiaj. Qhov no muaj tseeb rau ob qho laj thawj. Ua ntej, ntau tus nqi ntawm kev tshuaj ntsuam xyuas los ntawm kev ua haujlwm, tsis yog tus nqi them ua ntej ntawm kev daws teeb meem.

Pom zoo: