trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaveBirdsall <...@git.apache.org>
Subject [GitHub] incubator-trafodion pull request: [TRAFODION-1831] Improved error ...
Date Fri, 12 Feb 2016 21:37:30 GMT
GitHub user DaveBirdsall opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/320

    [TRAFODION-1831] Improved error msg when properties file is absent

    When $MY_SQROOT/etc/traf_coprocessor.properties is absent, SQL operations fail with
    
    *** ERROR[1394] Trafodion needs to be reinitialized on this system due to missing or corrupted
metadata objects. Do 'initialize trafodion, drop' followed by 'initialize trafodion' to reinitialize
Trafodion. This will delete all metadata and user objects from the Trafodion database and
recreate metadata.
    
    This is incorrect, and doing the steps described does not solve the problem.
    
    Changed the code to instead raise the following error:
    
    *** ERROR[1398] Error 704 occured while accessing the hbase subsystem. Fix that error
and make sure hbase is up and running. Error Details:
    java.lang.NullPointerException
    java.lang.String.contains(String.java:2076)
    org.TRAFODION.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:76)
    org.TRAFODION.sql.CoprocessorUtils.addCoprocessor(CoprocessorUtils.java:88)
    org.TRAFODION.sql.HBaseClient.getHTableClient(HBaseClient.java:861)
    
    This at least points to a coprocessor problem.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/DaveBirdsall/incubator-trafodion PropertiesError

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafodion/pull/320.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 #320
    
----
commit c862e0c90deadf626e65ee53474c497b33010b6a
Author: Dave Birdsall <dbirdsall@apache.org>
Date:   2016-02-12T21:31:31Z

    [TRAFODION-1831] Improved error msg when properties file is absent

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message