I have configured Hadoop Cluster on the local system. I want to list down all the files available in HDFS. But it is showing me the below error.
$ hdfs -ls
Unrecognized option: -ls
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.