Hi,
Verbose output showed no additional information about the origin of the error

rsync from right
sending incremental file list

sent 20 bytes  received 12 bytes  64.00 bytes/sec
total size is 0  speedup is 0.00
starting org.apache.spark.deploy.master.Master, logging to 
/usr/local/spark130/sbin/../logs/spark-huser-org.apache.spark.deploy.master.Master-1-cl-pc6.out
left: rsync from right
left: rsync: change_dir "/usr/local/spark130//right" failed: No such file or 
directory (2)
left: rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1183) [sender=3.1.0]
left: starting org.apache.spark.deploy.worker.Worker, logging to 
/usr/local/spark130/sbin/../logs/spark-huser-org.apache.spark.deploy.worker.Worker-1-cl-pc5.out
right: rsync from right
right: sending incremental file list
right: rsync: change_dir "/usr/local/spark130//right" failed: No such file or 
directory (2)
right:
right: sent 20 bytes  received 12 bytes  64.00 bytes/sec
right: total size is 0  speedup is 0.00
right: rsync error: some files/attrs were not transferred (see previous errors) 
(code 23) at main.c(1183) [sender=3.1.0]
right: starting org.apache.spark.deploy.worker.Worker, logging to 
/usr/local/spark130/sbin/../logs/spark-huser-org.apache.spark.deploy.worker.Worker-1-cl-pc6.out

I also edited the script to remove the additional slash, but this did not help 
either. The workers are basically started by the script it is just this error 
message that is thrown.

Now, funny thing. I was so brave to create the folder //right Spark is 
desperately looking for. Guess what, this caused to a complete wipe of my local 
spark installation /usr/local/spark130 was cleaned completely expect for the 
logs folder….

Any suggestions what is happening here?

Von: Akhil Das <[email protected]<mailto:[email protected]>>
Datum: Donnerstag, 2. April 2015 07:51
An: Tobias Horsmann 
<[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Betreff: Re: Spark throws rsync: change_dir errors on startup

Error 23 is defined as a "partial transfer" and might be caused by filesystem 
incompatibilities, such as different character sets or access control lists. In 
this case it could be caused by the double slashes (// at the end of sbin), You 
could try editing your sbin/spark-daemon.sh file, look for rsync inside the 
file, add -v along with that command to see what exactly i going wrong.

Thanks
Best Regards

On Wed, Apr 1, 2015 at 7:25 PM, Horsmann, Tobias 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I try to set up a minimal 2-node spark cluster for testing purposes. When I 
start the cluster with start-all.sh I get a rsync error message:

rsync: change_dir "/usr/local/spark130/sbin//right" failed: No such file or 
directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 
23) at main.c(1183) [sender=3.1.0]

(For clarification, my 2 nodes are called ‚right‘ and ‚left‘ referencing to the 
physical machines standing in front of me)
It seems that a file named after my master node ‚right‘ is expected to exist 
and the synchronisation with it fails as it does not exist.
I don’t understand what Spark is trying to do here. Why does it expect this 
file to exist and what content should it have?
 I assume I did something wrong in my configuration setup – can someone 
interpret this error message and has an idea where his error is coming from?

Regards,
Tobias

Reply via email to