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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to