Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (11.4k points)
I am working on a project using Hadoop and it seems to natively incorporate Java and provide streaming support for Python. Is there is a significant performance impact on choosing one over the other? I am early enough in the process where I can go either way if there is a significant performance difference one way or the other.

1 Answer

0 votes
by (32.3k points)
edited by

Using Java or Python on Hadoop explicitly depends on an individual. In whichever language you are good you can use that for Hadoop. However, there are some differences in credibility between both the languages when used for Hadoop and comparison can be made between them.

Java is used for general purpose and is easily compiled on any platform. It is less productive because here we need to define each variable while writing the code. In java, the variables should be statically declared. However, Python is a high-level language that comes with short syntax. It is easily compiled on Linux platform and the developers do not have to declare the variables while typing.

Python can be called a very precise language with fewer lines of code that makes it more productive than java. But the speed computation of Java is much faster than Python.

It totally depends on an individual to choose between these two languages. I would suggest that if you are looking for a faster developing of a large-scale system, go for Java because it has high-speed accessibility.

And if you are a developer who is looking for an easy and flexible language that is powerful for end-to-end advanced analytics applications, then python is your match.

For more information regarding the same, refer to the following video:

Related questions

0 votes
1 answer
asked Jul 7, 2019 in Big Data Hadoop & Spark by Aarav (11.4k points)
0 votes
1 answer
0 votes
1 answer
asked Oct 21, 2019 in Big Data Hadoop & Spark by Kartik12234 (11.9k points)

Browse Categories

...