FAQ
Author: namit
Date: Mon Apr 20 21:39:55 2009
New Revision: 766889

URL: http://svn.apache.org/viewvc?rev=766889&view=rev
Log:
HIVE-435. Fix Null pointer exception if password is null.
(Prasad Chakka via namit)


Modified:
hadoop/hive/trunk/CHANGES.txt
hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java

Modified: hadoop/hive/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/CHANGES.txt?rev=766889&r1=766888&r2=766889&view=diff
==============================================================================
--- hadoop/hive/trunk/CHANGES.txt (original)
+++ hadoop/hive/trunk/CHANGES.txt Mon Apr 20 21:39:55 2009
@@ -70,7 +70,10 @@
HIVE-416. Fix backtrack in Hive.g. (Namit Jain via zshao)

HIVE-432. Fix "SORT BY" using only one reducer.
- (Zheng Shao via njain)
+ (Zheng Shao via namit)
+
+ HIVE-435. Fix Null pointer exception if password is null.
+ (Prasad Chakka via namit)

Release 0.3.0 - Unreleased


Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java?rev=766889&r1=766888&r2=766889&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java Mon Apr 20 21:39:55 2009
@@ -387,7 +387,8 @@

// remove the pwd from conf file so that job tracker doesn't show this logs
String pwd = job.get(HiveConf.ConfVars.METASTOREPWD.varname);
- job.set(HiveConf.ConfVars.METASTOREPWD.varname, "HIVE");
+ if (pwd != null)
+ job.set(HiveConf.ConfVars.METASTOREPWD.varname, "HIVE");
JobClient jc = new JobClient(job);

// make this client wait if job trcker is not behaving well.
@@ -395,7 +396,8 @@

orig_rj = rj = jc.submitJob(job);
// replace it back
- job.set(HiveConf.ConfVars.METASTOREPWD.varname, pwd);
+ if (pwd != null)
+ job.set(HiveConf.ConfVars.METASTOREPWD.varname, pwd);

// add to list of running jobs so in case of abnormal shutdown can kill
// it.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 20, '09 at 9:40p
activeApr 20, '09 at 9:40p
posts1
users1
websitehive.apache.org

1 user in discussion

Namit: 1 post

People

Translate

site design / logo © 2021 Grokbase