On Mon, Sep 10, 2012 at 11:12 PM, Senaka Fernando <sen...@wso2.com> wrote:

> Hi guys,
>
> Tried with Cygwin and works perfectly. By the way also add the following
> to the BAM docs to make this complete.
>
> "After installing Cygwin, please update your PATH variable by appending
> ";C:\cygwin\bin". This is required since the default installation of Cygwin
> might not do this."
>
> Better if done with some images.
>

Noted. Thanks for feedback.

Regards
Buddhika

>
> Thanks,
> Senaka.
>
>
> On Mon, Sep 10, 2012 at 10:49 PM, Buddhika Chamith <buddhi...@wso2.com>wrote:
>
>>
>>
>> On Mon, Sep 10, 2012 at 10:41 PM, Senaka Fernando <sen...@wso2.com>wrote:
>>
>>> Hi all,
>>>
>>> BTW, AFAIU we should be able to use "Bootup Validator" to validate
>>> whether Cygwin is installed for BAM on Windows.
>>>
>>
>> +1.
>>
>> Regards
>> Buddhika
>>
>>
>>>
>>> Thanks,
>>> Senaka.
>>>
>>>
>>> On Mon, Sep 10, 2012 at 10:23 PM, Senaka Fernando <sen...@wso2.com>wrote:
>>>
>>>> Hi Tharindu,
>>>>
>>>> Thanks. Actually I just figured that out by reading the doc just now
>>>> too. That's helpful. By the way, about that other error, I found [1]. Will
>>>> install Cygwin and check this out.
>>>>
>>>> [1] https://wso2.org/jira/browse/BAM-643
>>>>
>>>> Thanks,
>>>> Senaka.
>>>>
>>>>
>>>> On Mon, Sep 10, 2012 at 10:18 PM, Tharindu Mathew <thari...@wso2.com>wrote:
>>>>
>>>>> Refer [1] and [2].
>>>>>
>>>>> [1] -
>>>>> http://docs.wso2.org/wiki/display/BAM200/Installation+Prerequisites
>>>>>
>>>>> [2] -
>>>>> http://docs.wso2.org/wiki/display/BAM200/FAQ#FAQ-Igetanexceptionstating- 
>>>>> ERRORorgapachehadoophiveqlexecExecDriver-JobSubmissionfailedwithexceptionjavaioIOExceptionCannotrunprogramchmodCreateProcesserror2Thesystemcannotfindthefilespecified
>>>>>  javaioIOExceptionCannotrunprogramchmodCreateProcesserror2Thes
>>>>>
>>>>> On Mon, Sep 10, 2012 at 10:11 PM, Senaka Fernando <sen...@wso2.com>wrote:
>>>>>
>>>>>> Hi Tharindu,
>>>>>>
>>>>>> Job Submission failed with exception 'java.io.IOException(Cannot run
>>>>>> program "chmod": CreateProcess error=2, The system cannot find the file
>>>>>> specified)'
>>>>>> [2012-09-10 22:10:03,389] ERROR
>>>>>> {org.apache.hadoop.hive.ql.exec.ExecDriver} -  Job Submission failed with
>>>>>> exception 'java.io.IOException(Cannot run program "chmod": CreateProcess
>>>>>> error=2, The sys
>>>>>> tem cannot find the file specified)'
>>>>>> java.io.IOException: Cannot run program "chmod": CreateProcess
>>>>>> error=2, The system cannot find the file specified
>>>>>>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
>>>>>>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:200)
>>>>>>         at org.apache.hadoop.util.Shell.run(Shell.java:182)
>>>>>>         at
>>>>>> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:375)
>>>>>>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:461)
>>>>>>         at org.apache.hadoop.util.Shell.execCommand(Shell.java:444)
>>>>>>         at
>>>>>> org.apache.hadoop.fs.RawLocalFileSystem.execCommand(RawLocalFileSystem.java:553)
>>>>>>         at
>>>>>> org.apache.hadoop.fs.RawLocalFileSystem.execSetPermission(RawLocalFileSystem.java:545)
>>>>>>         at
>>>>>> org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:531)
>>>>>>         at
>>>>>> org.apache.hadoop.fs.RawLocalFileSystem.mkdirs(RawLocalFileSystem.java:324)
>>>>>>         at
>>>>>> org.apache.hadoop.fs.FilterFileSystem.mkdirs(FilterFileSystem.java:183)
>>>>>>         at
>>>>>> org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir(JobSubmissionFiles.java:116)
>>>>>>         at
>>>>>> org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:798)
>>>>>>         at
>>>>>> org.apache.hadoop.mapred.JobClient$2.run(JobClient.java:792)
>>>>>>         at java.security.AccessController.doPrivileged(Native Method)
>>>>>>         at javax.security.auth.Subject.doAs(Subject.java:396)
>>>>>>         at
>>>>>> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1123)
>>>>>>         at
>>>>>> org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:792)
>>>>>>         at
>>>>>> org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:766)
>>>>>>         at
>>>>>> org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:458)
>>>>>>         at
>>>>>> org.apache.hadoop.hive.ql.exec.ExecDriver.main(ExecDriver.java:728)
>>>>>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>>         at
>>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>>         at
>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>>         at org.apache.hadoop.util.RunJar.main(RunJar.java:156)
>>>>>> Caused by: java.io.IOException: CreateProcess error=2, The system
>>>>>> cannot find the file specified
>>>>>>         at java.lang.ProcessImpl.create(Native Method)
>>>>>>         at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
>>>>>>         at java.lang.ProcessImpl.start(ProcessImpl.java:30)
>>>>>>         at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
>>>>>>         ... 25 more
>>>>>>
>>>>>> Execution failed with exit status: 2
>>>>>> [2012-09-10 22:10:05,771] ERROR {org.apache.hadoop.hive.ql.exec.Task}
>>>>>> -  Execution failed with exit status: 2
>>>>>>
>>>>>> Thanks,
>>>>>> Senaka.
>>>>>>
>>>>>> --
>>>>>> *Senaka Fernando*
>>>>>> Member - Integration Technologies Management Committee;
>>>>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>>>>> Member; Apache Software Foundation; http://apache.org
>>>>>>
>>>>>> E-mail: senaka AT wso2.com
>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>>>> Linked-In: http://linkedin.com/in/senakafernando
>>>>>>
>>>>>> *Lean . Enterprise . Middleware
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Regards,
>>>>>
>>>>> Tharindu
>>>>>
>>>>> blog: http://mackiemathew.com/
>>>>> M: +94777759908
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Senaka Fernando*
>>>> Member - Integration Technologies Management Committee;
>>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>>> Member; Apache Software Foundation; http://apache.org
>>>>
>>>> E-mail: senaka AT wso2.com
>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>> Linked-In: http://linkedin.com/in/senakafernando
>>>>
>>>> *Lean . Enterprise . Middleware
>>>>
>>>>
>>>
>>>
>>> --
>>> *Senaka Fernando*
>>> Member - Integration Technologies Management Committee;
>>> Technical Lead; WSO2 Inc.; http://wso2.com*
>>> Member; Apache Software Foundation; http://apache.org
>>>
>>> E-mail: senaka AT wso2.com
>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>> Linked-In: http://linkedin.com/in/senakafernando
>>>
>>> *Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
>
> --
> *Senaka Fernando*
> Member - Integration Technologies Management Committee;
> Technical Lead; WSO2 Inc.; http://wso2.com*
> Member; Apache Software Foundation; http://apache.org
>
> E-mail: senaka AT wso2.com
> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
> Linked-In: http://linkedin.com/in/senakafernando
>
> *Lean . Enterprise . Middleware
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to