Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2176#discussion_r69102159
  
    --- Diff: flink-contrib/docker-flink/docker-entrypoint.sh ---
    @@ -16,21 +18,23 @@
     # limitations under the License.
     
################################################################################
     
    -jobmanager.rpc.address: %jobmanager%
    -jobmanager.rpc.port: 6123
    -jobmanager.heap.mb: 128
    -
    -taskmanager.rpc.port: 6121
    -taskmanager.data.port: 6122
    -taskmanager.heap.mb: 256
    -taskmanager.numberOfTaskSlots: %nb_slots%
    -
    -parallelization.degree.default: %parallelism%
    +# general configuration
    +sed -i -e "s/taskmanager.numberOfTaskSlots: 
1/taskmanager.numberOfTaskSlots: `grep -c ^processor /proc/cpuinfo`/g" 
$FLINK_HOME/conf/flink-conf.yaml
    --- End diff --
    
    This should only be executed on the JobManager since it will print 
`taskmanager_1  | sed: can't create temp file 
'/usr/local/flink/conf/flink-conf.yamlXXXXXX': Read-only file system` which 
might worry some users.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to