Search code examples
apachehadoopcygwinapache-zookeeperapache-drill

how to start drillbit distributed and in single node with Windows?


I want to start drillbit sevrer in Distributed mode in Windows but didn't work,

I started ZooKeeper and works fine with " zkServer.cmd ", and started drill with cygwin command like this : " sh drillbit.sh start " but the server don't start and give this error in drillbit.out log file :

C:\Drill/bin/runbit: line 107: exec: C:\Program: not found

Solution

  • It might be that the problem is that your JAVA_HOME is in directory with spaces (ex: Program Files). To solve this you have two options:

    1. Install JAVA in directory without spaces.
    2. Replace "Program Files" in your JAVA_HOME variable to progra~1 or progra~2 (if in x86).

    Example: JAVA_HOME="C:\progra~1\Java\jdk1.7.0_71"