You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "samar (JIRA)" <ji...@apache.org> on 2014/09/22 10:43:33 UTC

[jira] [Commented] (FALCON-536) Basic dry run/validation module

    [ https://issues.apache.org/jira/browse/FALCON-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143023#comment-14143023 ] 

samar commented on FALCON-536:
------------------------------

Using the PigServer might help us achieve the dry run feature. the code might look something like


PigServer pig = new PigServer(ExecType.LOCAL );
.......
pigServer.registerQuery("A = LOAD '"
            + Util.generateURI(tmpFile.toString(), pigServer.getPigContext())
            + "' using PigStorage() AS (num:int);");
    pigServer.registerQuery("B = order A by num desc;");
    Iterator<Tuple> result = pigServer.openIterator("B");

....



> Basic dry run/validation module
> -------------------------------
>
>                 Key: FALCON-536
>                 URL: https://issues.apache.org/jira/browse/FALCON-536
>             Project: Falcon
>          Issue Type: Sub-task
>            Reporter: samar
>   Original Estimate: 40h
>  Remaining Estimate: 40h
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)