You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Mark Grover (JIRA)" <ji...@apache.org> on 2013/05/01 03:31:13 UTC

[jira] [Commented] (BIGTOP-951) Hive Smoke's TestJdbcDriver fails

    [ https://issues.apache.org/jira/browse/BIGTOP-951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13646276#comment-13646276 ] 

Mark Grover commented on BIGTOP-951:
------------------------------------

I have tested this patch and the test now passes but I wasn't able to test the teardown part of the test. The reason is the command to start hive server {{(HIVE_PORT=10000 hive --service hiveserver > /dev/null 2>&1 & echo $! ) 2> /dev/null}} doesn't seem to return any output when run from the test (i.e. sh.getOut() returns an empty array). While if I run the same command on bash, it returns the PID of the file as expected. This PID is then used in teardown. So, barring the testing of teardown method, this patch seems to work.


I will take a closer look at itest's shell methods to see if there is another way to retrieve the PID. In the meanwhile, if anyone has any other thoughts, please let me know.
                
> Hive Smoke's TestJdbcDriver fails
> ---------------------------------
>
>                 Key: BIGTOP-951
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-951
>             Project: Bigtop
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 0.6.0
>            Reporter: Mark Grover
>            Assignee: Mark Grover
>            Priority: Blocker
>             Fix For: 0.6.0
>
>         Attachments: BIGTOP-951.1.patch
>
>
> Hive smoke's TestJdbcDriver seems to be failing due to libfb302 not being present in the classpath.
> Here is the error:
> {code}
> java.lang.NoClassDefFoundError: com/facebook/fb303/FacebookService$Iface
> {code}
> Here is the log:
> http://bigtop01.cloudera.org:8080/view/Bigtop-trunk/job/Bigtop-trunk-runsmokes/15/testReport/junit/org.apache.bigtop.itest.hivesmoke/TestJdbcDriver/testCreate/?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira