crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Micah Whitacre (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CRUNCH-550) Uplift HBase components off deprecated APIs
Date Sun, 26 Jul 2015 21:36:04 GMT

     [ https://issues.apache.org/jira/browse/CRUNCH-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Micah Whitacre updated CRUNCH-550:
----------------------------------
    Attachment: CRUNCH-550.patch

Should eliminate most/all of the use of deprecated APIs inside of the crunch-hbase project.

There is one case in HFileSource.getSizeInternal(...) where it is using a FileStatus.isDir()
method instead of isDirectory() and changing that causes tests to break.  I'll dig into that
a little more.

> Uplift HBase components off deprecated APIs
> -------------------------------------------
>
>                 Key: CRUNCH-550
>                 URL: https://issues.apache.org/jira/browse/CRUNCH-550
>             Project: Crunch
>          Issue Type: Improvement
>          Components: IO
>            Reporter: Micah Whitacre
>            Assignee: Micah Whitacre
>         Attachments: CRUNCH-550.patch
>
>
> There are a few instances inside of the HBase classes that make use of deprecated APIs
or do not support patterns that are currently suggested in HBase APIs.
> Specifically the main difference is to use items like TableName and Table in lieu of
strings or HTable.  There were a few other deprecations in HFileInputFormat related to the
HFileScanner.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message