2013年8月6日星期二

About C + + development Hadoop application questions

Hadoop development using C + + applications will run faster ? Still slower ? Still did not affect ?
compared with Java .
------ Solution -------------------------------- ------------


C + + JAVA faster than itself , after all, compatible with C.
but using C + + / C development HADOOP bit of trouble.
because HADOOP \ HBASE no C + + Direct Connect API
HADOOP by Streaming, HBASE through Thrift provide interfaces and methods .

1, you know, these two interfaces are encapsulated by the second intermediate layer , in a sense will be , they are more like a HADOOP (JAVA) client proxy layer .
C + + / C through a proxy layer directly connected HADOOP, compared JAVA straight HADOOP, there is some loss of performance .

2, because the use of JAVA development HADOOP open source project , using JAVA developers understand HADOOP more conducive ecosystem.
when necessary, can also modify the underlying HADOOP part , the middle layer code, but C + + \ C is less likely .
I personally think is more important than 2 to 1 ~
If you want to learn from scratch , it is recommended that LZ using JAVA . .
------ For reference only -------------------------------------- -
HadoopHadoopHadoopHadoopHadoopHadoop

没有评论:

发表评论