Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11316

"mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.1, 2.7.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      The command fails because following files include non-ascii characters.

      • ComparableVersion.java
      • CommonConfigurationKeysPublic.java
      • ComparableVersion.java
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java:13: error: unmappable character for encoding ASCII
        [javadoc] //        author <a href="mailto:hboutemy@apache.org">Herv?? Boutemy</a>
        [javadoc]                                                           ^
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java:13: error: unmappable character for encoding ASCII
        [javadoc] //        author <a href="mailto:hboutemy@apache.org">Herv?? Boutemy</a>
      
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java:318: error: unmappable character for encoding ASCII
        [javadoc]   //  <!--- KMSClientProvider configurations ???>
        [javadoc]                                              ^
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java:318: error: unmappable character for encoding ASCII
        [javadoc]   //  <!--- KMSClientProvider configurations ???>
        [javadoc]                                               ^
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java:318: error: unmappable character for encoding ASCII
        [javadoc] Loading source files for package org.apache.hadoop.fs.crypto...
        [javadoc]   //  <!--- KMSClientProvider configurations ???>
      
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java:13: error: unmappable character for encoding ASCII
        [javadoc] //        author <a href="mailto:hboutemy@apache.org">Herv?? Boutemy</a>
        [javadoc]                                                           ^
        [javadoc] /mnt/build/hadoop-2.6.0-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java:13: error: unmappable character for encoding ASCII
        [javadoc] //        author <a href="mailto:hboutemy@apache.org">Herv?? Boutemy</a>
      

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk #2039 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2039/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2039 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2039/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Hdfs-trunk #2020 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2020/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Hdfs-trunk #2020 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2020/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #85 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/85/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #85 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/85/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #89 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/89/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #89 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/89/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #822 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/822/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #822 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/822/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #88 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/88/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #88 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/88/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java hadoop-common-project/hadoop-common/CHANGES.txt
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #6951 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6951/)
          HADOOP-11316. "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java
          • hadoop-common-project/hadoop-common/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #6951 (See https://builds.apache.org/job/Hadoop-trunk-Commit/6951/ ) HADOOP-11316 . "mvn package -Pdist,docs -DskipTests -Dtar" fails because of non-ascii characters. (ozawa) (ozawa: rev 9850e1584b7bb47c39d777d6fc4931dd54fbaea7) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/ComparableVersion.java hadoop-common-project/hadoop-common/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/CommonConfigurationKeysPublic.java
          Hide
          ozawa Tsuyoshi Ozawa added a comment -

          Committing this to trunk and branch-2. Thanks Steve for your review.

          Show
          ozawa Tsuyoshi Ozawa added a comment - Committing this to trunk and branch-2. Thanks Steve for your review.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          +1

          Show
          stevel@apache.org Steve Loughran added a comment - +1
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12694918/HADOOP-11316.1.patch
          against trunk revision ee1e06a.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5512//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5512//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12694918/HADOOP-11316.1.patch against trunk revision ee1e06a. +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/5512//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/5512//console This message is automatically generated.
          Hide
          ozawa Tsuyoshi Ozawa added a comment -

          Attaching first patch.

          After fixing this problem, I faced HADOOP-11377. Should I fix HADOOP-11377 here? I cannot find any workarounds to avoid the problem yet.

          Show
          ozawa Tsuyoshi Ozawa added a comment - Attaching first patch. After fixing this problem, I faced HADOOP-11377 . Should I fix HADOOP-11377 here? I cannot find any workarounds to avoid the problem yet.
          Hide
          ozawa Tsuyoshi Ozawa added a comment -

          Yes, let me fix this problem.

          Show
          ozawa Tsuyoshi Ozawa added a comment - Yes, let me fix this problem.
          Hide
          stevel@apache.org Steve Loughran added a comment -

          Looks like some invalid chars have got in, one in a username.,

          others elsewhere

          hboutemy credit lines should be cut; current ASF policy is "no authors"

          Line 318 is a — instead of – for the end of an XML comment in a javac comment. Again, trivial to cleanup

          do you want to submit a patch?

          Show
          stevel@apache.org Steve Loughran added a comment - Looks like some invalid chars have got in, one in a username., others elsewhere hboutemy credit lines should be cut; current ASF policy is "no authors" Line 318 is a — instead of – for the end of an XML comment in a javac comment. Again, trivial to cleanup do you want to submit a patch?
          Hide
          ozawa Tsuyoshi Ozawa added a comment -

          Arun C Murthy I passed -Pdist too, but it still fails. I'll check the reason after the release of Hadoop 2.6.0

          Show
          ozawa Tsuyoshi Ozawa added a comment - Arun C Murthy I passed -Pdist too, but it still fails. I'll check the reason after the release of Hadoop 2.6.0
          Hide
          acmurthy Arun C Murthy added a comment -

          I think you have to pass along -Pdist too… afaik that is how the Jenkins we use for building release artifacts operates.

          Show
          acmurthy Arun C Murthy added a comment - I think you have to pass along -Pdist too… afaik that is how the Jenkins we use for building release artifacts operates.

            People

            • Assignee:
              ozawa Tsuyoshi Ozawa
              Reporter:
              ozawa Tsuyoshi Ozawa
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development