0

I am trying to delete a file in hortonbox sandbox setup on my vmware workstation player 12 and I am getting continuous error "invalid argument".

rm -rf 1
rm: cannot remove `1': Invalid argument

Right now I am at /var/run/ambari-server/stack-recommendations trying with user root.

Edit: 1 is the directory name I am trying to delete and I had tried it in single and double quote as well. Error does not change.

  • 1
    And 1 is what, a directory in that directory? – GhostCat Oct 18 '16 at 6:47
  • 1
    What has "ls -al ./1" to say? – GhostCat Oct 18 '16 at 6:50
  • 1
    Very strange. Did you try "rm -rf ./1" ? – GhostCat Oct 18 '16 at 7:01
  • 1
    I dont know. If I had a really good idea, I would have told you. – GhostCat Oct 18 '16 at 7:18
  • 1
    Well, if it just had helped. I was seriously expecting to see many answers by now. – GhostCat Oct 18 '16 at 11:15
0

Here is a link to Hortonworks forum thread. That version of the sandbox was broken:

This is due to a docker issue in this 2.5 sandbox build. It will be fixed in next revision of the sandbox.

Updated sandbox available for downloading now at http://hortonworks.com/downloads and everything works fine there

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.