Home  >  Article  >  Java  >  Why does Hadoop use java?

Why does Hadoop use java?

(*-*)浩
(*-*)浩Original
2019-05-27 10:47:464693browse

The founder of Hadoop is Doug Cutting, the founder of Lucene. Doug Cutting developed Lucene in 2000, which was only 5 years after the official launch of the Java language (1995). You can imagine how new the Java language was at that time. And cool!
According to Doug Cutting's self-report, his main purpose of developing software at that time was to make money to support his family. At this time, many new features of Java naturally won the favor of young engineers.

Why does Hadoop use java?

Doug Cutting is also the founder of the famous Java-based search engine library Apache Lucene. Hadoop was originally used for the famous open source search engine Apache Nutch, and Nutch itself is based on Lucene and is also a sub-project of Lucene. Therefore, it is natural that Hadoop is based on Java, so Hadoop is written in Java.

Hadoop is written in Java, so Hadoop naturally supports Java language writing jobs. However, in actual applications, sometimes, due to the use of non-Java third-party libraries or other reasons, C/C or other Language to write MapReduce jobs, at this time you may need to use some tools provided by Hadoop.

If you want to write MpaReduce jobs in C/C, the tools you can use include Hadoop Streaming or Hadoop Pipes.

If you want to write MapReduce jobs in Python, you can use Hadoop Streaming or Pydoop.

If you want to use other languages, such as shell, php, ruby, etc., you can use Hadoop Streaming.

JVM/JDK Developers Requesting Help

We strongly recommend that anyone with a production JVM/JDK test compile and run Hadoop.

It makes for a fantastic performance and stress test. As Hadoop is becoming a critical back-end data center application, good Hadoop support is important.

The above is the detailed content of Why does Hadoop use java?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn