Uploaded image for project: 'Giraph (Retired)'
  1. Giraph (Retired)
  2. GIRAPH-969

STATIC_SASL_SYMBOL munge results in compilation errors for yarn profile with hadoop > 2.3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • None
    • None
    • Hadoop 2.3.0 and higher

    Description

      The SaslRpcServer.SALS_PROPS field was removed in Hadoop 2.3.0 (see https://issues.apache.org/jira/browse/HADOOP-10451).

      The hadoop_yarn profile uses the STATIC_SASL munge symbol and makes Giraph try to use the SALS_PROPS field.

      This results in a compilation error when running

      mvn clean package -Phadoop_yarn -Dhadoop.version=2.5.1
      
      [ERROR] giraph-core/target/munged/main/org/apache/giraph/comm/netty/SaslNettyClient.java:[84,68]
      cannot find symbol
        symbol:   variable SASL_PROPS
        location: class org.apache.hadoop.security.SaslRpcServer
      

      Attachments

        1. GIRAPH-969-1.patch
          0.6 kB
          Eli Reisman

        Activity

          People

            Unassigned Unassigned
            ptnplanet Philipp Nolte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: