Hadoop Common
  1. Hadoop Common
  2. HADOOP-10167

Mark hadoop-common source as UTF-8 in Maven pom files / refactoring

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.6-alpha
    • Fix Version/s: 2.3.0
    • Component/s: build
    • Labels:
    • Environment:

      Fedora 19 x86-64

      Description

      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).

      1. HADOOP-10167-1.patch
        3 kB
        Mikhail Antonov

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Mikhail Antonov
              Reporter:
              Mikhail Antonov
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development