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

Namit Jain commented on HIVE-204:
---------------------------------

1. I agree with the mode approach instead of another target. But we still need 
minimr.query.files to run the tests with the build - which tests get picked up 
by default.
    So, it is a just a cleaner way - let us talk about it offline
2. conf.set("hive.metastore.warehouse.dir", 
fsName.concat("/build/ql/test/data/warehouse/"));
    Note that a concatenation is being performed above. 
   new MiniMRCluster() sets the configuration variable fs.default.name.




> Provide option to run hadoop via TestMiniMR
> -------------------------------------------
>
>                 Key: HIVE-204
>                 URL: https://issues.apache.org/jira/browse/HIVE-204
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Testing Infrastructure
>            Reporter: Raghotham Murthy
>            Assignee: Namit Jain
>         Attachments: hive.204.1.patch, hive.204.2.patch, hive.204.3.patch, 
> hive.204.4.patch, hive.204.5.patch, hive.204.6.patch
>
>
> Right now MapRedTask does an exec on the hadoop command line. This prevents 
> us from stepping through query execution code. If there were an option to run 
> hadoop via MiniMR, this will create tasks within the same VM and so allows 
> stepping into the execution code. See, 
> src/test/org/apache/hadoop/mapred/TestMiniMRWithDFS.java in the hadoop source 
> code for an example.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to