From 15bd73627e04591fd13667b4838c9098342db965 Mon Sep 17 00:00:00 2001 From: Sean Owen Date: Sat, 2 Jan 2016 13:15:53 +0000 Subject: [SPARK-12481][CORE][STREAMING][SQL] Remove usage of Hadoop deprecated APIs and reflection that supported 1.x Remove use of deprecated Hadoop APIs now that 2.2+ is required Author: Sean Owen Closes #10446 from srowen/SPARK-12481. --- scalastyle-config.xml | 8 -------- 1 file changed, 8 deletions(-) (limited to 'scalastyle-config.xml') diff --git a/scalastyle-config.xml b/scalastyle-config.xml index 16d18b3328..ee855ca0e0 100644 --- a/scalastyle-config.xml +++ b/scalastyle-config.xml @@ -187,14 +187,6 @@ This file is divided into 3 sections: scala.collection.JavaConverters._ and use .asScala / .asJava methods - - - ^getConfiguration$|^getTaskAttemptID$ - Instead of calling .getConfiguration() or .getTaskAttemptID() directly, - use SparkHadoopUtil's getConfigurationFromJobContext() and getTaskAttemptIDFromTaskAttemptContext() methods. - - - -- cgit v1.2.3