Re: flume spark streaming receiver host random

2014-09-27 Thread Sean Owen
I don't think you control which host he receiver runs on, right? So that
Spark can handle the failure of that node and reassign the receiver.
On Sep 27, 2014 2:43 AM, centerqi hu cente...@gmail.com wrote:

 the receiver is not running on the machine I expect



 2014-09-26 14:09 GMT+08:00 Sean Owen so...@cloudera.com:
  I think you may be missing a key word here. Are you saying that the
 machine
  has multiple interfaces and it is not using the one you expect or the
  receiver is not running on the machine you expect?

 --
 cente...@gmail.com|齐忠



Re: flume spark streaming receiver host random

2014-09-26 Thread Sean Owen
I think you may be missing a key word here. Are you saying that the machine
has multiple interfaces and it is not using the one you expect or the
receiver is not running on the machine you expect?
On Sep 26, 2014 3:33 AM, centerqi hu cente...@gmail.com wrote:

 Hi all
 My code is as follows:

 /usr/local/webserver/sparkhive/bin/spark-submit
 --class org.apache.spark.examples.streaming.FlumeEventCount
 --master yarn
 --deploy-mode cluster
 --queue  online
 --num-executors 5
 --driver-memory 6g
 --executor-memory 20g
 --executor-cores 5 target/scala-2.10/simple-project_2.10-1.0.jar
 10.1.15.115 6

 However, the receiver does not in the 10.1.15.115, but the random
 choice of one slave host.

 How to solve this problem?

 Thanks


 --
 cente...@gmail.com|齐忠

 -
 To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
 For additional commands, e-mail: user-h...@spark.apache.org




Re: flume spark streaming receiver host random

2014-09-26 Thread centerqi hu
the receiver is not running on the machine I expect



2014-09-26 14:09 GMT+08:00 Sean Owen so...@cloudera.com:
 I think you may be missing a key word here. Are you saying that the machine
 has multiple interfaces and it is not using the one you expect or the
 receiver is not running on the machine you expect?

-- 
cente...@gmail.com|齐忠

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



flume spark streaming receiver host random

2014-09-25 Thread centerqi hu
Hi all
My code is as follows:

/usr/local/webserver/sparkhive/bin/spark-submit
--class org.apache.spark.examples.streaming.FlumeEventCount
--master yarn
--deploy-mode cluster
--queue  online
--num-executors 5
--driver-memory 6g
--executor-memory 20g
--executor-cores 5 target/scala-2.10/simple-project_2.10-1.0.jar
10.1.15.115 6

However, the receiver does not in the 10.1.15.115, but the random
choice of one slave host.

How to solve this problem?

Thanks


-- 
cente...@gmail.com|齐忠

-
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org