Correct the exception message for the better traceability for the scenario load 
into the partitioned table having 2  partitions by specifying only one 
partition in the load statement. 
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HIVE-2031
                 URL: https://issues.apache.org/jira/browse/HIVE-2031
             Project: Hive
          Issue Type: Bug
          Components: Logging
    Affects Versions: 0.7.0
         Environment: Hadoop 0.20.1, Hive0.7.0 and SUSE Linux Enterprise Server 
10 SP2 (i586) - Kernel 2.6.16.60-0.21-smp (5).
            Reporter: Chinna Rao Lalam
            Assignee: Chinna Rao Lalam


 Load into the partitioned table having 2 partitions by specifying only one 
partition in the load statement is failing and logging the following exception 
message.

{noformat}
 org.apache.hadoop.hive.ql.parse.SemanticException: line 1:91 Partition not 
found '21Oct'
        at 
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$tableSpec.<init>(BaseSemanticAnalyzer.java:685)
        at 
org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer.analyzeInternal(LoadSemanticAnalyzer.java:196)
        at 
org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:238)
        at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:340)
        at org.apache.hadoop.hive.ql.Driver.run(Driver.java:736)
        at 
org.apache.hadoop.hive.service.HiveServer$HiveServerHandler.execute(HiveServer.java:151)
        at 
org.apache.hadoop.hive.service.ThriftHive$Processor$execute.process(ThriftHive.java:764)
        at 
org.apache.hadoop.hive.service.ThriftHive$Processor.process(ThriftHive.java:742)
        at 
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:253)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
{noformat}

This needs to be corrected in such a way what is the actual root cause for this.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to