1414 * See the License for the specific language governing permissions and
1515 * limitations under the License.
1616 */
17- package org .apache .spark .streaming .storage
17+ package org .apache .spark .streaming .util
1818
1919import java .nio .ByteBuffer
2020
@@ -25,18 +25,17 @@ import org.apache.hadoop.conf.Configuration
2525import org .apache .hadoop .fs .Path
2626import org .apache .hadoop .fs .permission .FsPermission
2727import org .apache .spark .Logging
28- import org .apache .spark .streaming .storage .WriteAheadLogManager ._
29- import org .apache .spark .streaming .util .{Clock , SystemClock }
3028import org .apache .spark .util .Utils
29+ import WriteAheadLogManager ._
3130
3231/**
3332 * This class manages write ahead log files.
3433 * - Writes records (bytebuffers) to periodically rotating log files.
3534 * - Recovers the log files and the reads the recovered records upon failures.
3635 * - Cleans up old log files.
3736 *
38- * Uses [[org.apache.spark.streaming.storage .WriteAheadLogWriter ]] to write
39- * and [[org.apache.spark.streaming.storage .WriteAheadLogReader ]] to read.
37+ * Uses [[org.apache.spark.streaming.util .WriteAheadLogWriter ]] to write
38+ * and [[org.apache.spark.streaming.util .WriteAheadLogReader ]] to read.
4039 *
4140 *@param logDirectory Directory when rotating log files will be created.
4241 * @param hadoopConf Hadoop configuration for reading/writing log files.
@@ -199,7 +198,7 @@ private[streaming] class WriteAheadLogManager(
199198 }
200199}
201200
202- private [storage ] object WriteAheadLogManager {
201+ private [util ] object WriteAheadLogManager {
203202
204203 case class LogInfo (startTime : Long , endTime : Long , path : String )
205204
0 commit comments