[
https://issues.apache.org/jira/browse/TRAFODION-2693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258312#comment-16258312
]
ASF GitHub Bot commented on TRAFODION-2693:
-------------------------------------------
GitHub user traflm opened a pull request:
https://github.com/apache/incubator-trafodion/pull/1304
[TRAFODION-2693]misleading error message for 'get schemas' when _MD_ …
…tables in hbase is not avialble
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/traflm/incubator-trafodion TRAFODION-2693
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/1304.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 #1304
----
commit 4b9c8c22615ee94f82c7cbd2a26e4bb1c8f4a2ff
Author: Liu Ming <[email protected]>
Date: 2017-11-18T22:34:53Z
[TRAFODION-2693]misleading error message for 'get schemas' when _MD_ tables
in hbase is not avialble
----
> misleading error message for 'get schemas' when _MD_ tables in hbase is not
> avialble
> ------------------------------------------------------------------------------------
>
> Key: TRAFODION-2693
> URL: https://issues.apache.org/jira/browse/TRAFODION-2693
> Project: Apache Trafodion
> Issue Type: Bug
> Reporter: liu ming
> Assignee: liu ming
>
> Sometimes, if the hbase tables
> _MD_.OBJECTS and other MD tables are disabled, or not accessible due to other
> issues, the SQL DDL command will report misleading error message.
> >>get schemas;
> *** ERROR[15001] A syntax error occurred at or before:
> select schema_name from."_MD_".OBJECTS where catalog_name = 'TRAFODION' and (
> ^ (25 characters from start of SQL statement)
> *** ERROR[8822] The statement was not prepared.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)