Hey, it looks like you're encountering a Java Runtime Environment (JRE) issue while working with Azure Data Factory's Self-hosted Integration Runtime. This error usually occurs when the Integration Runtime cannot find the necessary JRE for parsing or writing to Parquet/ORC files, which can be a bit tricky to troubleshoot.
Given that you’ve already verified the installation of Java and confirmed that java -version works, here are some steps you can try:
- Check Installation Path: Ensure that the JRE is installed in a location accessible to the Self-hosted Integration Runtime. Sometimes, multiple Java versions can cause confusion, so please double-check that the JRE path set in the
JAVA_HOMEenvironment variable points to the correct installation. - Check for 32-bit vs 64-bit Versions: Since you mentioned that your Self-hosted Integration Runtime is 64-bit, ensure that you have the 64-bit version of JRE installed. Mixing 32-bit and 64-bit versions can lead to issues like the one you're experiencing.
- Permissions: Make sure that the Local System account (under which the SHIR service runs) has sufficient permissions to access the JRE installation path. Sometimes, permission issues can prevent the service from accessing necessary files.
- Reinstall JRE: As a last resort, consider uninstalling and then reinstalling the JRE. Sometimes, a corrupt installation may lead to unpredictable behavior.
- Check Logs: Look into the logs of the Self-hosted Integration Runtime for any additional error messages that could provide more context to the issue.
I hope these suggestions help you resolve the error! If the issue persists, feel free to share any additional details or specific error messages.
If you need further clarification on any of the steps or have additional questions, here are a few follow-up questions that might help:
- What version of JRE are you using?
- Can you confirm if there are multiple versions of Java installed on the machine?
- Have you configured any specific Java options in the SHIR settings?
- Have you checked for any recent changes to the environment (like updates or policy changes)?
Relevant Documentation
Let me know if you need any more help!