Dab tsi yog cov ntaub ntawv streaming hauv Hadoop?
Dab tsi yog cov ntaub ntawv streaming hauv Hadoop?

Video: Dab tsi yog cov ntaub ntawv streaming hauv Hadoop?

Video: Dab tsi yog cov ntaub ntawv streaming hauv Hadoop?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Kaum ib hlis
Anonim

Hadoop Streaming . Hadoop streaming yog ib qho khoom siv uas tuaj nrog lub Hadoop kev faib tawm. Cov nqi hluav taws xob tso cai rau koj los tsim thiab khiav Daim Ntawv Qhia / Txo cov haujlwm nrog txhua qhov kev ua tau zoo lossis tsab ntawv ua tus mapper thiab / lossis tus reducer.

Kuj paub yog, dab tsi yog streaming hauv Hadoop?

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.

batch thiab streaming cov ntaub ntawv yog dab tsi? A pawg yog ib phau ntawm cov ntaub ntawv cov ntsiab lus uas tau muab ua ke ua ke hauv ib lub sijhawm tshwj xeeb. Lwm lo lus feem ntau siv rau qhov no yog lub qhov rais ntawm cov ntaub ntawv . Tshaj tawm processing deals nrog nruam cov ntaub ntawv thiab yog tus yuam sij rau tig loj cov ntaub ntawv hauv ceev cov ntaub ntawv.

Ib yam li ntawd, txhais li cas los ntawm streaming cov ntaub ntawv?

Streaming cov ntaub ntawv yog cov ntaub ntawv uas yog tsis tu ncua generated los ntawm txawv qhov chaw. Xws li cov ntaub ntawv yuav tsum tau ua incrementally siv Kwj Cov txheej txheem txheej txheem tsis muaj kev nkag mus rau tag nrho cov cov ntaub ntawv . Nws yog feem ntau siv nyob rau hauv cov ntsiab lus ntawm loj cov ntaub ntawv nyob rau hauv uas nws yog generated los ntawm ntau qhov chaw sib txawv ntawm kev kub ceev.

Hadoop stream jar nyob qhov twg?

Cov Hadoop streaming thawv tseem muaj nyob rau hauv qhov kev tso tawm tshiab ntawm EMR Hadoop . Pib nrog EMR tso tawm 4.0. 0 nws tuaj yeem pom ntawm /usr/lib/ haoop ua - mapreduce / haoop ua - streaming.

Pom zoo: