[
https://issues.apache.org/jira/browse/PHOENIX-3061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15371237#comment-15371237
]
Tongzhou Wang commented on PHOENIX-3061:
----------------------------------------
Proposed changes:
+ Throws error if `IndexTool.configureSubmittableJobUsingDirectApi` and
`IndexTool.configureRunnableJobUsingBulkLoad` exit with code -1.
> IndexTool marks index as ACTIVE and exit 0 even if bulkload has error
> ---------------------------------------------------------------------
>
> Key: PHOENIX-3061
> URL: https://issues.apache.org/jira/browse/PHOENIX-3061
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.7.0
> Reporter: Tongzhou Wang
> Labels: easyfix
>
> In `IndexTool`, the job exits with code 0 and marks the index table as ACTIVE
> even though MapReduce had error.
> See:
> https://github.com/apache/phoenix/blob/master/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexTool.java#L246-L256
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)