Getting error while setting up new cluster ES version 8.1.1

Hi @greatvikas123,

Welcome! It looks like you are setting properties that do not exist, in this case node.master and node.data. As covered in this answer, you need to use the node.roles option:

node.roles: [ data, master ]

Hope that helps!