Skip to content

Commit

Permalink
fix test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
windpiger committed Mar 1, 2017
1 parent f83d81d commit 2456a94
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,13 @@ class HadoopTableReader(

// Create local references to member variables, so that the entire `this` object won't be
// serialized in the closure below.
val localTableDesc = tableDesc
val broadcastedHadoopConf = _broadcastedHadoopConf

val tablePath = hiveTable.getPath
val inputPathStr = applyFilterIfNeeded(tablePath, filterOpt)

val locationPath = new Path(inputPathStr)
val fs = locationPath.getFileSystem(broadcastedHadoopConf.value.value)
val fs = locationPath.getFileSystem(_broadcastedHadoopConf.value.value)

// if the location of the table which is not created by 'stored by' does not exist,
// return an empty RDD
Expand Down

0 comments on commit 2456a94

Please sign in to comment.