You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by deem0n <gi...@git.apache.org> on 2018/01/13 08:53:57 UTC
[GitHub] incubator-hawq pull request #1329: fix logging issue with null Metadata
GitHub user deem0n opened a pull request:
https://github.com/apache/incubator-hawq/pull/1329
fix logging issue with null Metadata
When you enable DEBUG logging you might get annoying exceptions:
```
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at java.lang.String.<init>(String.java:566)
at org.apache.hawq.pxf.service.FragmentsResponseFormatter.printList(FragmentsResponseFormatter.java:147)
at org.apache.hawq.pxf.service.FragmentsResponseFormatter.formatResponse(FragmentsResponseFormatter.java:54)
at org.apache.hawq.pxf.service.rest.FragmenterResource.getFragments(FragmenterResource.java:88)
```
I just added the trivial fix.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/deem0n/incubator-hawq master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-hawq/pull/1329.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1329
----
commit 2f731a310d945f0422d274f687f16f8d381456aa
Author: deem0n <di...@...>
Date: 2018-01-13T08:49:55Z
fix logging issue with null Metadata
When you enable DEBUG logging you might get annoying exceptions:
```
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
java.lang.NullPointerException
at java.lang.String.<init>(String.java:566)
at org.apache.hawq.pxf.service.FragmentsResponseFormatter.printList(FragmentsResponseFormatter.java:147)
at org.apache.hawq.pxf.service.FragmentsResponseFormatter.formatResponse(FragmentsResponseFormatter.java:54)
at org.apache.hawq.pxf.service.rest.FragmenterResource.getFragments(FragmenterResource.java:88)
```
I just added the trivial fix.
----
---
[GitHub] incubator-hawq issue #1329: fix logging issue with null Metadata
Posted by radarwave <gi...@git.apache.org>.
Github user radarwave commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
@deem0n We need a jira number for each commit, please create a jira or add the existing jira information? Thanks.
See: https://issues.apache.org/jira/projects/HAWQ
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by shivzone <gi...@git.apache.org>.
Github user shivzone commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
Has been merged to master
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by radarwave <gi...@git.apache.org>.
Github user radarwave commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
@deem0n Thanks for the contribution, please help to close this PR since it's already been merged.
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by deem0n <gi...@git.apache.org>.
Github user deem0n commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
Closing it. Thanks all!
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by radarwave <gi...@git.apache.org>.
Github user radarwave commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
Thanks @deem0n , please add 'HAWQ-1579' to the front of commit message title as well.
---
[GitHub] incubator-hawq pull request #1329: HAWQ-1579. fix logging issue with null Me...
Posted by deem0n <gi...@git.apache.org>.
Github user deem0n closed the pull request at:
https://github.com/apache/incubator-hawq/pull/1329
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by denalex <gi...@git.apache.org>.
Github user denalex commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
@deem0n -- as this PR has not been auto closed when the code was merged, can you please close it manually ? Thanks.
---
[GitHub] incubator-hawq issue #1329: HAWQ-1579. fix logging issue with null Metadata
Posted by deem0n <gi...@git.apache.org>.
Github user deem0n commented on the issue:
https://github.com/apache/incubator-hawq/pull/1329
Added HAWQ-1579
---