hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14238) [Umbrella] Rechecking Guava's object is not exposed to user-facing API
Date Thu, 14 Sep 2017 07:46:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165906#comment-16165906
] 

Andrew Wang commented on HADOOP-14238:
--------------------------------------

Okay, thanks Bharat. I wrote a little shell script possibly useful with apilyzer to generate
a regex for fully-qualified classnames that mention "InterfaceAudience.Public":

{code}
echo -n "("
for f in `ag --java -l InterfaceAudience.Public`; do
    package=$(grep package "$f" | cut -d " " -f 2 | tr -d ";")
    classname=$(basename "$f" ".java")
    echo -n $package.$classname"|"
done
echo -n ")"
{code}

I couldn't get apilyzer to work after playing with it for about an hour. A different tool
might still be better.

> [Umbrella] Rechecking Guava's object is not exposed to user-facing API
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-14238
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14238
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Tsuyoshi Ozawa
>            Assignee: Bharat Viswanadham
>            Priority: Blocker
>
> This is reported by [~hitesh] on HADOOP-10101.
> At least, AMRMClient#waitFor takes Guava's Supplier instance as an instance.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message