Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-524

[Unit Test] testMovingTable1 test fails sporadically while executing Hive query

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 1.5.0
    • None
    • None
    • None

    Description

      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.

      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
      

      Marked as blocker since this is a unit test failure.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lskuff Lenni Kuff
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: