Samarth Gupta created FALCON-213:
------------------------------------

             Summary: FeedEntityParses.validateStorageExists should be called 
only from the server(not from prism)
                 Key: FALCON-213
                 URL: https://issues.apache.org/jira/browse/FALCON-213
             Project: Falcon
          Issue Type: Bug
          Components: prism
    Affects Versions: 0.4
         Environment: QA
            Reporter: Samarth Gupta
            Assignee: Venkatesh Seetharam
            Priority: Critical


if the FeedEntityParses.validateStorageExists is not able to find the table in 
hcat, corresponding error messages is being logged in Prism application.log , 
but it should be going to the falcon server where the cluster is registered and 
HCat is running. 


Below is the error that is coming in prism log: 

Caused by: org.apache.hcatalog.common.HCatException : 9001 : Exception occurred 
while processing HCat request : NoSuchObjectException while fetching table.. 
Cause : NoSuchObjectExce
ption(message:default.mytablepart table not found)
       at 
org.apache.hcatalog.api.HCatClientHMSImpl.getTable(HCatClientHMSImpl.java:162)
       at 
org.apache.falcon.catalog.HiveCatalogService.tableExists(HiveCatalogService.java:109)
       ... 50 more
Caused by: NoSuchObjectException(message:default.mytablepart table not found)
       at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$get_table_resultStandardScheme.read(ThriftHiveMetastore.java:27011)
       at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$get_table_resultStandardScheme.read(ThriftHiveMetastore.java:26979)
       at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result.read(ThriftHiveMetastore.java:26910)
       at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
       at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.recv_get_table(ThriftHiveMetastore.java:932)
       at 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$Client.get_table(ThriftHiveMetastore.java:918)
       at 
org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTable(HiveMetaStoreClient.java:838)
       at 
org.apache.hcatalog.api.HCatClientHMSImpl.getTable(HCatClientHMSImpl.java:155)
       ... 51 more



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to