hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-1129) Assertion in ExecDriver.execute when assertions are enabled in HADOOP_OPTS
Date Wed, 03 Feb 2010 23:55:27 GMT

    [ https://issues.apache.org/jira/browse/HIVE-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829322#action_12829322
] 

Namit Jain commented on HIVE-1129:
----------------------------------

A parameter exists for enabling speculative execution for reducers in hive - the reason we
added it about a month back was that we 
wanted to test it easily -- there were some bugs in speculative execution for reducers in
hadoop 17, which is why we had disabled it.
Now that those bugs have been solved, we wanted to test it gradually.

> Assertion in ExecDriver.execute when assertions are enabled in HADOOP_OPTS
> --------------------------------------------------------------------------
>
>                 Key: HIVE-1129
>                 URL: https://issues.apache.org/jira/browse/HIVE-1129
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.6.0
>            Reporter: John Sichi
>             Fix For: 0.6.0
>
>
> I noticed that when running hive CLI, assertions are not enabled, which was causing me
some confusion when debugging an issue.
> So, I added the following to my environment:
> export HADOOP_OPTS="-ea -esa"
> This worked, and allowed me to see assertion failures when executing via CLI.
> But then I tried to run a test, and got an assertion failure from the following code
in ExecDriver.execute:
>     // Turn on speculative execution for reducers
>     HiveConf.setVar(job, HiveConf.ConfVars.HADOOPSPECULATIVEEXECREDUCERS,
>         HiveConf.getVar(job, HiveConf.ConfVars.HIVESPECULATIVEEXECREDUCERS));
> The assertion says it should be using getBoolVar/setBoolVar instead.

-- 
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