Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-894

Pig compilation fails on RPM systems on Bigtop trunk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.6.0
    • 1.0.0
    • debian, rpm
    • None

    Description

      BIGTOP-870 bumped up version of Pig from 0.10 to 0.11 for Bigtop 0.6 release. However, while that seems to build Pig fine on Debian based systems, Pig compilation fails on RPM based systems with an error like:

      04:27:41  compile:
      04:27:41       [echo]  *** Compiling Pig UDFs ***
      04:27:41      [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/build.xml:93: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
      04:27:41      [javac] Compiling 158 source files to /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/build/classes
      04:27:41      [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
      04:27:41      [javac]  * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
      04:27:41      [javac]                                                ^
      04:27:41      [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
      04:27:41      [javac]  * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
      04:27:41      [javac]                                                 ^
      04:27:41      [javac] /mnt/jenkins/workspace/Bigtop-trunk-Pig/label/centos6/build/pig/rpm/BUILD/pig-0.11.0/contrib/piggybank/java/src/main/java/org/apache/pig/piggybank/evaluation/IsInt.java:31: unmappable character for encoding ASCII
      04:27:41      [javac]  * Note this function checks for Integer range ???2,147,483,648 to 2,147,483,647.
      04:27:41      [javac]                                                  ^
      04:27:42      [javac] 3 errors
      

      Attachments

        1. 0001-BIGTOP-894-Use-C.UTF-8-locale.patch
          1 kB
          Olaf Flebbe
        2. BIGTOP-894.1.patch
          10 kB
          Mark Grover
        3. BIGTOP-894.2.patch
          1 kB
          Mark Grover

        Issue Links

          Activity

            People

              mgrover Mark Grover
              mgrover Mark Grover
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: