Nathan M created SPARK-5543:
-------------------------------

             Summary: Remove unused import JsonUtil from from 
org.apache.spark.util.JsonProtocol.scala which fails builds with older versions 
of hadoop-core
                 Key: SPARK-5543
                 URL: https://issues.apache.org/jira/browse/SPARK-5543
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.3.0
            Reporter: Nathan M
            Priority: Minor


There is an unused import in org.apache.spark.util.JsonProtocol.scala 

`import org.apache.hadoop.hdfs.web.JsonUtil`

This which fails builds with older versions of hadoop-core. In particular 
building mapr3 causes a compile error;

[ERROR] 
/var/lib/jenkins/workspace/cse-Apache-Spark/core/src/main/scala/org/apache/spark/util/JsonProtocol.scala:35:
 object web is not a member of package org.apache.hadoop.hdfs
[ERROR] import org.apache.hadoop.hdfs.web.JsonUtil

This import is unused. It was introduced in PR #4029 
https://github.com/apache/spark/pull/4029 as a part of JIRA SPARK-5231 




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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to