Skip to content

Commit

Permalink
HIVE-9361 - Intermittent NPE in SessionHiveMetaStoreClient.alterTempT…
Browse files Browse the repository at this point in the history
…able

git-svn-id: https://svn.apache.org/repos/asf/hive/trunk@1654854 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ekoifman committed Jan 26, 2015
1 parent 828f119 commit 5eaf74b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ private void alterTempTable(String dbname, String tbl_name,

org.apache.hadoop.hive.metastore.api.Table newtCopy = deepCopyAndLowerCaseTable(newt);
MetaStoreUtils.updateUnpartitionedTableStatsFast(newtCopy,
wh.getFileStatusesForSD(newtCopy.getSd()), false, true);
getWh().getFileStatusesForSD(newtCopy.getSd()), false, true);
Table newTable = new Table(newtCopy);
String newDbName = newTable.getDbName();
String newTableName = newTable.getTableName();
Expand Down

0 comments on commit 5eaf74b

Please sign in to comment.