Hadoop is not suitable for the following scenarios:
1. Low Latency Data access
Hadoop does not apply to data access that requires real-time queries and low latency. The fact that a database can reduce latency and rapid response through index logging is simply not a substitute for Hadoop. But if you really want to replace a http://www.aliyun.com/zixun/aggregation/38815.html "> Real time database, you can try hbase to realize real-time database reading and writing.
2. Structured data
Hadoop does not apply to structured data, but it works well for semi-structured and unstructured data. Unlike Hadoop and RDBMS, distributed storage is generally used, so there is a problem with latency when querying.
3, when the amount of data is not big
How much data does Hadoop normally apply to? The answer is: TB or PB. Using Hadoop is no good when your data is only dozens of GB. According to the needs of the enterprise selective use of Hadoop, do not blindly follow the trend. Hadoop is powerful. However, before using Hadoop or large data, companies should first identify their goals and decide whether to choose the right tool.
4, a large number of small files
Small files refer to files that have a much smaller size than the HDFS block size (default 64M). If you store a large number of small files in the HDFs, each file corresponds to a block, then you will consume namenode large amounts of memory to hold the information of these blocks. If the size of small files is larger, it will be beyond the current level of computer hardware to meet the limit.
5. Too many writes and file updates
HDFs is a number of ways to read. Hadoop has no way to support when there are too many file update requirements.
6, MapReduce may not be the best choice
MapReduce is a simple parallel programming model. is a powerful tool for large data parallel computing, but many computational tasks, work and algorithms are inherently unsuitable for using mapreduce framework.
If you let data share in MapReduce, you can do this:
Iteration: Run multiple MapReduce jobs, the previous MapReduce output as input to the next MapReduce.
Share state information: But do not share information in memory, as each mapreduce is run on a single JVM.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.