[
https://issues.apache.org/jira/browse/GEODE-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16310466#comment-16310466
]
ASF GitHub Bot commented on GEODE-4160:
---------------------------------------
dschneider-pivotal opened a new pull request #1223: GEODE-4160: fix gfsh
describe jdbc-connection
URL: https://github.com/apache/geode/pull/1223
If the connection had no parameters set, then running
gfsh describe jdbc-connection would fail with an NPE.
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [ ] Is there a JIRA ticket associated with this PR? Is it referenced in
the commit message?
- [ ] Has your PR been rebased against the latest commit within the target
branch (typically `develop`)?
- [ ] Is your initial contribution a single, squashed commit?
- [ ] Does `gradlew build` run cleanly?
- [ ] Have you written or updated unit tests to verify your changes?
- [ ] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and
submit an update to your PR as soon as possible. If you need help, please
send an
email to [email protected].
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> gfsh describe jdbc-connections errors describing a valid connection
> -------------------------------------------------------------------
>
> Key: GEODE-4160
> URL: https://issues.apache.org/jira/browse/GEODE-4160
> Project: Geode
> Issue Type: Bug
> Components: regions
> Affects Versions: 1.4.0
> Reporter: Fred Krone
> Assignee: Darrel Schneider
>
> Steps to reproduce issue:
> 1) create a jdbc-connection
> 2) describe that jdbc-connection
> 3) you get an error even though the mapping exists (via list mapping, etc)
> gfsh>describe jdbc-mapping --region=employee
> Could not process command due to error. Error while processing command
> <describe jdbc-mapping --region=employee> Reason : null
> gfsh>create jdbc-connection --name=connection1
> --url="jdbc:derby://localhost:1527/MyDbTest"
> (Experimental)
> Member | Status
> ------ | -----------------------------------------
> s1 | Created JDBC connection connection1 on s1
> gfsh>describe jdbc-connection --name=connection1
> Could not process command due to error. Error while processing command
> <describe jdbc-connection --name=connection1> Reason : null
> gfsh>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)