hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinna Rao Lalam <>
Subject RE: hive test faild ,Permission denied
Date Tue, 05 Jun 2012 04:43:48 GMT

Try by giving permissions to that file.....

From: Hezhiqiang (Ransom) []
Sent: Tuesday, June 05, 2012 8:56 AM
Cc: Zhaojun (Terry)
Subject: 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] Cannot run program "hive-0.9-test/workspace/testutils/hadoop"
(in directory "hive-0.9-test/workspace/service"): error=13, Permission

    [junit]     at java.lang.ProcessBuilder.start(
    [junit]     at java.lang.Runtime.exec(
    [junit]     at java.lang.Runtime.exec(
    [junit]     at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(
    [junit]     at org.apache.hadoop.hive.ql.exec.Task.executeTask(
    [junit]     at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(
    [junit]     at org.apache.hadoop.hive.ql.Driver.launchTask(
    [junit]     at org.apache.hadoop.hive.ql.Driver.execute(
    [junit]     at
    [junit]     at org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(
    [junit]     at org.apache.hadoop.hive.service.TestHiveServer.testDynamicSerde(
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    [junit]     at java.lang.reflect.Method.invoke(
    [junit]     at junit.framework.TestCase.runTest(
    [junit]     at junit.framework.TestCase.runBare(
    [junit]     at junit.framework.TestResult$1.protect(
    [junit]     at junit.framework.TestResult.runProtected(
    [junit]     at
    [junit]     at
    [junit]     at junit.framework.TestSuite.runTest(
    [junit]     at
    [junit]     at
    [junit]     at
    [junit]     at
    [junit] Caused by: error=13, Permission denied
    [junit]     at java.lang.UNIXProcess.<init>(
    [junit]     at java.lang.ProcessImpl.start(
    [junit]     at java.lang.ProcessBuilder.start(
    [junit]     ... 25 more
    [junit] FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MapRedTask

View raw message