Hi Artem, PHD-3.0 is equivalent to HDP-2.2.4, so a script referring to correct paths should work. What do you mean by "hdp memory script" on Yarn?
Edit: phd-configuration-utils.py exists on PHD-3.0, here is a link, scroll down to "PHD Utility Script". Example
python phd-configuration-utils.py -c 16 -m 64 -d 4 -k True
where "-c" is the number of cores, "-m" is RAM on worker nodes, "-d" is number of disks, and final Boolean is HBase yes/no.