hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10167) Mark hadoop-common source as UTF-8 in Maven pom files / refactoring
Date Mon, 16 Dec 2013 11:51:07 GMT

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

Mikhail Antonov commented on HADOOP-10167:

Thanks for review!

Currently, hadoop-main pom doesn't define encodings, but few of the subprojects do in their
own POMs. Since there is probably no good reason for some of the other subprojects to not
use UTF-8, I've actually added the encoding settings into hadoop-main POM (under hadoop-common),
and removed from all other places.

> Mark hadoop-common source as UTF-8 in Maven pom files / refactoring
> -------------------------------------------------------------------
>                 Key: HADOOP-10167
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10167
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 2.0.6-alpha
>         Environment: Fedora 19 x86-64
>            Reporter: Mikhail Antonov
>              Labels: build
>         Attachments: HADOOP-10167-1.patch
> While looking at BIGTOP-831, turned out that the way Bigtop calls maven build / site:site
generation causes the errors like this:
> [ERROR] Exit code: 1 - /home/user/jenkins/workspace/BigTop-RPM/label/centos-6-x86_64-HAD-1-buildbot/bigtop-repo/build/hadoop/rpm/BUILD/hadoop-2.0.2-alpha-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/metrics2/source/JvmMetricsInfo.java:31:
error: unmappable character for encoding ANSI_X3.4-1968
> [ERROR] JvmMetrics("JVM related metrics etc."), // record info??
> Making the whole hadoop-common to use UTF-8 fixes that and seems in general good thing
to me.
> Attaching first version of patch for review.
> Original issue was observed on openjdk 7 (x86-64).

This message was sent by Atlassian JIRA

View raw message