13.07.2015 Views

HDFS - Custom Training Courses - Coreservlets.com

HDFS - Custom Training Courses - Coreservlets.com

HDFS - Custom Training Courses - Coreservlets.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Direct Access• Java and C++ APIs• Clients retrievemetadata such asblocks’ locationsfrom Namenode• Client directlyaccess datanode(s)• Java API– Most <strong>com</strong>monly used– Covered in this course• Used byMapReduceJava ClientJava Client...Java ClientNamenodeDatanodeDatanode...Datanode22Source: White, Tom. Hadoop The Definitive Guide. O'Reilly Media. 2012Proxy Based Access• Clients <strong>com</strong>municate through a proxy– Strives to be language independent• Several Proxy Servers are packaged withHadoop:– Thrift – interface definition language– Web<strong>HDFS</strong> REST – response formatted in JSON, XML orProtocol Buffers– Avro – Data Serialization mechanismClientClientProxyServerNamenodeDatanode...ClientProxyServer...Datanode23Source: White, Tom. Hadoop The Definitive Guide. O'Reilly Media. 2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!