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

PXF fails to compile on Java 7

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0.0
    • Component/s: PXF
    • Labels:
      None

      Description

      > Task :pxf-service:compileTestJava FAILED
       
      /tmp/build/04bb138f/pxf_src/pxf/pxf-service/src/test/java/org/apache/hawq/pxf/service/utilities/SecuredHDFSTest.java:55: error: no suitable method found for addToken(Object)
       
      verify(ugi, never()).addToken(any());
       
      ^
       
      method UserGroupInformation.addToken(Text,Token<? extends TokenIdentifier>) is not applicable
       
      (actual and formal argument lists differ in length)
       
      method UserGroupInformation.addToken(Token<? extends TokenIdentifier>) is not applicable
       
      (actual argument Object cannot be converted to Token<? extends TokenIdentifier> by method invocation conversion)
       
      1 error
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                frankgh Francisco Guerrero
                Reporter:
                frankgh Francisco Guerrero
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: