AnsweredAssumed Answered

Cluster_audit.sh giving ls -d /opt/mapr/* error.

Question asked by siddarthkotnala on Nov 27, 2014
Hello,

When I am running ./pre-install/cluster-audit.sh, it is throwing an error on "ls: cannot access /opt/mapr/*: No such file or directory". But the directory exists.

[root@mapr1 ~]# ls -d /opt/mapr/
/opt/mapr/
[root@mapr1 ~]# ls -d /opt/mapr/*
ls: cannot access /opt/mapr/*: No such file or directory

This is because, in the cluster_audit.sh, ls -d /opt/mapr/* is used instead of ls -d /opt/mapr/.

Outcomes