Why not enable virtual node in an Hadoop node?

前端 未结 1 1950
独厮守ぢ
独厮守ぢ 2021-01-21 22:05

In url: http://www.datastax.com/docs/datastax_enterprise3.2/solutions/about_hadoop

\"Before starting an analytics/Hadoop node on a production cluster or data center, it

相关标签:
1条回答
  • 2021-01-21 22:17

    If you enable virtual nodes on hadoop node, it will lower performance of small Hadoop jobs by raising the number of mappers to at least the number of virtual nodes. E.g. if you use the default 256 vnodes / physical nodes setting, every Hadoop job will launch 257 mappers. Those mappers might have too little data to process and the server would spend most of the time managing those tasks instead of doing useful work.

    On a decent hardware, a job with no data and 256 vnodes may take about 5-10 minutes, contrary to the same job requiring only about 20-40 seconds when configured without vnodes.

    0 讨论(0)
提交回复
热议问题