hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viacheslav Seledkin (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-151) HiveQL Query execution bug: java.lang.NullPointerException
Date Wed, 10 Dec 2008 14:38:44 GMT

     [ https://issues.apache.org/jira/browse/HIVE-151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Seledkin updated HIVE-151:
-------------------------------------

    Description: 
Executing a query 
------------------------------------- query start ----------------------------------------------------
SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object 
FROM 
( 
	SELECT t1.subject 
	FROM triples t1  
	WHERE 
		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
	AND  
		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' 
) t11  
JOIN  
( 
	SELECT t2.subject , t2.object 
	FROM triples t2  
	WHERE  
			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' 
) t22 
ON (t11.subject=t22.subject)  		
JOIN  
( 
	SELECT t3.subject , t3.object  
	FROM triples t3  
	WHERE  
			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'  
				
) t33
ON (t11.subject=t33.object) 
JOIN  
( 
	SELECT t4.subject  
	FROM triples t4  
	WHERE  
		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
	AND  
		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' 
				
) t44
ON (t44.subject=t33.subject) 
JOIN  
( 
	SELECT t5.subject, t5.object
	FROM triples t5  
	WHERE  
		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'  
) t55
ON (t55.subject=t44.subject) 
JOIN  
( 
	SELECT t6.subject, t6.object
	FROM triples t6  
	WHERE  
		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  
) t66
ON (t66.subject=t55.object)
------------------------------------- query end ----------------------------------------------------
on table 
------------------------------------- table start ----------------------------------------------------
CREATE TABLE triples (subject string, predicate string, object string)
------------------------------------- table end -----------------------------------------------------

gives the foolowing output 
------------------------------------ console output ----------------------------------------------
 INFO [main] (Driver.java:156) - Starting command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
 INFO [main] (ParseDriver.java:249) - Parsing command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
 INFO [main] (ParseDriver.java:263) - Parse Completed
 INFO [main] (HiveMetaStore.java:126) - 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
 INFO [main] (ObjectStore.java:124) - ObjectStore, initialize called
 INFO [main] (ObjectStore.java:146) - found resource jpox.properties at file:/home/vseledkin/workspace/HiveDrv/bin/jpox.properties
 WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.equinox.registry" but it cannot be resolved
 WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.core.runtime" but it cannot be resolved
 INFO [main] (Log4JLogger.java:79) - ================= Persistence Configuration ===============
 INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory - Vendor: "JPOX"  Version: "1.2.2"
 INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory initialised for datastore URL="jdbc:derby:;databaseName=metastore_db;create=true" driver="org.apache.derby.jdbc.EmbeddedDriver" userName="APP"
 INFO [main] (Log4JLogger.java:79) - ===========================================================
 INFO [main] (Log4JLogger.java:79) - Initialising Catalog "", Schema "APP" using "SchemaTable" auto-start option
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MDatabase since it was managed previously
 INFO [main] (Log4JLogger.java:79) - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
 WARN [main] (Log4JLogger.java:98) - MetaData Parser encountered an error in file "jar:file:/home/vseledkin/workspace/hive/build/hive_metastore.jar!/package.jdo" at line 282, column 13 : The content of element type "class" must match "(extension*,implements*,datastore-identity?,primary-key?,inheritance?,version?,join*,foreign-key*,index*,unique*,column*,field*,property*,query*,fetch-group*,extension*)". - Please check your specification of DTD and the validity of the MetaData XML that you have specified.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MStorageDescriptor since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MSerDeInfo since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MTable since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MPartition since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MDatabase [Table : DBS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MSerDeInfo [Table : SERDES, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MStorageDescriptor [Table : SDS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MTable [Table : TBLS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MPartition [Table : PARTITIONS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MSerDeInfo.parameters [Table : SERDE_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.parameters [Table : PARTITION_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.values [Table : PARTITION_KEY_VALS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.parameters [Table : TABLE_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.partitionKeys [Table : PARTITION_KEYS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.bucketCols [Table : BUCKETING_COLS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.cols [Table : COLUMNS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.parameters [Table : SD_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.sortCols [Table : SORT_COLS]
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 1 index(es) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Catalog "", Schema "APP" initialised - managing 14 classes
 INFO [main] (Log4JLogger.java:79) - >> Found StoreManager org.jpox.store.rdbms.RDBMSManager
 INFO [main] (ObjectStore.java:110) - Initialized ObjectStore
 INFO [main] (SemanticAnalyzer.java:3086) - Starting Semantic Analysis
 INFO [main] (SemanticAnalyzer.java:3088) - Completed phase 1 of Semantic Analysis
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:3091) - Completed getting MetaData in Semantic Analysis
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (SemanticAnalyzer.java:3107) - Completed partition pruning
 INFO [main] (SemanticAnalyzer.java:3111) - Completed sample pruning
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string temporarycol0, string temporarycol1, string temporarycol2, string temporarycol3, string temporarycol4}
 INFO [main] (SemanticAnalyzer.java:3120) - Completed plan generation
 INFO [main] (Driver.java:173) - Semantic Analysis Completed
Total MapReduce jobs = 3
 INFO [main] (SessionState.java:254) - Total MapReduce jobs = 3
Number of reducers = 1
 INFO [main] (SessionState.java:254) - Number of reducers = 1
In order to change numer of reducers use:
 INFO [main] (SessionState.java:254) - In order to change numer of reducers use:
  set mapred.reduce.tasks = <number>
 INFO [main] (SessionState.java:254) -   set mapred.reduce.tasks = <number>
 WARN [main] (ExecDriver.java:109) - Number of reduce tasks not specified. Defaulting to jobconf value of: 1
 INFO [main] (ExecDriver.java:238) - Adding input file /user/hive/warehouse/triples
 WARN [main] (JobClient.java:547) - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
 INFO [main] (FileInputFormat.java:181) - Total input paths to process : 1
Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
 INFO [main] (SessionState.java:254) - Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
 INFO [main] (SessionState.java:254) - Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
 map = 0%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 0%,  reduce =0%
 map = 50%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 50%,  reduce =0%
 map = 100%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 100%,  reduce =0%
 map = 100%,  reduce =100%
 INFO [main] (SessionState.java:254) -  map = 100%,  reduce =100%
ERROR [main] (SessionState.java:263) - Ended Job = job_200812091129_0144 with errors
Ended Job = job_200812091129_0144 with errors
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
ERROR [main] (SessionState.java:263) - FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
------------------------------------ console output end ----------------------------------------
and the stack trace in hadoop logs 
------------------------------------ stack trace ---------------------------------------------------
java.lang.NullPointerException
	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:81)
	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:337)
	at org.apache.hadoop.mapred.Child.main(Child.java:155)

------------------------------------ stack trace end ---------------------------------------------

  was:
Executing a query 
------------------------------------- query start ----------------------------------------------------
SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object 
FROM 
( 
	SELECT t1.subject 
	FROM triples t1  
	WHERE 
		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
	AND  
		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' 
) t11  
JOIN  
( 
	SELECT t2.subject , t2.object 
	FROM triples t2  
	WHERE  
			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' 
) t22 
ON (t11.subject=t22.subject)  		
JOIN  
( 
	SELECT t3.subject , t3.object  
	FROM triples t3  
	WHERE  
			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'  
				
) t33
ON (t11.subject=t33.object) 
JOIN  
( 
	SELECT t4.subject  
	FROM triples t4  
	WHERE  
		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
	AND  
		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' 
				
) t44
ON (t44.subject=t33.subject) 
JOIN  
( 
	SELECT t5.subject, t5.object as obh
	FROM triples t5  
	WHERE  
		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'  
) t55
ON (t55.subject=t44.subject) 
JOIN  
( 
	SELECT t6.subject, t6.object
	FROM triples t6  
	WHERE  
		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  
) t66
ON (t66.subject=t55.object)
------------------------------------- query end ----------------------------------------------------
on table 
------------------------------------- table start ----------------------------------------------------
CREATE TABLE triples (subject string, predicate string, object string)
------------------------------------- table end -----------------------------------------------------

gives the foolowing output 
------------------------------------ console output ----------------------------------------------
 INFO [main] (Driver.java:156) - Starting command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
 INFO [main] (ParseDriver.java:249) - Parsing command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
 INFO [main] (ParseDriver.java:263) - Parse Completed
 INFO [main] (HiveMetaStore.java:126) - 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
 INFO [main] (ObjectStore.java:124) - ObjectStore, initialize called
 INFO [main] (ObjectStore.java:146) - found resource jpox.properties at file:/home/vseledkin/workspace/HiveDrv/bin/jpox.properties
 WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.equinox.registry" but it cannot be resolved
 WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.core.runtime" but it cannot be resolved
 INFO [main] (Log4JLogger.java:79) - ================= Persistence Configuration ===============
 INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory - Vendor: "JPOX"  Version: "1.2.2"
 INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory initialised for datastore URL="jdbc:derby:;databaseName=metastore_db;create=true" driver="org.apache.derby.jdbc.EmbeddedDriver" userName="APP"
 INFO [main] (Log4JLogger.java:79) - ===========================================================
 INFO [main] (Log4JLogger.java:79) - Initialising Catalog "", Schema "APP" using "SchemaTable" auto-start option
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MDatabase since it was managed previously
 INFO [main] (Log4JLogger.java:79) - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
 WARN [main] (Log4JLogger.java:98) - MetaData Parser encountered an error in file "jar:file:/home/vseledkin/workspace/hive/build/hive_metastore.jar!/package.jdo" at line 282, column 13 : The content of element type "class" must match "(extension*,implements*,datastore-identity?,primary-key?,inheritance?,version?,join*,foreign-key*,index*,unique*,column*,field*,property*,query*,fetch-group*,extension*)". - Please check your specification of DTD and the validity of the MetaData XML that you have specified.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MStorageDescriptor since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MSerDeInfo since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MTable since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MPartition since it was managed previously
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MDatabase [Table : DBS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MSerDeInfo [Table : SERDES, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MStorageDescriptor [Table : SDS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MTable [Table : TBLS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MPartition [Table : PARTITIONS, InheritanceStrategy : new-table]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MSerDeInfo.parameters [Table : SERDE_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.parameters [Table : PARTITION_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.values [Table : PARTITION_KEY_VALS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.parameters [Table : TABLE_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.partitionKeys [Table : PARTITION_KEYS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.bucketCols [Table : BUCKETING_COLS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.cols [Table : COLUMNS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.parameters [Table : SD_PARAMS]
 INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.sortCols [Table : SORT_COLS]
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 1 index(es) for table SERDES
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table PARTITIONS
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table TBLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SDS
 INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table DBS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SORT_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table TABLE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table COLUMNS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEYS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SD_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEY_VALS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SERDE_PARAMS
 INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table BUCKETING_COLS
 INFO [main] (Log4JLogger.java:79) - Catalog "", Schema "APP" initialised - managing 14 classes
 INFO [main] (Log4JLogger.java:79) - >> Found StoreManager org.jpox.store.rdbms.RDBMSManager
 INFO [main] (ObjectStore.java:110) - Initialized ObjectStore
 INFO [main] (SemanticAnalyzer.java:3086) - Starting Semantic Analysis
 INFO [main] (SemanticAnalyzer.java:3088) - Completed phase 1 of Semantic Analysis
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:3091) - Completed getting MetaData in Semantic Analysis
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
 INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
 INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
 INFO [main] (SemanticAnalyzer.java:3107) - Completed partition pruning
 INFO [main] (SemanticAnalyzer.java:3111) - Completed sample pruning
 INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string temporarycol0, string temporarycol1, string temporarycol2, string temporarycol3, string temporarycol4}
 INFO [main] (SemanticAnalyzer.java:3120) - Completed plan generation
 INFO [main] (Driver.java:173) - Semantic Analysis Completed
Total MapReduce jobs = 3
 INFO [main] (SessionState.java:254) - Total MapReduce jobs = 3
Number of reducers = 1
 INFO [main] (SessionState.java:254) - Number of reducers = 1
In order to change numer of reducers use:
 INFO [main] (SessionState.java:254) - In order to change numer of reducers use:
  set mapred.reduce.tasks = <number>
 INFO [main] (SessionState.java:254) -   set mapred.reduce.tasks = <number>
 WARN [main] (ExecDriver.java:109) - Number of reduce tasks not specified. Defaulting to jobconf value of: 1
 INFO [main] (ExecDriver.java:238) - Adding input file /user/hive/warehouse/triples
 WARN [main] (JobClient.java:547) - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
 INFO [main] (FileInputFormat.java:181) - Total input paths to process : 1
Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
 INFO [main] (SessionState.java:254) - Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
 INFO [main] (SessionState.java:254) - Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
 map = 0%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 0%,  reduce =0%
 map = 50%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 50%,  reduce =0%
 map = 100%,  reduce =0%
 INFO [main] (SessionState.java:254) -  map = 100%,  reduce =0%
 map = 100%,  reduce =100%
 INFO [main] (SessionState.java:254) -  map = 100%,  reduce =100%
ERROR [main] (SessionState.java:263) - Ended Job = job_200812091129_0144 with errors
Ended Job = job_200812091129_0144 with errors
FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
ERROR [main] (SessionState.java:263) - FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
------------------------------------ console output end ----------------------------------------
and the stack trace in hadoop logs 
------------------------------------ stack trace ---------------------------------------------------
java.lang.NullPointerException
	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:81)
	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:337)
	at org.apache.hadoop.mapred.Child.main(Child.java:155)

------------------------------------ stack trace end ---------------------------------------------


> HiveQL Query execution bug: java.lang.NullPointerException
> ----------------------------------------------------------
>
>                 Key: HIVE-151
>                 URL: https://issues.apache.org/jira/browse/HIVE-151
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.19.0
>         Environment: Ubuntu Linux 386, Hadoop 0.19.0 Hive trunk
>            Reporter: Viacheslav Seledkin
>             Fix For: 0.19.0
>
>
> Executing a query 
> ------------------------------------- query start ----------------------------------------------------
> SELECT t11.subject, t22.object , t33.subject , t55.object, t66.object 
> FROM 
> ( 
> 	SELECT t1.subject 
> 	FROM triples t1  
> 	WHERE 
> 		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
> 	AND  
> 		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation' 
> ) t11  
> JOIN  
> ( 
> 	SELECT t2.subject , t2.object 
> 	FROM triples t2  
> 	WHERE  
> 			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL' 
> ) t22 
> ON (t11.subject=t22.subject)  		
> JOIN  
> ( 
> 	SELECT t3.subject , t3.object  
> 	FROM triples t3  
> 	WHERE  
> 			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'  
> 				
> ) t33
> ON (t11.subject=t33.object) 
> JOIN  
> ( 
> 	SELECT t4.subject  
> 	FROM triples t4  
> 	WHERE  
> 		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'  
> 	AND  
> 		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author' 
> 				
> ) t44
> ON (t44.subject=t33.subject) 
> JOIN  
> ( 
> 	SELECT t5.subject, t5.object
> 	FROM triples t5  
> 	WHERE  
> 		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'  
> ) t55
> ON (t55.subject=t44.subject) 
> JOIN  
> ( 
> 	SELECT t6.subject, t6.object
> 	FROM triples t6  
> 	WHERE  
> 		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  
> ) t66
> ON (t66.subject=t55.object)
> ------------------------------------- query end ----------------------------------------------------
> on table 
> ------------------------------------- table start ----------------------------------------------------
> CREATE TABLE triples (subject string, predicate string, object string)
> ------------------------------------- table end -----------------------------------------------------
> gives the foolowing output 
> ------------------------------------ console output ----------------------------------------------
>  INFO [main] (Driver.java:156) - Starting command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
>  INFO [main] (ParseDriver.java:249) - Parsing command: SELECT t11.subject, t22.object , t33.subject , t66.object  FROM  (  	SELECT t1.subject  	FROM triples t1   	WHERE  		t1.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t1.object='http://ontos/OntosMiner/Common.English/ontology#Citation'  ) t11   JOIN   (  	SELECT t2.subject , t2.object  	FROM triples t2   	WHERE   			t2.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'  ) t22  ON (t11.subject=t22.subject)  		 JOIN   (  	SELECT t3.subject , t3.object   	FROM triples t3   	WHERE   			t3.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_from'   				 ) t33 ON (t11.subject=t33.object)  JOIN   (  	SELECT t4.subject   	FROM triples t4   	WHERE   		t4.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__INSTANCEOF_REL'   	AND   		t4.object='http://ontos/OntosMiner/Common.English/ontology#Author'  				 ) t44 ON (t44.subject=t33.subject)  JOIN   (  	SELECT t5.subject, t5.object as obh 	FROM triples t5   	WHERE   		t5.predicate='http://www.ontosearch.com/2007/12/ontosofa-ns#_to'   ) t55 ON (t55.subject=t44.subject)  JOIN   (  	SELECT t6.subject, t6.object 	FROM triples t6   	WHERE   		t6.predicate='http://sofa.semanticweb.org/sofa/v1.0/system#__LABEL_REL'   ) t66 ON (t66.subject=t55.obh)
>  INFO [main] (ParseDriver.java:263) - Parse Completed
>  INFO [main] (HiveMetaStore.java:126) - 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
>  INFO [main] (ObjectStore.java:124) - ObjectStore, initialize called
>  INFO [main] (ObjectStore.java:146) - found resource jpox.properties at file:/home/vseledkin/workspace/HiveDrv/bin/jpox.properties
>  WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.equinox.registry" but it cannot be resolved
>  WARN [main] (Log4JLogger.java:98) - Bundle "org.jpox" has an optional dependency to "org.eclipse.core.runtime" but it cannot be resolved
>  INFO [main] (Log4JLogger.java:79) - ================= Persistence Configuration ===============
>  INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory - Vendor: "JPOX"  Version: "1.2.2"
>  INFO [main] (Log4JLogger.java:79) - JPOX Persistence Factory initialised for datastore URL="jdbc:derby:;databaseName=metastore_db;create=true" driver="org.apache.derby.jdbc.EmbeddedDriver" userName="APP"
>  INFO [main] (Log4JLogger.java:79) - ===========================================================
>  INFO [main] (Log4JLogger.java:79) - Initialising Catalog "", Schema "APP" using "SchemaTable" auto-start option
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MDatabase since it was managed previously
>  INFO [main] (Log4JLogger.java:79) - No manager for annotations was found in the CLASSPATH so all annotations are ignored.
>  WARN [main] (Log4JLogger.java:98) - MetaData Parser encountered an error in file "jar:file:/home/vseledkin/workspace/hive/build/hive_metastore.jar!/package.jdo" at line 282, column 13 : The content of element type "class" must match "(extension*,implements*,datastore-identity?,primary-key?,inheritance?,version?,join*,foreign-key*,index*,unique*,column*,field*,property*,query*,fetch-group*,extension*)". - Please check your specification of DTD and the validity of the MetaData XML that you have specified.
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MStorageDescriptor since it was managed previously
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MSerDeInfo since it was managed previously
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MTable since it was managed previously
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of org.apache.hadoop.hive.metastore.model.MPartition since it was managed previously
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MDatabase [Table : DBS, InheritanceStrategy : new-table]
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MSerDeInfo [Table : SERDES, InheritanceStrategy : new-table]
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MStorageDescriptor [Table : SDS, InheritanceStrategy : new-table]
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MTable [Table : TBLS, InheritanceStrategy : new-table]
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MFieldSchema" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - The class "org.apache.hadoop.hive.metastore.model.MOrder" is tagged as "embedded-only" so does not have its own datastore table.
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Class : org.apache.hadoop.hive.metastore.model.MPartition [Table : PARTITIONS, InheritanceStrategy : new-table]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MSerDeInfo.parameters [Table : SERDE_PARAMS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.parameters [Table : PARTITION_PARAMS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MPartition.values [Table : PARTITION_KEY_VALS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.parameters [Table : TABLE_PARAMS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MTable.partitionKeys [Table : PARTITION_KEYS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.bucketCols [Table : BUCKETING_COLS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.cols [Table : COLUMNS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.parameters [Table : SD_PARAMS]
>  INFO [main] (Log4JLogger.java:79) - Managing Persistence of Field : org.apache.hadoop.hive.metastore.model.MStorageDescriptor.sortCols [Table : SORT_COLS]
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDES
>  INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table SERDES
>  INFO [main] (Log4JLogger.java:79) - Validating 1 index(es) for table SERDES
>  INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table PARTITIONS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table PARTITIONS
>  INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table PARTITIONS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table TBLS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 foreign key(s) for table TBLS
>  INFO [main] (Log4JLogger.java:79) - Validating 4 index(es) for table TBLS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SDS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SDS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SDS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 unique key(s) for table DBS
>  INFO [main] (Log4JLogger.java:79) - Validating 0 foreign key(s) for table DBS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table DBS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SORT_COLS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SORT_COLS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SORT_COLS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table TABLE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table TABLE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table TABLE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table COLUMNS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table COLUMNS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table COLUMNS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEYS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEYS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEYS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SD_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SD_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SD_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table PARTITION_KEY_VALS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table PARTITION_KEY_VALS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table PARTITION_KEY_VALS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table SERDE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table SERDE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table SERDE_PARAMS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 unique key(s) for table BUCKETING_COLS
>  INFO [main] (Log4JLogger.java:79) - Validating 1 foreign key(s) for table BUCKETING_COLS
>  INFO [main] (Log4JLogger.java:79) - Validating 2 index(es) for table BUCKETING_COLS
>  INFO [main] (Log4JLogger.java:79) - Catalog "", Schema "APP" initialised - managing 14 classes
>  INFO [main] (Log4JLogger.java:79) - >> Found StoreManager org.jpox.store.rdbms.RDBMSManager
>  INFO [main] (ObjectStore.java:110) - Initialized ObjectStore
>  INFO [main] (SemanticAnalyzer.java:3086) - Starting Semantic Analysis
>  INFO [main] (SemanticAnalyzer.java:3088) - Completed phase 1 of Semantic Analysis
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:3091) - Completed getting MetaData in Semantic Analysis
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:579) - Get metadata for source tables
>  INFO [main] (HiveMetaStore.java:164) - 0: get_table : db=default tbl=triples
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct triples { string tid, string subject, string predicate, string object, string type}
>  INFO [main] (SemanticAnalyzer.java:595) - Get metadata for subqueries
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (SemanticAnalyzer.java:602) - Get metadata for destination tables
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1, string reducesinkvalue2, string reducesinkvalue3, string reducesinkvalue4, string reducesinkvalue5, string reducesinkvalue6, string reducesinkvalue7}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string reducesinkkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string reducesinkvalue0, string reducesinkvalue1}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_sortable_table { string joinkey0}
>  INFO [main] (SemanticAnalyzer.java:3107) - Completed partition pruning
>  INFO [main] (SemanticAnalyzer.java:3111) - Completed sample pruning
>  INFO [main] (MetaStoreUtils.java:461) - DDL: struct binary_table { string temporarycol0, string temporarycol1, string temporarycol2, string temporarycol3, string temporarycol4}
>  INFO [main] (SemanticAnalyzer.java:3120) - Completed plan generation
>  INFO [main] (Driver.java:173) - Semantic Analysis Completed
> Total MapReduce jobs = 3
>  INFO [main] (SessionState.java:254) - Total MapReduce jobs = 3
> Number of reducers = 1
>  INFO [main] (SessionState.java:254) - Number of reducers = 1
> In order to change numer of reducers use:
>  INFO [main] (SessionState.java:254) - In order to change numer of reducers use:
>   set mapred.reduce.tasks = <number>
>  INFO [main] (SessionState.java:254) -   set mapred.reduce.tasks = <number>
>  WARN [main] (ExecDriver.java:109) - Number of reduce tasks not specified. Defaulting to jobconf value of: 1
>  INFO [main] (ExecDriver.java:238) - Adding input file /user/hive/warehouse/triples
>  WARN [main] (JobClient.java:547) - Use GenericOptionsParser for parsing the arguments. Applications should implement Tool for the same.
>  INFO [main] (FileInputFormat.java:181) - Total input paths to process : 1
> Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
>  INFO [main] (SessionState.java:254) - Starting Job = job_200812091129_0144, Tracking URL = http://ubunder.avicomp.com:50030/jobdetails.jsp?jobid=job_200812091129_0144
> Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
>  INFO [main] (SessionState.java:254) - Kill Command = /home/vseledkin/workspace/HiveDrv/programs/hadoop-0.19.0 job  -Dmapred.job.tracker=ubunder.avicomp.com:9001 -kill job_200812091129_0144
>  map = 0%,  reduce =0%
>  INFO [main] (SessionState.java:254) -  map = 0%,  reduce =0%
>  map = 50%,  reduce =0%
>  INFO [main] (SessionState.java:254) -  map = 50%,  reduce =0%
>  map = 100%,  reduce =0%
>  INFO [main] (SessionState.java:254) -  map = 100%,  reduce =0%
>  map = 100%,  reduce =100%
>  INFO [main] (SessionState.java:254) -  map = 100%,  reduce =100%
> ERROR [main] (SessionState.java:263) - Ended Job = job_200812091129_0144 with errors
> Ended Job = job_200812091129_0144 with errors
> FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
> ERROR [main] (SessionState.java:263) - FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.ExecDriver
> ------------------------------------ console output end ----------------------------------------
> and the stack trace in hadoop logs 
> ------------------------------------ stack trace ---------------------------------------------------
> java.lang.NullPointerException
> 	at org.apache.hadoop.hive.ql.exec.ExecReducer.configure(ExecReducer.java:81)
> 	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:58)
> 	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:83)
> 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:337)
> 	at org.apache.hadoop.mapred.Child.main(Child.java:155)
> ------------------------------------ stack trace end ---------------------------------------------

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message