### Eclipse Workspace Patch 1.0 #P hive_trunk Index: ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java =================================================================== --- ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java (revision 1630697) +++ ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java (working copy) @@ -1830,6 +1830,11 @@ // test code path jc = new JobConf(hconf); } + if ( conf == null){ + LOG.error("FileSinkDesc configuration is empty"); + throw new NullPointException("FileSinkDesc configuration is empty"); + } + HiveOutputFormat hiveOutputFormat = null; Class outputClass = null; boolean isCompressed = conf.getCompressed();