[
https://issues.apache.org/jira/browse/PHOENIX-4372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16258577#comment-16258577
]
James Taylor commented on PHOENIX-4372:
---------------------------------------
Looks like the attempt to output the invalid row file is failing when the table
is salted due to this code in IndexScrutinyToolIT.testOutputInvalidRowsToFile():
{code}
if (dataTableDdl.contains("SALT_BUCKETS")) {
fs.concat(firstPart, paths.toArray(new Path[0]));
}
{code}
Maybe [~vincentpoon] has an idea? Not sure why that special case is needed.
For now you could just ignore this by adding at the top of this test:
{code}
@Test
public void testOutputInvalidRowsToFile() throws Exception {
if (dataTableDdl.contains("SALT_BUCKETS")) {
return;
}
{code}
This test would then only run for the first parameterized test (where the table
is not salted).
> Distribution of Apache Phoenix 4.13 for CDH 5.11.2
> --------------------------------------------------
>
> Key: PHOENIX-4372
> URL: https://issues.apache.org/jira/browse/PHOENIX-4372
> Project: Phoenix
> Issue Type: Task
> Affects Versions: 4.13.0
> Reporter: Pedro Boado
> Assignee: Pedro Boado
> Priority: Minor
> Labels: cdh
> Attachments: PHOENIX-4372-v2.patch, PHOENIX-4372.patch
>
>
> Changes required on top of branch 4.13-HBase-1.2 for creating a parcel of
> Apache Phoenix 4.13.0 for CDH 5.11.2 .
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)