Skip to content

Commit

Permalink
metastore concurrency fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
marmbrus committed Aug 19, 2014
1 parent db44a30 commit 93d0f64
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ private[hive] case class MetastoreRelation
// org.apache.hadoop.hive.ql.metadata.Partition will cause a NotSerializableException
// which indicates the SerDe we used is not Serializable.

@transient lazy val hiveQlTable = new Table(table)
@transient val hiveQlTable = new Table(table)

def hiveQlPartitions = partitions.map { p =>
@transient val hiveQlPartitions = partitions.map { p =>
new Partition(hiveQlTable, p)
}

Expand Down

0 comments on commit 93d0f64

Please sign in to comment.