Hello Anil,
When typing the script in the SQL console, please put all the commands of the configuration in the same line.
Please also refer to below youtube link.
(SAP HANA Academy - SDA : Hadoop Enhancements - 5. Virtual UDFs [SPS09] - YouTube)
I wonder if this works but you see it as a hint.
Regards,
Jonathan