BTW, is this error due to that too?

[2012-09-10 22:15:36,921] ERROR {org.apache.hadoop.hive.ql.exec.Task} -
 D:\Work\DOWNLO~1\WSO2BA~1.0\bin\../repository/logs//wso2carbon.log
[2012-09-10 22:15:36,922] ERROR {org.apache.hadoop.hive.ql.exec.ExecDriver}
-  Execution failed with exit status: 2
FAILED: Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.MapRedTask
[2012-09-10 22:15:36,923] ERROR {org.apache.hadoop.hive.ql.Driver} -
 FAILED: Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.MapRedTask
[2012-09-10 22:15:36,923] 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 2 from org.apache.hadoop.hive.ql.exec.MapRedTask
java.sql.SQLException: Query returned non-zero code: 9, cause: FAILED:
Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.MapRedTask
        at
org.apache.hadoop.hive.jdbc.HiveStatement.executeQuery(HiveStatement.java:189)
        at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:323)
        at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl$ScriptCallable.call(HiveExecutorServiceImpl.java:224)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
[2012-09-10 22:15:36,927] ERROR
{org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask} -  Error while
executing script : registry_activity_script_18
org.wso2.carbon.analytics.hive.exception.HiveExecutionException: Error
while executing Hive script.Query returned non-zero code: 9, cause: FAILED:
Execution Error, return code 2 from org.apache.h
adoop.hive.ql.exec.MapRedTask
        at
org.wso2.carbon.analytics.hive.impl.HiveExecutorServiceImpl.execute(HiveExecutorServiceImpl.java:109)
        at
org.wso2.carbon.analytics.hive.task.HiveScriptExecutorTask.execute(HiveScriptExecutorTask.java:60)
        at
org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:71)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)

Thanks,
Senaka.

On Mon, Sep 10, 2012 at 10:11 PM, Senaka Fernando <[email protected]> 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
>
>


-- 
*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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to