@Override protected void initializeOp(Configuration hconf) throws HiveException { super.initializeOp(hconf); metadataValueTag = new int[numAliases]; for (int pos = 0; pos < numAliases; pos++) { metadataValueTag[pos] = -1; } metadataKeyTag = -1; bigTableAlias = order[posBigTable]; mapJoinTables = new HashMap<Byte, HashMapWrapper<AbstractMapJoinKey, MapJoinObjectValue>>(); rowContainerMap = new HashMap<Byte, MapJoinRowContainer<ArrayList<Object>>>(); // initialize the hash tables for other tables for (int pos = 0; pos < numAliases; pos++) { if (pos == posBigTable) { continue; } HashMapWrapper<AbstractMapJoinKey, MapJoinObjectValue> hashTable = new HashMapWrapper<AbstractMapJoinKey, MapJoinObjectValue>(); mapJoinTables.put(Byte.valueOf((byte) pos), hashTable); MapJoinRowContainer<ArrayList<Object>> rowContainer = new MapJoinRowContainer<ArrayList<Object>>(); rowContainerMap.put(Byte.valueOf((byte) pos), rowContainer); } hashTblInitedOnce = false; }