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

Ajay Yadava commented on LENS-1184:
-----------------------------------

It seems that on changing

{code}
this.schedulerDAO = new SchedulerDAO(cliService.getHiveConf());
{code}

 to 

{code}
this.schedulerDAO = new SchedulerDAO(LensServerConf.getHiveConf());
{code}

the tests pass even if the statement is in constructor. The new test failure 
seems to be unrelated. It is as below.

{code}
java.lang.AssertionError: expected [true] but found [false]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotEquals(Assert.java:494)
        at org.testng.Assert.assertTrue(Assert.java:42)
        at org.testng.Assert.assertTrue(Assert.java:52)
        at 
org.apache.lens.server.query.TestResultFormatting.testResultFormatter(TestResultFormatting.java:255)
        at 
org.apache.lens.server.query.TestResultFormatting.testResultFormatterFailure(TestResultFormatting.java:178)
{code}

[~amareshwari] [~prongs] thoughts?

> REST API for the scheduler
> --------------------------
>
>                 Key: LENS-1184
>                 URL: https://issues.apache.org/jira/browse/LENS-1184
>             Project: Apache Lens
>          Issue Type: Sub-task
>          Components: server
>            Reporter: Ajay Yadava
>            Assignee: Ajay Yadava
>             Fix For: 2.6
>
>         Attachments: LENS-1184.patch
>
>
> For the sake of breaking in smaller commits, will publish the REST API 
> signatures with placeholders or dummy values being returned.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to