[
https://issues.apache.org/jira/browse/HDDS-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934768#comment-16934768
]
Hudson commented on HDDS-2157:
------------------------------
FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #17346 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/17346/])
HDDS-2157. checkstyle: print filenames relative to project root (#1485)
(aengineer: rev 53637301d10151a0bd9a002b7caaba927e8a67b8)
* (edit) hadoop-ozone/dev-support/checks/checkstyle.sh
> checkstyle: print filenames relative to project root
> ----------------------------------------------------
>
> Key: HDDS-2157
> URL: https://issues.apache.org/jira/browse/HDDS-2157
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: build
> Reporter: Doroszlai, Attila
> Assignee: Doroszlai, Attila
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Currently {{checkstyle.sh}} prints files with violations using full path, eg:
> {noformat:title=https://github.com/elek/ozone-ci/blob/master/trunk/trunk-nightly-20190920-4x9x8/checkstyle/summary.txt}
> ...
> /workdir/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmMultipartUploadList.java
> 23: Unused import - org.apache.hadoop.hdds.client.ReplicationType.
> 24: Unused import -
> org.apache.hadoop.hdds.protocol.proto.HddsProtos.ReplicationFactor.
> /workdir/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmMultipartUploadListParts.java
> 23: Unused import -
> org.apache.hadoop.hdds.protocol.proto.HddsProtos.ReplicationType.
> /workdir/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmMultipartKeyInfo.java
> 19: Unused import - org.apache.hadoop.hdds.client.ReplicationFactor.
> 20: Unused import - org.apache.hadoop.hdds.client.ReplicationType.
> 26: Unused import - java.time.Instant.
> ...
> {noformat}
> {{/workdir}} is specific to the CI environment. Similarly, local checkout
> directory is specific to each developer.
> Printing only path relative to project root ({{/workdir}} here) would make
> handling these paths easier (eg. reporting errors in JIRA or opening files
> locally for editing).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]