DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
Unrecognized option: -jvm
Could not create the Java virtual machine.
The following chunk of code in hdfs script looks suspicious:
I'm really not sure what was meant by it