trying to setup OLAP in Kubernetes. I launched a s...
# troubleshooting
m
trying to setup OLAP in Kubernetes. I launched a session cluster. When configuring the SQL Gateway:
Copy code
- name: FLINK_PROPERTIES
              value: |
                s3.endpoint: http://localstack-service:4566
                taskmanager.numberOfTaskSlots: 2
                s3.path.style.access: true
                rest.address: sql-gateway-flink-deployment-rest
                rest.bind-address: sql-gateway-flink-deployment-rest
                jobmanager.bind-host: sql-gateway-flink-deployment-rest
                jobmanager.rpc.address: sql-gateway-flink-deployment-rest
the environment variables has the right values assigned:
Copy code
echo "$FLINK_PROPERTIES"
s3.endpoint: http://localstack-service:4566
taskmanager.numberOfTaskSlots: 2
s3.path.style.access: true
rest.address: sql-gateway-flink-deployment-rest
rest.bind-address: sql-gateway-flink-deployment-rest
jobmanager.bind-host: sql-gateway-flink-deployment-rest
jobmanager.rpc.address: sql-gateway-flink-deployment-rest
But the logs say:
Copy code
2024-04-02 06:19:56,813 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: taskmanager.memory.process.size, 1728m
2024-04-02 06:19:56,814 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: jobmanager.bind-host, 0.0.0.0
2024-04-02 06:19:56,815 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: taskmanager.bind-host, 0.0.0.0
2024-04-02 06:19:56,815 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: parallelism.default, 1
2024-04-02 06:19:56,815 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: jobmanager.execution.failover-strategy, region
2024-04-02 06:19:56,815 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: jobmanager.rpc.address, localhost
2024-04-02 06:19:56,816 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: taskmanager.numberOfTaskSlots, 1
2024-04-02 06:19:56,816 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: rest.address, 0.0.0.0
2024-04-02 06:19:56,816 INFO  org.apache.flink.configuration.GlobalConfiguration           [] - Loading configuration property: jobmanager.memory.process.size, 1600m