Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> hive test faild ,Permission denied


Copy link to this message
-
hive test faild ,Permission denied
Hi all.
When I run :
ant -Dhadoop.version=1.0.0 clean package test tar -logfile ant.log
The test was faild . how to solve it?
This is the log.
[junit] Number of reduce tasks is set to 0 since there's no reduce operator
    [junit] java.io.IOException: Cannot run program "hive-0.9-test/workspace/testutils/hadoop" (in directory "hive-0.9-test/workspace/service"): java.io.IOException: error=13, Permission denied

    [junit]     at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    [junit]     at java.lang.Runtime.exec(Runtime.java:593)
    [junit]     at java.lang.Runtime.exec(Runtime.java:431)
    [junit]     at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:268)
    [junit]     at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:134)
    [junit]     at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)
    [junit]     at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1326)
    [junit]     at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1118)
    [junit]     at org.apache.hadoop.hive.ql.Driver.run(Driver.java:951)
    [junit]     at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:191)
    [junit]     at org.apache.hadoop.hive.service.TestHiveServer.testDynamicSerde(TestHiveServer.java:300)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:597)
    [junit]     at junit.framework.TestCase.runTest(TestCase.java:154)
    [junit]     at junit.framework.TestCase.runBare(TestCase.java:127)
    [junit]     at junit.framework.TestResult$1.protect(TestResult.java:106)
    [junit]     at junit.framework.TestResult.runProtected(TestResult.java:124)
    [junit]     at junit.framework.TestResult.run(TestResult.java:109)
    [junit]     at junit.framework.TestCase.run(TestCase.java:118)
    [junit]     at junit.framework.TestSuite.runTest(TestSuite.java:208)
    [junit]     at junit.framework.TestSuite.run(TestSuite.java:203)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:518)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1052)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:906)
    [junit] Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
    [junit]     at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    [junit]     at java.lang.ProcessImpl.start(ProcessImpl.java:65)
    [junit]     at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
    [junit]     ... 25 more
    [junit] FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask
+
Chinna Rao Lalam 2012-06-05, 04:43
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB