Summary
Error code 1 when starting the Yellowfin service on Windows usually indicates that a JVM of the wrong architecture is being used, for example a 32-bit JVM instead of 64-bit or vice versa. This article walks you through correcting the JVM setting and reinstalling the service if the issue persists.
Steps
1. Open Command Prompt as Administrator
Open the Start menu, search for Command Prompt, right-click it and select Run as Administrator.

2. Navigate to the Yellowfin bin directory
Change directory to the bin folder of your Yellowfin installation:
<Yellowfin home>\bin
3. Open the service properties
Run the following command to open the Yellowfin service properties dialogue:
tomcat7w //ES//yellowfin

4. Update the JVM path
Go to the Java tab and check the Java Virtual Machine field. If the path contains (x86) under Program Files, it is pointing to a 32-bit JVM:

Update the path to point to the correct JVM architecture. You may need to download and install the correct version if it is not already present on the machine:

Click OK and attempt to start the Yellowfin service.
If the Error Persists
If you are still seeing error code 1 after updating the JVM path, try removing and reinstalling the service. In the same Command Prompt window, run:
service remove yellowfin
Then reinstall it with:
service install yellowfin
Once reinstalled, attempt to start the service. If the error continues, check the JVM path again as it may have reverted.
If you have any further questions on this article, contact Support with a new ticket or send us an email.