liujiayi771 commented on issue #8072:
URL: 
https://github.com/apache/incubator-gluten/issues/8072#issuecomment-2510417354

   @JkSelf 
   It is likely related to the `CLASSPATH` environment variable. I also 
encountered the following error message.
   ```
   Environment variable CLASSPATH not set!
   getJNIEnv: getGlobalJNIEnv failed
   W20241202 09:39:05.753589 279510 HdfsFileSystem.cpp:58] hdfs disconnect 
failure in HdfsReadFile close: 255
   ```
   However, I tried setting the CLASSPATH using the following methods, but none 
of them worked.
   * Just `export CLASSPATH=$(hdfs classpath --glob)` before run `spark-sql`.
   * Add `export CLASSPATH=$(hdfs classpath --glob)` in `spark-env.sh`.
   * Set `spark.driver/executorEnv.CLASSPATH=$(hdfs classpath --glob)` in 
`spark-sql` `--conf`.
   * Set `export CLASSPATH=$(hdfs classpath --glob)` in /etc/profile


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to