I am on Windows are trying to configure WSO2 BAM Dashboard to see API statics.

I am using WSO2 API Manager 1.5.0 (latest) for some time and it works well on port 9443.
Also I am able to start BAM 2.4.0 (latest) server.

But as soon as I go to my WSO2 AM Publisher interface and try to see All Statistics it says
- Refer our wiki to configure BAM correctly

This is what I see in my BAM logs -

```
 INFO {org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Running script executor task for script am_stats_analyzer_253.

{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask}
TID: [0] [BAM] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Exception: Cannot run program "C:\Program" (in directory "C:\wso2bam-2.4.0"): CreateProcess error=2, The system cannot find the file specified {org.apache.hadoop.hive.ql.exec.ExecDriver}

TID: [0] [BAM] ERROR {org.apache.hadoop.hive.ql.Driver} -  FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask {org.apache.hadoop.hive.ql.Driver}

TID: [0] [BAM] ERROR {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl} -  Error while executing Hive script.

Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask {org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl}

java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask

```

I am not able to execute the Hive script on windows.  

I have installed cygwin also - not sure what is going wrong.  

I have followed all the documentation.