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-69) genMapRedTasks does not use the tree walker and uses implicit state which makes it difficult to enhance
Date Wed, 03 Dec 2008 01:28:44 GMT

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

Namit Jain commented on HIVE-69:
--------------------------------


    [junit] compare to    =234  firstString^AsecondString firstKey^D1^AsecondKey^D2>
    [junit] o class = class java.util.ArrayList
    [junit] o size = 3
    [junit] o[0] class = class java.lang.Integer
    [junit] o[1] class = class java.util.ArrayList
    [junit] o[2] class = class java.util.HashMap
    [junit] o = [234, [firstString, secondString], {firstKey=1, secondKey=2}]
    [junit] bytes in text =234  firstString^AsecondString firstKey^D1^AsecondKey^D2>
    [junit] compare to    =234  firstString^AsecondString firstKey^D1^AsecondKey^D2>
    [junit] o class = class java.util.ArrayList
    [junit] o size = 3
    [junit] o = [234, null, {firstKey=1, secondKey=2}]
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.498 sec
    [junit] Running org.apache.hadoop.hive.serde2.objectinspector.TestObjectInspectorUtils
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.191 sec
    [junit] Running org.apache.hadoop.hive.serde2.objectinspector.TestReflectionObjectInspectors
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.172 sec
    [junit] Running org.apache.hadoop.hive.serde2.objectinspector.TestStandardObjectInspectors
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.175 sec
    [junit] Running org.apache.hadoop.hive.serde2.objectinspector.TestThriftObjectInspectors
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.181 sec
    [junit] Running org.apache.hadoop.hive.serde2.objectinspector.TestUnionStructObjectInspector
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.165 sec

BUILD SUCCESSFUL
Total time: 15 minutes 27 seconds
[njain@dev119 trunk]$ pwd
/home/njain/workspace/hadoophive/trunk
[njain@dev119 trunk]$ svn diff > /tmp/patch.txt


The tests ran successfully

> genMapRedTasks does not use the tree walker and uses implicit state which makes it difficult
to enhance
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-69
>                 URL: https://issues.apache.org/jira/browse/HIVE-69
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>         Attachments: patch.txt
>
>
> In SemanticAnalyzer, genmapredtasks() does not use a tree walker. For map-side joins,
the taskplan needs to be enhanced to be possibly
> broken at MapSink also. Basically, the code is very difficult to enhance since there
are implicit assumptions that reduce sink is the only
> operator where the plan breaks.
> This should be enhanced so that the user can implement their own task generation logic
which is independent of the tree walking.

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