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

ASF subversion and git services commented on ASTERIXDB-2142:
------------------------------------------------------------

Commit 91b7743647b67d143862263167f94fe2ef9a232a in asterixdb's branch 
refs/heads/master from [~mblow]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=91b7743 ]

[ASTERIXDB-2142][*DB][API] Guard against unavailable nc detail

hcc.getNodeDetailsJSON() & hcc.getThreadDump() APIs returns the null
string in case of unknown or not connected node- handle these in the
HTTP API.

Change-Id: I06a00f191812d25a6fef6c7cae7d693b258a6b6d
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2096
Sonar-Qube: Jenkins <[email protected]>
Tested-by: Jenkins <[email protected]>
Contrib: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Murtadha Hubail <[email protected]>


> NPE in ShutdownApiServlet if an NC is down at time of disconnect
> ----------------------------------------------------------------
>
>                 Key: ASTERIXDB-2142
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-2142
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: *DB - AsterixDB, API - HTTP API
>            Reporter: Michael Blow
>            Assignee: Michael Blow
>
> Observed in testing:
> java.lang.NullPointerException: null
>       at 
> com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:879)
>       at 
> com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2381)
>       at 
> org.apache.asterix.api.http.server.ShutdownApiServlet.post(ShutdownApiServlet.java:89)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to