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

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

Yes, the reason for that was the removal of a particular constructor in the 
earlier patch. 
{code}
public SchedulerServiceImpl(CLIService cliService) throws LensException {
    super(NAME, cliService);
    this.schedulerDAO = new SchedulerDAO(cliService.getHiveConf());
    this.scheduler = LensScheduler.get();
 }

{code}

However, the new patch should have fixed it, but it seems it is getting a NPE 
in SchedulerDAO now while trying to create a new one.
{code}
Caused by: java.lang.NullPointerException: null
        at 
org.apache.lens.server.scheduler.SchedulerDAO.<init>(SchedulerDAO.java:55)
{code}

Most likely I am passing wrong Configuration while trying to initialize 
SchedulerDAO. Any ideas from where to pick that Configuration?

> 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