XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.0
    • Component/s: None

      Description

      after a full install; there are some issues with:

      time mvn test -pl ql,itests/hive-unit -Dtest=TestJdbcGenericUDTFGetSplits

      [INFO] Running org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 15.317 s <<< FAILURE! - in org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits
      [ERROR] org.apache.hive.jdbc.TestJdbcGenericUDTFGetSplits  Time elapsed: 15.316 s  <<< ERROR!
      org.apache.hive.service.ServiceException: org.apache.hive.service.ServiceException: Unable to setup tez session pool
      	at org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:733)
      	at org.apache.hive.jdbc.miniHS2.MiniHS2.start(MiniHS2.java:382)
      	at org.apache.hive.jdbc.AbstractTestJdbcGenericUDTFGetSplits.beforeTest(AbstractTestJdbcGenericUDTFGetSplits.java:88)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
      	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
      	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
      	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
      	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:383)
      	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:344)
      	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:125)
      	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:417)
      Caused by: org.apache.hive.service.ServiceException: Unable to setup tez session pool
      	at org.apache.hive.service.server.HiveServer2.initAndStartTezSessionPoolManager(HiveServer2.java:832)
      	at org.apache.hive.service.server.HiveServer2.startOrReconnectTezSessions(HiveServer2.java:807)
      	at org.apache.hive.service.server.HiveServer2.start(HiveServer2.java:730)
      	... 20 more
      Caused by: java.io.FileNotFoundException: /home/dev/hive/ql/target/classes (Is a directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at org.apache.hadoop.fs.RawLocalFileSystem$LocalFSFileInputStream.<init>(RawLocalFileSystem.java:110)
      	at org.apache.hadoop.fs.RawLocalFileSystem.open(RawLocalFileSystem.java:212)
      	at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:147)
      	at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:347)
      	at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:950)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.getSha(TezSessionState.java:863)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.createJarLocalResource(TezSessionState.java:809)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.openInternal(TezSessionState.java:288)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolSession.openInternal(TezSessionPoolSession.java:124)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:240)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionState.open(TezSessionState.java:231)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionPool.startInitialSession(TezSessionPool.java:297)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionPool.start(TezSessionPool.java:117)
      	at org.apache.hadoop.hive.ql.exec.tez.TezSessionPoolManager.startPool(TezSessionPoolManager.java:112)
      	at org.apache.hive.service.server.HiveServer2.initAndStartTezSessionPoolManager(HiveServer2.java:829)
      	... 22 more
      
      [INFO] 
      [INFO] Results:
      [INFO] 
      [ERROR] Errors: 
      [ERROR]   TestJdbcGenericUDTFGetSplits>AbstractTestJdbcGenericUDTFGetSplits.beforeTest:88 ยป Service
      [INFO] 
      [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kgyrtkirk Zoltan Haindrich
                Reporter:
                kgyrtkirk Zoltan Haindrich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m