You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "ysn2233 (via GitHub)" <gi...@apache.org> on 2025/10/30 10:00:15 UTC

[I] [Bug] 使用k8s application模式部署任务时,如果没有Hadoop环境,会在某一个properties设置的时候报错导致无法运行 [streampark]

ysn2233 opened a new issue, #4304:
URL: https://github.com/apache/streampark/issues/4304

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/streampark/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
   
   
   ### Java Version
   
   1.8
   
   ### Scala Version
   
   2.11.x
   
   ### StreamPark Version
   
   2.1.5
   
   ### Flink Version
   
   1.18
   
   ### Deploy mode
   
   None
   
   ### What happened
   
   报错为 java.lang.NullPointerException: [StreamPark] FileUtils.getPathFromEnv: HADOOP_HOME is not set on system env
   
   引起报错的地方是FlinkApplicationActionServiceImpl.java中的
   ```
           if (FlinkDeployMode.isKubernetesApplicationMode(application.getDeployMode())) {
               properties.put(JobManagerOptions.ARCHIVE_DIR.key(), Workspace.ARCHIVES_FILE_PATH());
           } 
          // Workspace.ARCHIVES_FILE_PATH())报错
   ```
   理论上用k8s application模式并不应该强制要求Hadoop环境?
   
   ### Error Exception
   
   ```log
   
   ```
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?)
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] 使用k8s application模式部署任务时,如果没有Hadoop环境,会在某一个properties设置的时候报错导致无法运行 [streampark]

Posted by "zhang-arvin (via GitHub)" <gi...@apache.org>.
zhang-arvin commented on issue #4304:
URL: https://github.com/apache/streampark/issues/4304#issuecomment-5358259523

   I would like to work on this issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] 使用k8s application模式部署任务时,如果没有Hadoop环境,会在某一个properties设置的时候报错导致无法运行 [streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys closed issue #4304: [Bug] 使用k8s application模式部署任务时,如果没有Hadoop环境,会在某一个properties设置的时候报错导致无法运行
URL: https://github.com/apache/streampark/issues/4304


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] 使用k8s application模式部署任务时,如果没有Hadoop环境,会在某一个properties设置的时候报错导致无法运行 [streampark]

Posted by "wolfboys (via GitHub)" <gi...@apache.org>.
wolfboys commented on issue #4304:
URL: https://github.com/apache/streampark/issues/4304#issuecomment-5523005958

   Thanks for your feedback. We are closing this issue because it is outdated.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org