Philipp Nolte created GIRAPH-969:
------------------------------------

             Summary: STATIC_SASL_SYMBOL munge results in compilation errors 
for yarn profile with hadoop > 2.3.0
                 Key: GIRAPH-969
                 URL: https://issues.apache.org/jira/browse/GIRAPH-969
             Project: Giraph
          Issue Type: Bug
    Affects Versions: 1.1.0
         Environment: Hadoop 2.3.0 and higher
            Reporter: Philipp Nolte


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 

{noformat}
mvn clean package -Phadoop_yarn -Dhadoop.version=2.5.1
{noformat}

{noformat}
[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
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to