GitHub user SsnL opened a pull request:

    https://github.com/apache/phoenix/pull/178

    [PHOENIX-3061] IndexTool exits 0 even if bulkload failed with error

    **What**:
    Fix such that when the MapReduce job fails, the job exits with non-zero 
code and logs meaningful error message.
    
    **How**:
    Modified `IndexTool.configureSubmittableJobUsingDirectApi` and 
`IndexTool.configureRunnableJobUsingBulkLoad` so that they don't swallow errors.

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

    $ git pull https://github.com/SsnL/phoenix PHOENIX_3061

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

    https://github.com/apache/phoenix/pull/178.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 #178
    
----
commit 8536ee221d8a706aa5f4ee3628be45b294216d4b
Author: Simon Wang <simon.w...@airbnb.com>
Date:   2016-07-11T18:49:24Z

    [PHOENIX-3061] IndexTool marks index as ACTIVE and exit 0 even if bulkload 
has error

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to