NullPointer exception may come in 
TCTLSeparatedProtocol.SimpleTransportTokenizer.nextToken()
--------------------------------------------------------------------------------------------

                 Key: HIVE-2045
                 URL: https://issues.apache.org/jira/browse/HIVE-2045
             Project: Hive
          Issue Type: Bug
          Components: Serializers/Deserializers
    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


1) In TCTLSeparatedProtocol.SimpleTransportTokenizer.nextToken() have the null 
check for the tokenizer. 

If tokenizer is null it will call fillTokenizer() and it will use the tokenizer 
but fillTokenizer() may return null tokenizer  so null 
check should be there for the tokenizer.

2) Added some log messages in TCTLSeparatedProtocol.java

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

Reply via email to