skonto edited a comment on issue #23514: [SPARK-24902][K8s] Add PV integration 
tests
URL: https://github.com/apache/spark/pull/23514#issuecomment-463181671
 
 
   > this will work, but you're just missing an intermediate step (the mount on 
the VM).
   
   @shaneknapp I am using --vm-driver=none, I was not aware how things run on 
the test boxes and I underlined that a few comments above. And I know it has 
been a fuss to debug.
   `none` makes life easier and it seemed more realistic to me. On the other 
hand, after I noticed we have that difference in the setups,  we were trying to 
make this work on the test boxes.
   So I know the tests need an adaption the question is what that is ;)
   
   > however, when you're creating the PV and linking it to the volume, you're 
also using `HOST_PATH`...
   but shouldn't it be mount as seen on the VM layer (eg: mount 2), and not the 
bare metal FS?
   
   So I guess that is the root cause of this. The mount should point to the 
path in the VM. If the path is the same as the HOST_PATH wouldnt that work 
anyway?
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to