[ 
https://issues.apache.org/jira/browse/SPARK-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13980164#comment-13980164
 ] 

prasad potipireddi commented on SPARK-1616:
-------------------------------------------

Env:
      I have setup spark cluster with 3 nodes. one master and 3 workers

Usecase:
     1. I have copied jar file into master node
     2. I have provided the input file only in master node but not in any 
worker nodes
     3. Run the jar using 
              java -cp 
"~/spark/assembly/target/scala-2.10/spark-assembly_2.10-0.9.0-incubating-hadoop2.2.0.jar:`echo
 $SCALA_HOME/lib/*.jar | sed 's/ 
/:/g'`:~/examples/jars/SparkPoc-0.0.1-SNAPSHOT.jar" -Dspark.master=local 
com.spark.mllib.LinearRegression spark://<master node>:7077 
~/examples/data/sampledata.csv

  then i got File Not Found error


Alternative Solution:
        I have copied the same Sampledata.csv into all other worker nodes then 
its working as expected.





> input availability
> ------------------
>
>                 Key: SPARK-1616
>                 URL: https://issues.apache.org/jira/browse/SPARK-1616
>             Project: Spark
>          Issue Type: Bug
>          Components: Input/Output
>    Affects Versions: 0.9.0
>         Environment: Linux 2.6.18-348.3.1.el5 
>            Reporter: prasad potipireddi
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to