Dapeng Sun created SENTRY-525:
---------------------------------
Summary: [Unit
Test]org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegrationtestEnd2End test fails
Key: SENTRY-525
URL: https://issues.apache.org/jira/browse/SENTRY-525
Project: Sentry
Issue Type: Bug
Affects Versions: 1.5.0
Reporter: Dapeng Sun
Priority: Blocker
Fix For: 1.5.0
https://builds.apache.org/job/Sentry-jdk-1.7/org.apache.sentry$sentry-tests-hive/99/testReport/junit/org.apache.sentry.tests.e2e.hive/TestMovingToProduction/testMovingTable1/
The MR logs are not currently available (something we should fix), making this
a bit tricky to debug.
{code}
Error Message
Error while processing statement: FAILED: Execution Error, return code 2 from
org.apache.hadoop.hive.ql.exec.mr.MapRedTask
Stacktrace
java.sql.SQLException: Error while processing statement: FAILED: Execution
Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:277)
at
org.apache.sentry.tests.e2e.hive.TestMovingToProduction.testMovingTable1(TestMovingToProduction.java:104)
Standard Output
2014-11-13 18:21:46,307 (main) [INFO -
org.apache.sentry.tests.e2e.hive.AbstractTestWithStaticConfiguration.setupTestStaticConfiguration(AbstractTestWithStaticConfiguration.java:197)]
BaseDir = /tmp/1415902906306-0
2014-11-13 18:21:46,493 (main) [INFO -
org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:375)] starting
cluster: numNameNodes=1, numDataNodes=2
2014-11-13 18:21:48,024 (main) [WARN -
org.apache.hadoop.util.NativeCodeLoader.<clinit>(NativeCodeLoader.java:62)]
Unable to l
...[truncated 1134025 bytes]...
) [INFO -
org.apache.hadoop.fs.FileSystem.processDeleteOnExit(FileSystem.java:1388)]
Ignoring failure to deleteOnExit for path
hdfs://localhost:55195/data/db_2.db/tb_1/.hive-staging_hive_2014-11-13_18-22-07_668_4739504379041409322-3
2014-11-13 18:22:18,829 (Thread-34) [INFO -
org.apache.hadoop.fs.FileSystem.processDeleteOnExit(FileSystem.java:1388)]
Ignoring failure to deleteOnExit for path
hdfs://localhost:55195/data/db_2.db/tb_1/.hive-staging_hive_2014-11-13_18-22-10_952_1973260947588109735-4
{code}
Marked as blocker since this is a unit test failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)