Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1585

Javadoc generation errors for PXF on Java 7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0.0-incubating
    • Component/s: PXF
    • Labels:
      None

      Description

      ./gradlew javadoc aggregateJavadocs
      :pxf:compileJava UP-TO-DATE
      :pxf:processResources UP-TO-DATE
      :pxf:classes UP-TO-DATE
      :pxf:javadoc UP-TO-DATE
      :pxf-api:compileJava
      :pxf-api:processResources UP-TO-DATE
      :pxf-api:classes
      :pxf-api:javadoc
      :pxf-api:jar
      :pxf-hbase:compileJava
      :pxf-hbase:processResources UP-TO-DATE
      :pxf-hbase:classes
      :pxf-hbase:javadoc
      :pxf-hdfs:compileJava
      :pxf-hdfs:processResources UP-TO-DATE
      :pxf-hdfs:classes
      :pxf-hdfs:javadoc
      :pxf-hdfs:jar
      :pxf-service:generateSources
      :pxf-service:compileJava
      :pxf-service:processResources UP-TO-DATE
      :pxf-service:classes
      :pxf-service:jar
      :pxf-hive:compileJava
      :pxf-hive:processResources UP-TO-DATE
      :pxf-hive:classes
      :pxf-service:javadoc UP-TO-DATE
      :pxf-hive:javadoc
      /root/pxf_src/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java:249: warning - Tag @link: reference not found: Metadata.Item
      /root/pxf_src/pxf-hive/src/main/java/org/apache/hawq/pxf/plugins/hive/utilities/HiveUtilities.java:267: warning - Tag @link: reference not found: Metadata.Item
      2 warnings
      :pxf-jdbc:compileJava
      :pxf-jdbc:processResources UP-TO-DATE
      :pxf-jdbc:classes
      :pxf-jdbc:javadoc
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:295: error: unmappable character for encoding ASCII
                      //validate???the length of metadata == 16 (long)
                                ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:295: error: unmappable character for encoding ASCII
                      //validate???the length of metadata == 16 (long)
                                 ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:295: error: unmappable character for encoding ASCII
                      //validate???the length of metadata == 16 (long)
                                  ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                 ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                  ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                                              ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                                               ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPartitionFragmenter.java:307: error: unmappable character for encoding ASCII
                      //validate???the length of metadata ==8 ???int)
                                                                ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPlugin.java:48: error: unmappable character for encoding ASCII
          //database type???from DatabaseMetaData.getDatabaseProductName()
                         ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPlugin.java:48: error: unmappable character for encoding ASCII
          //database type???from DatabaseMetaData.getDatabaseProductName()
                          ^
      /root/pxf_src/pxf-jdbc/src/main/java/org/apache/hawq/pxf/plugins/jdbc/JdbcPlugin.java:48: error: unmappable character for encoding ASCII
          //database type???from DatabaseMetaData.getDatabaseProductName()
                           ^
      12 errors
      :pxf-jdbc:javadoc FAILED
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':pxf-jdbc:javadoc'.
      > Javadoc generation failed. Generated Javadoc options file (useful for troubleshooting): '/root/pxf_src/pxf-jdbc/build/tmp/javadoc/javadoc.options'
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      BUILD FAILED
      
      Total time: 28.838 secs
      

        Attachments

          Activity

            People

            • Assignee:
              espino Ed Espino
              Reporter:
              odiachenko Oleksandr Diachenko
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: