Skip to content
Snippets Groups Projects
  • Mike Ihbe's avatar
    c2c107ab
    [SPARK-11653][DEPLOY] Allow spark-daemon.sh to run in the foreground · c2c107ab
    Mike Ihbe authored
    ## What changes were proposed in this pull request?
    
    Add a SPARK_NO_DAEMONIZE environment variable flag to spark-daemon.sh that causes the process it would run to be run in the foreground.
    
    It looks like there has been some prior work in https://github.com/apache/spark/pull/3881, but there was some talk about these being refactored. I'm not sure if that happened or not, but that PR is almost 2 years old at this point so it was worth revisiting.
    
    ## How was this patch tested?
    
    ./dev/run-tests still seems to work. It doesn't look like these scripts have tests, but if I missed them just let me know.
    
    Author: Mike Ihbe <mikejihbe@gmail.com>
    
    Closes #15338 from mikejihbe/SPARK-11653.
    [SPARK-11653][DEPLOY] Allow spark-daemon.sh to run in the foreground
    Mike Ihbe authored
    ## What changes were proposed in this pull request?
    
    Add a SPARK_NO_DAEMONIZE environment variable flag to spark-daemon.sh that causes the process it would run to be run in the foreground.
    
    It looks like there has been some prior work in https://github.com/apache/spark/pull/3881, but there was some talk about these being refactored. I'm not sure if that happened or not, but that PR is almost 2 years old at this point so it was worth revisiting.
    
    ## How was this patch tested?
    
    ./dev/run-tests still seems to work. It doesn't look like these scripts have tests, but if I missed them just let me know.
    
    Author: Mike Ihbe <mikejihbe@gmail.com>
    
    Closes #15338 from mikejihbe/SPARK-11653.