You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2014/11/13 20:23:33 UTC

[jira] [Created] (SENTRY-524) [Unit Test] testMovingTable1 test fails sporadically while executing Hive query

Lenni Kuff created SENTRY-524:
---------------------------------

             Summary: [Unit Test] testMovingTable1 test fails sporadically while executing Hive query
                 Key: SENTRY-524
                 URL: https://issues.apache.org/jira/browse/SENTRY-524
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Lenni Kuff
            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)