[
https://issues.apache.org/jira/browse/HBASE-7973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591115#comment-13591115
]
Ted Yu commented on HBASE-7973:
-------------------------------
Can you use the following method in place of createWriter() ?
{code}
public Writer create() throws IOException {
...
return createWriter(fs, path, ostream, blockSize,
compression, encoder, comparator, checksumType, bytesPerChecksum);
}
{code}
You can set parameters this way:
{code}
public WriterFactory withChecksumType(ChecksumType checksumType) {
Preconditions.checkNotNull(checksumType);
this.checksumType = checksumType;
return this;
}
{code}
> API changes between 0.92.1 and 0.94.2 breaking downstream API changes
> ---------------------------------------------------------------------
>
> Key: HBASE-7973
> URL: https://issues.apache.org/jira/browse/HBASE-7973
> Project: HBase
> Issue Type: Bug
> Components: HFile
> Affects Versions: 0.92.1
> Reporter: Konstantin Boudnik
>
> {{HFile.getWriterFactory(Configuration)}} has migrated to
> {{HFile.getWriterFactoryNoCache(Configuration)}} and
> {{HFile.WriterFactory.createWriter(...)}} is now protected in
> {{HFile.WriterFactory}}
> As the result, Bigtop integration tests won't compile.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira