Uh oh!
There was an error while loading. Please reload this page.
[SPARK-5825] [Spark Submit] Remove the double checking instance name when stopping the service - #4611
[SPARK-5825] [Spark Submit] Remove the double checking instance name when stopping the service#4611chenghao-intel wants to merge 1 commit into
Conversation
SparkQA
commented
Feb 15, 2015
Test build #27510 has started for PR 4611 at commit
|
chenghao-intel
commented
Feb 15, 2015
#4382 failed due to the |
SparkQA
commented
Feb 15, 2015
Test build #27510 has finished for PR 4611 at commit
|
AmplabJenkins
commented
Feb 15, 2015
Test PASSed. |
srowen
commented
Feb 15, 2015
I don't think we want to take out this check entirely. This was changed recently to not just test whether the process can be killed (with What about a weaker check like just grepping for |
f1bef66 to
0b9ea52Comparechenghao-intel
commented
Feb 16, 2015
Thank you @srowen for the explanation, I've updated the script, can you review it again? |
SparkQA
commented
Feb 16, 2015
Test build #27537 has started for PR 4611 at commit
|
SparkQA
commented
Feb 16, 2015
Test build #27537 has finished for PR 4611 at commit
|
AmplabJenkins
commented
Feb 16, 2015
Test PASSed. |
srowen
commented
Feb 16, 2015
This uses |
chenghao-intel
commented
Feb 17, 2015
@srowen, I was trying something like
|
srowen
commented
Feb 17, 2015
@chenghao-intel ah, looks like the default behavior on OS X is different from Linux. Try |
chenghao-intel
commented
Feb 17, 2015
@srowen I've tested that both under ubuntu 12.04 and centos 6.5, |
srowen
commented
Feb 17, 2015
Gotcha. OK. Until someone thinks of a more robust check, I think we can resort to just checking if |
0b9ea52 to
a0051f6CompareSparkQA
commented
Feb 18, 2015
Test build #27670 has started for PR 4611 at commit
|
chenghao-intel
commented
Feb 18, 2015
Thank you @srowen , I've updated the script, seems much simpler. Appreciated if you can confirm the change under OS X, sorry, I don't have machine with OS X. |
SparkQA
commented
Feb 18, 2015
Test build #27670 has finished for PR 4611 at commit
|
AmplabJenkins
commented
Feb 18, 2015
Test PASSed. |
srowen
commented
Feb 18, 2015
As I say on OS X you get the whole binary path, not just that's why I was thinking
|
nchammas
commented
Feb 18, 2015
Bash style for this change is fine, though there are other areas in this script with word splitting problems, unfortunately (e.g. some references to |
andrewor14
commented
Feb 19, 2015
@srowen it actually does a This seems like what we want, so I'm going to merge this into master 1.3 and 1.2 thanks @chenghao-intel |
…when stopping the service `spark-daemon.sh` will confirm the process id by fuzzy matching the class name while stopping the service, however, it will fail if the java process arguments is very long (greater than 4096 characters). This PR looses the check for the service process. Author: Cheng Hao <hao.cheng@intel.com> Closes#4611 from chenghao-intel/stopping_service and squashes the following commits: a0051f6 [Cheng Hao] loosen the process checking while stopping a service (cherry picked from commit 94cdb05) Signed-off-by: Andrew Or <andrew@databricks.com>
…when stopping the service `spark-daemon.sh` will confirm the process id by fuzzy matching the class name while stopping the service, however, it will fail if the java process arguments is very long (greater than 4096 characters). This PR looses the check for the service process. Author: Cheng Hao <hao.cheng@intel.com> Closes#4611 from chenghao-intel/stopping_service and squashes the following commits: a0051f6 [Cheng Hao] loosen the process checking while stopping a service (cherry picked from commit 94cdb05) Signed-off-by: Andrew Or <andrew@databricks.com>
srowen
commented
Feb 19, 2015
@andrewor14 Ah! right of course. I looked right past that. Yes that's a good change then. |
…when stopping the service `spark-daemon.sh` will confirm the process id by fuzzy matching the class name while stopping the service, however, it will fail if the java process arguments is very long (greater than 4096 characters). This PR looses the check for the service process. Author: Cheng Hao <hao.cheng@intel.com> Closesapache#4611 from chenghao-intel/stopping_service and squashes the following commits: a0051f6 [Cheng Hao] loosen the process checking while stopping a service (cherry picked from commit 94cdb05) Signed-off-by: Andrew Or <andrew@databricks.com>
spark-daemon.shwill confirm the process id by fuzzy matching the class name while stopping the service, however, it will fail if the java process arguments is very long (greater than 4096 characters).This PR looses the check for the service process.